<HTML ><HEAD ><TITLE >Linux NFS-HOWTO</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="NEXT" TITLE="Preamble" HREF="preamble.html"></HEAD ><BODY CLASS="ARTICLE" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="ARTICLE" ><DIV CLASS="TITLEPAGE" ><H1 CLASS="TITLE" ><A NAME="AEN2">Linux NFS-HOWTO</H1 ><H3 CLASS="AUTHOR" ><A NAME="AEN4" >Tavis Barr</A ></H3 ><DIV CLASS="AFFILIATION" ><DIV CLASS="ADDRESS" ><P CLASS="ADDRESS" > tavis dot barr at liu dot edu<br> </P ></DIV ></DIV ><H3 CLASS="AUTHOR" ><A NAME="AEN10" >Nicolai Langfeldt</A ></H3 ><DIV CLASS="AFFILIATION" ><DIV CLASS="ADDRESS" ><P CLASS="ADDRESS" > janl at linpro dot no<br> </P ></DIV ></DIV ><H3 CLASS="AUTHOR" ><A NAME="AEN16" >Seth Vidal</A ></H3 ><DIV CLASS="AFFILIATION" ><DIV CLASS="ADDRESS" ><P CLASS="ADDRESS" > skvidal at phy dot duke dot edu<br> </P ></DIV ></DIV ><H3 CLASS="AUTHOR" ><A NAME="AEN22" >Tom McNeal</A ></H3 ><DIV CLASS="AFFILIATION" ><DIV CLASS="ADDRESS" ><P CLASS="ADDRESS" > trmcneal at attbi dot com<br> </P ></DIV ></DIV ><P CLASS="PUBDATE" >2002-08-25<BR></P ><DIV CLASS="REVHISTORY" ><TABLE WIDTH="100%" BORDER="0" ><TR ><TH ALIGN="LEFT" VALIGN="TOP" COLSPAN="3" ><B >Revision History</B ></TH ></TR ><TR ><TD ALIGN="LEFT" >Revision v3.1</TD ><TD ALIGN="LEFT" >2002-08-25</TD ><TD ALIGN="LEFT" >Revised by: tavis</TD ></TR ><TR ><TD ALIGN="LEFT" COLSPAN="3" >Typo in firewalling section in 3.0</TD ></TR ><TR ><TD ALIGN="LEFT" >Revision v3.0</TD ><TD ALIGN="LEFT" >2002-07-16</TD ><TD ALIGN="LEFT" >Revised by: tavis</TD ></TR ><TR ><TD ALIGN="LEFT" COLSPAN="3" >Updates plus additions to performance, security</TD ></TR ></TABLE ></DIV ><HR></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT >1. <A HREF="preamble.html" >Preamble</A ></DT ><DD ><DL ><DT >1.1. <A HREF="preamble.html#LEGAL" >Legal stuff</A ></DT ><DT >1.2. <A HREF="preamble.html#DISCLAIMER" >Disclaimer</A ></DT ><DT >1.3. <A HREF="preamble.html#FEEDBACK" >Feedback</A ></DT ><DT >1.4. <A HREF="preamble.html#TRANSLATION" >Translation</A ></DT ><DT >1.5. <A HREF="preamble.html#DEDICATION" >Dedication</A ></DT ></DL ></DD ><DT >2. <A HREF="intro.html" >Introduction</A ></DT ><DD ><DL ><DT >2.1. <A HREF="intro.html#WHAT" >What is NFS?</A ></DT ><DT >2.2. <A HREF="intro.html#SCOPE" >What is this HOWTO and what is it not?</A ></DT ><DT >2.3. <A HREF="intro.html#KNOWPREREQ" >Knowledge Pre-Requisites</A ></DT ><DT >2.4. <A HREF="intro.html#SWPREREQ" >Software Pre-Requisites: Kernel Version and nfs-utils</A ></DT ><DT >2.5. <A HREF="intro.html#FURTHERHELP" >Where to get help and further information</A ></DT ></DL ></DD ><DT >3. <A HREF="server.html" >Setting Up an NFS Server</A ></DT ><DD ><DL ><DT >3.1. <A HREF="server.html#SERVERINTRO" >Introduction to the server setup</A ></DT ><DT >3.2. <A HREF="server.html#CONFIG" >Setting up the Configuration Files</A ></DT ><DT >3.3. <A HREF="server.html#SERVICESTART" >Getting the services started</A ></DT ><DT >3.4. <A HREF="server.html#VERIFY" >Verifying that NFS is running</A ></DT ><DT >3.5. <A HREF="server.html#LATER" >Making changes to /etc/exports later on</A ></DT ></DL ></DD ><DT >4. <A HREF="client.html" >Setting up an NFS Client</A ></DT ><DD ><DL ><DT >4.1. <A HREF="client.html#REMOTEMOUNT" >Mounting remote directories</A ></DT ><DT >4.2. <A HREF="client.html#BOOT-TIME-NFS" >Getting NFS File Systems to Be Mounted at Boot Time</A ></DT ><DT >4.3. <A HREF="client.html#MOUNTOPTIONS" >Mount options</A ></DT ></DL ></DD ><DT >5. <A HREF="performance.html" >Optimizing NFS Performance</A ></DT ><DD ><DL ><DT >5.1. <A HREF="performance.html#BLOCKSIZES" >Setting Block Size to Optimize Transfer Speeds</A ></DT ><DT >5.2. <A HREF="performance.html#PACKET-AND-NETWORK" >Packet Size and Network Drivers</A ></DT ><DT >5.3. <A HREF="performance.html#FRAG-OVERFLOW" >Overflow of Fragmented Packets</A ></DT ><DT >5.4. <A HREF="performance.html#NFS-TCP" >NFS over TCP</A ></DT ><DT >5.5. <A HREF="performance.html#TIMEOUT" >Timeout and Retransmission Values</A ></DT ><DT >5.6. <A HREF="performance.html#NFSD-INSTANCE" >Number of Instances of the NFSD Server Daemon</A ></DT ><DT >5.7. <A HREF="performance.html#MEMLIMITS" >Memory Limits on the Input Queue</A ></DT ><DT >5.8. <A HREF="performance.html#AUTONEGOTIATION" >Turning Off Autonegotiation of NICs and Hubs</A ></DT ><DT >5.9. <A HREF="performance.html#SYNC-ASYNC" >Synchronous vs. Asynchronous Behavior in NFS</A ></DT ><DT >5.10. <A HREF="performance.html#NON-NFS-PERFORMANCE" >Non-NFS-Related Means of Enhancing Server Performance</A ></DT ></DL ></DD ><DT >6. <A HREF="security.html" >Security and NFS</A ></DT ><DD ><DL ><DT >6.1. <A HREF="security.html#PORTMAPPER-SECURITY" >The portmapper</A ></DT ><DT >6.2. <A HREF="security.html#SERVER.SECURITY" >Server security: nfsd and mountd</A ></DT ><DT >6.3. <A HREF="security.html#CLIENT.SECURITY" >Client Security</A ></DT ><DT >6.4. <A HREF="security.html#FIREWALLS" >NFS and firewalls (ipchains and netfilter)</A ></DT ><DT >6.5. <A HREF="security.html#NFS-SSH" >Tunneling NFS through SSH</A ></DT ><DT >6.6. <A HREF="security.html#SUMMARY" >Summary</A ></DT ></DL ></DD ><DT >7. <A HREF="troubleshooting.html" >Troubleshooting</A ></DT ><DD ><DL ><DT >7.1. <A HREF="troubleshooting.html#SYMPTOM1" >Unable to See Files on a Mounted File System</A ></DT ><DT >7.2. <A HREF="troubleshooting.html#SYMPTOM2" >File requests hang or timeout waiting for access to the file.</A ></DT ><DT >7.3. <A HREF="troubleshooting.html#SYMPTOM3" >Unable to mount a file system</A ></DT ><DT >7.4. <A HREF="troubleshooting.html#SYMPTOM4" >I do not have permission to access files on the mounted volume.</A ></DT ><DT >7.5. <A HREF="troubleshooting.html#SYMPTOM5" >When I transfer really big files, NFS takes over all the CPU cycles on the server and it screeches to a halt.</A ></DT ><DT >7.6. <A HREF="troubleshooting.html#SYMPTOM6" >Strange error or log messages</A ></DT ><DT >7.7. <A HREF="troubleshooting.html#SYMPTOM7" >Real permissions don't match what's in <TT CLASS="FILENAME" >/etc/exports</TT >.</A ></DT ><DT >7.8. <A HREF="troubleshooting.html#SYMPTOM8" >Flaky and unreliable behavior</A ></DT ><DT >7.9. <A HREF="troubleshooting.html#SYMPTOM9" >nfsd won't start</A ></DT ><DT >7.10. <A HREF="troubleshooting.html#SYMPTOM10" >File Corruption When Using Multiple Clients</A ></DT ></DL ></DD ><DT >8. <A HREF="interop.html" >Using Linux NFS with Other OSes</A ></DT ><DD ><DL ><DT >8.1. <A HREF="interop.html#AIX" >AIX</A ></DT ><DT >8.2. <A HREF="interop.html#BSD" >BSD</A ></DT ><DT >8.3. <A HREF="interop.html#TRU64" >Tru64 Unix</A ></DT ><DT >8.4. <A HREF="interop.html#HPUX" >HP-UX</A ></DT ><DT >8.5. <A HREF="interop.html#IRIX" >IRIX</A ></DT ><DT >8.6. <A HREF="interop.html#SOLARIS" >Solaris</A ></DT ><DT >8.7. <A HREF="interop.html#SUNOS" >SunOS</A ></DT ></DL ></DD ></DL ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="preamble.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Preamble</TD ></TR ></TABLE ></DIV ></BODY ></HTML >