]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/mount/nfs.man
87a71c6d308581a86f72ad23f165db261769148b
[nfs-utils.git] / utils / mount / nfs.man
1 .\"@(#)nfs.5"
2 .TH NFS 5 "2 November 2007"
3 .SH NAME
4 nfs \- fstab format and options for the
5 .B nfs
6 and
7 .B nfs4
8 file systems
9 .SH SYNOPSIS
10 .I /etc/fstab
11 .SH DESCRIPTION
12 NFS is an Internet Standard protocol
13 created by Sun Microsystems in 1984. NFS was developed
14 to allow file sharing between systems residing
15 on a local area network.
16 The Linux NFS client supports three versions
17 of the NFS protocol:
18 NFS version 2 [RFC1094],
19 NFS version 3 [RFC1813],
20 and NFS version 4 [RFC3530].
21 .P
22 The
23 .BR mount (8)
24 command attaches a file system to the system's
25 name space hierarchy at a given mount point.
26 The
27 .I /etc/fstab
28 file describes how
29 .BR mount (8)
30 should assemble a system's file name hierarchy
31 from various independent file systems 
32 (including file systems exported by NFS servers).
33 Each line in the
34 .I /etc/fstab
35 file describes a single file system, its mount point,
36 and a set of default mount options for that mount point.
37 .P
38 For NFS file system mounts, a line in the
39 .I /etc/fstab
40 file specifies the server name,
41 the path name of the exported server directory to mount,
42 the local directory that is the mount point,
43 the type of file system that is being mounted,
44 and a list of mount options that control
45 the way the filesystem is mounted and
46 how the NFS client behaves when accessing
47 files on this mount point.
48 The fifth and sixth fields on each line are not used
49 by NFS, thus conventionally each contain the digit zero. For example:
50 .P
51 .SP
52 .NF
53 .TA 2.5i +0.75i +0.75i +1.0i
54         server:path     /mountpoint     fstype  option,option,...       0 0
55 .FI
56 .P
57 The server's hostname and export pathname
58 are separated by a colon, while
59 the mount options are separated by commas. The remaining fields 
60 are separated by blanks or tabs.
61 The server's hostname can be an unqualified hostname,
62 a fully qualified domain name,
63 or a dotted quad IPv4 address.
64 The
65 .I fstype
66 field contains either "nfs" (for version 2 or version 3 NFS mounts)
67 or "nfs4" (for NFS version 4 mounts).
68 The
69 .B nfs
70 and
71 .B nfs4
72 file system types share similar mount options,
73 which are described below. 
74 .SH "MOUNT OPTIONS"
75 Refer to 
76 .BR mount (8)
77 for a description of generic mount options
78 available for all file systems. If you do not need to 
79 specify any mount options, use the generic option 
80 .B defaults
81 in
82 .IR /etc/fstab .
83
84 .DT
85 .SS "Valid options for either the nfs or nfs4 file system type"
86 These options are valid to use when mounting either
87 .B nfs
88 or
89 .B nfs4
90 file system types.
91 They imply the same behavior
92 and have the same default for both file system types.
93 .TP 1.5i
94 .BR soft " / " hard
95 Determines the recovery behavior of the NFS client
96 after an NFS request times out.
97 If neither option is specified (or if the
98 .B hard
99 option is specified), NFS requests are retried indefinitely.
100 If the
101 .B soft
102 option is specified, then the NFS client fails an NFS request
103 after 
104 .B retrans
105 retransmissions have been sent,
106 causing the NFS client to return an error
107 to the calling application.
108 .IP
109 .I NB:
110 A so-called "soft" timeout can cause
111 silent data corruption in certain cases. As such, use the
112 .B soft
113 option only when client responsiveness
114 is more important than data integrity.
115 Using NFS over TCP or increasing the value of the
116 .B retrans
117 option may mitigate some of the risks of using the
118 .B soft
119 option.
120 .TP 1.5i
121 .BI timeo= n
122 The time (in tenths of a second) the NFS client waits for a 
123 response before it retries an NFS request. If this 
124 option is not specified, requests are retried every
125 60 seconds for NFS over TCP.
126 The NFS client does not perform any kind of timeout backoff
127 for NFS over TCP.
128 .IP
129 However, for NFS over UDP, the client uses an adaptive
130 algorithm to estimate an appropriate timeout value for frequently used
131 request types (such as READ and WRITE requests), but uses the 
132 .B timeo
133 setting for infrequently used request types (such as FSINFO requests).
134 If the
135 .B timeo
136 option is not specified,
137 infrequently used request types are retried after 1.1 seconds.
138 After each retransmission, the NFS client doubles the timeout for
139 that request,
140 up to a maximum timeout length of 60 seconds.
141 .TP 1.5i
142 .BI retrans= n
143 The number of times the NFS client retries a request before
144 it attempts further recovery action. If the 
145 .B retrans
146 option is not specified, the NFS client tries each request 
147 three times.
148 .IP
149 The NFS client generates a "server not responding" message
150 after 
151 .B retrans
152 retries, then attempts further recovery (depending on whether the
153 .B hard
154 mount option is in effect).
155 .TP 1.5i
156 .BI rsize= n
157 The maximum number of bytes in each network READ request
158 that the NFS client can receive when reading data from a file
159 on an NFS server.
160 The actual data payload size of each NFS READ request is equal to
161 or smaller than the
162 .B rsize
163 setting. The largest read payload supported by the Linux NFS client
164 is 1,048,576 bytes (one megabyte).
165 .IP
166 The
167 .B rsize
168 value is a positive integral multiple of 1024.
169 Specified 
170 .B rsize
171 values lower than 1024 are replaced with 4096; values larger than
172 1048576 are replaced with 1048576. If a specified value is within the supported
173 range but not a multiple of 1024, it is rounded down to the nearest 
174 multiple of 1024.
175 .IP
176 If an
177 .B rsize
178 value is not specified, or if the specified 
179 .B rsize 
180 value is larger than the maximum that either client or server can support,
181 the client and server negotiate the largest
182 .B rsize
183 value that they can both support. 
184 .IP
185 The
186 .B rsize
187 mount option as specified on the
188 .BR mount (8)
189 command line appears in the
190 .I /etc/mtab
191 file. However, the effective
192 .B rsize
193 value negotiated by the client and server is reported in the
194 .I /proc/mounts
195 file.
196 .TP 1.5i
197 .BI wsize= n
198 The maximum number of bytes per network WRITE request
199 that the NFS client can send when writing data to a file
200 on an NFS server. The actual data payload size of each 
201 NFS WRITE request is equal to
202 or smaller than the
203 .B wsize
204 setting. The largest write payload supported by the Linux NFS client
205 is 1,048,576 bytes (one megabyte).
206 .IP
207 Similar to
208 .B rsize
209 , the
210 .B wsize 
211 value is a positive integral multiple of 1024.
212 Specified 
213 .B wsize
214 values lower than 1024 are replaced with 4096; values larger than
215 1048576 are replaced with 1048576. If a specified value is within the supported
216 range but not a multiple of 1024, it is rounded down to the nearest 
217 multiple of 1024.
218 .IP
219 If a
220 .B wsize
221 value is not specified, or if the specified 
222 .B wsize 
223 value is larger than the maximum that either client or server can support,
224 the client and server negotiate the largest
225 .B wsize
226 value that they can both support.
227 .IP
228 The
229 .B wsize
230 mount option as specified on the
231 .BR mount (8)
232 command line appears in the
233 .I /etc/mtab
234 file. However, the effective
235 .B wsize
236 value negotiated by the client and server is reported in the
237 .I /proc/mounts
238 file. 
239 .TP 1.5i
240 .BR ac " / " noac
241 Selects whether the client may cache file attributes. If neither  
242 option is specified (or if 
243 .B ac
244 is specified), the client caches file  
245 attributes.  
246 .IP
247 To improve performance, NFS clients cache file  
248 attributes. Every few seconds, an NFS client checks the server's version of each  
249 file's attributes for updates.  Changes that occur on the server in  
250 those small intervals remain undetected until the client checks the  
251 server again. The 
252 .B noac
253 option prevents clients from caching file  
254 attributes so that applications can more quickly detect file changes  
255 on the server.
256 .IP
257 In addition to preventing the client from caching file attributes,  
258 the 
259 .B noac
260 option forces application writes to become synchronous so  
261 that local changes to a file become visible on the server  
262 immediately.  That way, other clients can quickly detect recent  
263 writes when they check the file's attributes.
264 .IP
265 Using the
266 .B noac
267 option provides greater cache coherence among NFS clients
268 accessing the same files,
269 but it extracts a significant performance penalty.
270 As such, judicious use of file locking is encouraged instead.
271 The DATA AND METADATA COHERENCE section contains a detailed discussion
272 of these trade-offs.
273 .TP 1.5i
274 .BI acregmin= n
275 The minimum time (in seconds) that the NFS client caches
276 attributes of a regular file before it requests
277 fresh attribute information from a server.
278 If this option is not specified, the NFS client uses
279 a 3-second minimum.
280 .TP 1.5i
281 .BI acregmax= n
282 The maximum time (in seconds) that the NFS client caches
283 attributes of a regular file before it requests
284 fresh attribute information from a server.
285 If this option is not specified, the NFS client uses
286 a 60-second maximum.
287 .TP 1.5i
288 .BI acdirmin= n
289 The minimum time (in seconds) that the NFS client caches
290 attributes of a directory before it requests
291 fresh attribute information from a server.
292 If this option is not specified, the NFS client uses
293 a 30-second minimum.
294 .TP 1.5i
295 .BI acdirmax= n
296 The maximum time (in seconds) that the NFS client caches
297 attributes of a directory before it requests
298 fresh attribute information from a server.
299 If this option is not specified, the NFS client uses
300 a 60-second maximum.
301 .TP 1.5i
302 .BI actimeo= n
303 Using
304 .B actimeo
305 sets all of
306 .BR acregmin ,
307 .BR acregmax ,
308 .BR acdirmin ,
309 and
310 .B acdirmax
311 to the same value.
312 If this option is not specified, the NFS client uses
313 the defaults for each of these options listed above.
314 .TP 1.5i
315 .BR bg " / " fg
316 Determines how the
317 .BR mount (8)
318 command behaves if an attempt to mount an export fails.
319 The
320 .B fg
321 option causes
322 .BR mount (8)
323 to exit with an error status if any part of the mount request
324 times out or fails outright.
325 This is called a "foreground" mount,
326 and is the default behavior if neither the
327 .B fg
328 nor
329 .B bg
330 mount option is specified.
331 .IP
332 If the
333 .B bg
334 option is specified, a timeout or failure causes the
335 .BR mount (8)
336 command to fork a child which continues to attempt
337 to mount the export.
338 The parent immediately returns with a zero exit code.
339 This is known as a "background" mount.
340 .IP
341 If the local mount point directory is missing, the
342 .BR mount (8)
343 command acts as if the mount request timed out.
344 This permits nested NFS mounts specified in
345 .I /etc/fstab
346 to proceed in any order during system initialization,
347 even if some NFS servers are not yet available.
348 Alternatively these issues can be addressed
349 using an automounter (refer to
350 .BR automount (8)
351 for details).
352 .TP 1.5i
353 .BI retry= n
354 The number of minutes that the
355 .BR mount (8)
356 command retries an NFS mount operation
357 in the foreground or background before giving up.
358 If this option is not specified, the default value for foreground mounts
359 is 2 minutes, and the default value for background mounts is 10000 minutes (80 minutes shy of one week).
360 .TP 1.5i
361 .BI sec= mode
362 The RPCGSS security flavor to use for accessing files on this mount point.
363 If the
364 .B sec
365 option is not specified, or if
366 .B sec=sys
367 is specified, the NFS client uses the AUTH_SYS security flavor
368 for all NFS requests on this mount point.
369 Valid security flavors are
370 .BR none ,
371 .BR sys ,
372 .BR krb5 ,
373 .BR krb5i ,
374 .BR krb5p ,
375 .BR lkey ,
376 .BR lkeyi ,
377 .BR lkeyp ,
378 .BR spkm ,
379 .BR spkmi ,
380 and
381 .BR spkmp .
382 Refer to the SECURITY CONSIDERATIONS section for details.
383 .TP 1.5i
384 .BR sharecache " / " nosharecache
385 Determines how the client's data cache and attribute cache are shared
386 when mounting the same export more than once concurrently.  Using the  
387 same cache reduces memory requirements on the client and presents  
388 identical file contents to applications when the same remote file is  
389 accessed via different mount points.
390 .IP
391 If neither option is specified, or if the 
392 .B sharecache
393 option is  
394 specified, then a single cache is used for all mount points that  
395 access the same export.  If the 
396 .B nosharecache
397 option is specified,  
398 then that mount point gets a unique cache.  Note that when data and  
399 attribute caches are shared, the mount options from the first mount  
400 point take effect for subsequent concurrent mounts of the same export.
401 .IP
402 As of kernel 2.6.18, the behavior specified by
403 .B nosharecache
404 is legacy caching behavior. This
405 is considered a data risk since multiple cached copies
406 of the same file on the same client can become out of sync
407 following a local update of one of the copies.
408 .TP 1.5i
409 .BR resvport " / " noresvport
410 Specifies whether the NFS client should use a privileged source port
411 when communicating with an NFS server for this mount point.
412 If this option is not specified, or the
413 .B resvport
414 option is specified, the NFS client uses a privileged source port.
415 If the
416 .B noresvport
417 option is specified, the NFS client uses a non-privileged source port.
418 This option is supported in kernels 2.6.28 and later.
419 .IP
420 Using non-privileged source ports helps increase the maximum number of
421 NFS mount points allowed on a client, but NFS servers must be configured
422 to allow clients to connect via non-privileged source ports.
423 .IP
424 Refer to the SECURITY CONSIDERATIONS section for important details.
425 .TP 1.5i
426 .BI lookupcache= mode
427 Specifies how the kernel manages its cache of directory entries
428 for a given mount point.
429 .I mode
430 can be one of
431 .BR all ,
432 .BR none ,
433 .BR pos ,
434 or
435 .BR positive .
436 This option is supported in kernels 2.6.28 and later.
437 .IP
438 The Linux NFS client caches the result of all NFS LOOKUP requests.
439 If the requested directory entry exists on the server,
440 the result is referred to as
441 .IR positive .
442 If the requested directory entry does not exist on the server,
443 the result is referred to as
444 .IR negative .
445 .IP
446 If this option is not specified, or if
447 .B all
448 is specified, the client assumes both types of directory cache entries
449 are valid until their parent directory's cached attributes expire.
450 .IP
451 If
452 .BR pos " or " positive
453 is specified, the client assumes positive entries are valid
454 until their parent directory's cached attributes expire, but
455 always revalidates negative entires before an application
456 can use them.
457 .IP
458 If
459 .B none
460 is specified,
461 the client revalidates both types of directory cache entries
462 before an application can use them.
463 This permits quick detection of files that were created or removed
464 by other clients, but can impact application and server performance.
465 .IP
466 The DATA AND METADATA COHERENCE section contains a
467 detailed discussion of these trade-offs.
468 .SS "Valid options for the nfs file system type"
469 Use these options, along with the options in the above subsection,
470 for mounting the
471 .B nfs
472 file system type.
473 .TP 1.5i
474 .BI proto= transport
475 The transport the NFS client uses
476 to transmit requests to the NFS server for this mount point.
477 .I transport
478 can be either
479 .B udp
480 or
481 .BR tcp .
482 Each transport uses different default
483 .B retrans
484 and
485 .B timeo
486 settings; refer to the description of these two mount options for details.
487 .IP
488 In addition to controlling how the NFS client transmits requests to
489 the server, this mount option also controls how the
490 .BR mount (8)
491 command communicates with the server's rpcbind and mountd services.
492 Specifying 
493 .B proto=tcp
494 forces all traffic from the 
495 .BR mount (8)
496 command and the NFS client to use TCP.
497 Specifying
498 .B proto=udp
499 forces all traffic types to use UDP.
500 .IP
501 If the
502 .B proto
503 mount option is not specified, the
504 .BR mount (8)
505 command discovers which protocols the server supports
506 and chooses an appropriate transport for each service.
507 Refer to the TRANSPORT METHODS section for more details.
508 .TP 1.5i
509 .B udp
510 The
511 .B udp
512 option is an alternative to specifying
513 .BR proto=udp.
514 It is included for compatibility with other operating systems.
515 .TP 1.5i
516 .B tcp
517 The
518 .B tcp
519 option is an alternative to specifying
520 .BR proto=tcp.
521 It is included for compatibility with other operating systems.
522 .TP 1.5i
523 .BI port= n
524 The numeric value of the server's NFS service port.
525 If the server's NFS service is not available on the specified port,
526 the mount request fails.
527 .IP
528 If this option is not specified, or if the specified port value is 0,
529 then the NFS client uses the NFS service port number
530 advertised by the server's rpcbind service.
531 The mount request fails if the server's rpcbind service is not available,
532 the server's NFS service is not registered with its rpcbind service,
533 or the server's NFS service is not available on the advertised port.
534 .TP 1.5i
535 .BI mountport= n
536 The numeric value of the server's mountd port.
537 If the server's mountd service is not available on the specified port,
538 the mount request fails.
539 .IP
540 If this option is not specified,
541 or if the specified port value is 0, then the
542 .BR mount (8)
543 command uses the mountd service port number
544 advertised by the server's rpcbind service.
545 The mount request fails if the server's rpcbind service is not available,
546 the server's mountd service is not registered with its rpcbind service,
547 or the server's mountd service is not available on the advertised port.
548 .IP
549 This option can be used when mounting an NFS server
550 through a firewall that blocks the rpcbind protocol.
551 .TP 1.5i
552 .BI mountproto= transport
553 The transport the NFS client uses
554 to transmit requests to the NFS server's mountd service when performing
555 this mount request, and when later unmounting this mount point.
556 .I transport
557 can be either
558 .B udp
559 or
560 .BR tcp .
561 .IP
562 This option can be used when mounting an NFS server
563 through a firewall that blocks a particular transport.
564 When used in combination with the
565 .B proto
566 option, different transports for mountd requests and NFS requests
567 can be specified.
568 If the server's mountd service is not available via the specified
569 transport, the mount request fails.
570 Refer to the TRANSPORT METHODS section for more on how the
571 .B mountproto
572 mount option interacts with the
573 .B proto
574 mount option.
575 .TP 1.5i
576 .BI mounthost= name
577 The hostname of the host running mountd.
578 If this option is not specified, the
579 .BR mount (8)
580 command assumes that the mountd service runs
581 on the same host as the NFS service.
582 .TP 1.5i
583 .BI mountvers= n
584 The RPC version number used to contact the server's mountd.
585 If this option is not specified, the client uses a version number
586 appropriate to the requested NFS version.
587 This option is useful when multiple NFS services
588 are running on the same remote server host.
589 .TP 1.5i
590 .BI namlen= n
591 The maximum length of a pathname component on this mount.
592 If this option is not specified, the maximum length is negotiated
593 with the server. In most cases, this maximum length is 255 characters.
594 .IP
595 Some early versions of NFS did not support this negotiation.
596 Using this option ensures that
597 .BR pathconf (3)
598 reports the proper maximum component length to applications
599 in such cases.
600 .TP 1.5i
601 .BI nfsvers= n
602 The NFS protocol version number used to contact the server's NFS service.
603 The Linux client supports version 2 and version 3 of the NFS protocol
604 when using the file system type
605 .BR nfs .
606 If the server does not support the requested version,
607 the mount request fails.
608 If this option is not specified, the client attempts to use version 3,
609 but negotiates the NFS version with the server if version 3 support
610 is not available.
611 .TP 1.5i
612 .BI vers= n
613 This option is an alternative to the
614 .B nfsvers
615 option.
616 It is included for compatibility with other operating systems.
617 .TP 1.5i
618 .BR lock " / " nolock
619 Selects whether to use the NLM sideband protocol to lock files on the server.
620 If neither option is specified (or if 
621 .B lock 
622 is specified), NLM locking is used for this mount point. 
623 When using the
624 .B nolock
625 option, applications can lock files,
626 but such locks provide exclusion only against other applications
627 running on the same client.
628 Remote applications are not affected by these locks.
629 .IP
630 NLM locking must be disabled with the
631 .B nolock
632 option when using NFS to mount
633 .I /var
634 because
635 .I /var
636 contains files used by the NLM implementation on Linux.
637 Using the
638 .B nolock
639 option is also required when mounting exports on NFS servers
640 that do not support the NLM protocol.
641 .TP 1.5i
642 .BR intr " / " nointr
643 Selects whether to allow signals to interrupt file operations
644 on this mount point. If neither option 
645 is specified (or if 
646 .B nointr
647 is specified),
648 signals do not interrupt NFS file operations. If
649 .B intr 
650 is specified, system calls return EINTR if an in-progress NFS operation is interrupted by 
651 a signal.
652 .IP
653 Using the
654 .B intr
655 option is preferred to using the
656 .B soft
657 option because it is significantly less likely to result in data corruption.
658 .IP
659 The
660 .BR intr " / " nointr
661 mount option is deprecated after kernel 2.6.25.
662 Only SIGKILL can interrupt a pending NFS operation on these kernels,
663 and if specified, this mount option is ignored to provide backwards
664 compatibility with older kernels.
665 .TP 1.5i
666 .BR cto " / " nocto
667 Selects whether to use close-to-open cache coherence semantics.
668 If neither option is specified (or if 
669 .B cto
670 is specified), the client uses close-to-open
671 cache coherence semantics. If the 
672 .B nocto 
673 option is specified, the client uses a non-standard heuristic to determine when
674 files on the server have changed. 
675 .IP
676 Using the
677 .B nocto
678 option may improve performance for read-only mounts,
679 but should be used only if the data on the server changes only occasionally.
680 The DATA AND METADATA COHERENCE section discusses the behavior
681 of this option in more detail.
682 .TP 1.5i
683 .BR acl " / " noacl
684 Selects whether to use the NFSACL sideband protocol on this mount point.
685 The NFSACL sideband protocol is a proprietary protocol
686 implemented in Solaris that manages Access Control Lists. NFSACL was never 
687 made a standard part of the NFS protocol specification.
688 .IP
689 If neither 
690 .B acl
691 nor 
692 .B noacl 
693 option is specified,
694 the NFS client negotiates with the server
695 to see if the NFSACL protocol is supported,
696 and uses it if the server supports it.
697 Disabling the NFSACL sideband protocol may be necessary
698 if the negotiation causes problems on the client or server.
699 Refer to the SECURITY CONSIDERATIONS section for more details.
700 .TP 1.5i
701 .BR rdirplus " / " nordirplus
702 Selects whether to use NFS version 3 READDIRPLUS requests.
703 If this option is not specified, the NFS client uses READDIRPLUS requests
704 on NFS version 3 mounts to read small directories.
705 Some applications perform better if the client uses only READDIR requests
706 for all directories.  
707 .SS "Valid options for the nfs4 file system type"
708 Use these options, along with the options in the first subsection above,
709 for mounting the
710 .B nfs4
711 file system type.
712 .TP 1.5i
713 .BI proto= transport
714 The transport the NFS client uses
715 to transmit requests to the NFS server for this mount point.
716 .I transport
717 can be either
718 .B udp
719 or
720 .BR tcp .
721 All NFS version 4 servers are required to support TCP,
722 so if this mount option is not specified, the NFS version 4 client 
723 uses the TCP transport protocol. 
724 Refer to the TRANSPORT METHODS section for more details.
725 .TP 1.5i
726 .BI port= n
727 The numeric value of the server's NFS service port.
728 If the server's NFS service is not available on the specified port,
729 the mount request fails.
730 .IP
731 If this mount option is not specified,
732 the NFS client uses the standard NFS port number of 2049
733 without first checking the server's rpcbind service.
734 This allows an NFS version 4 client to contact an NFS version 4
735 server through a firewall that may block rpcbind requests.
736 .IP
737 If the specified port value is 0,
738 then the NFS client uses the NFS service port number
739 advertised by the server's rpcbind service.
740 The mount request fails if the server's rpcbind service is not available,
741 the server's NFS service is not registered with its rpcbind service,
742 or the server's NFS service is not available on the advertised port.
743 .TP 1.5i
744 .BR intr " / " nointr
745 Selects whether to allow signals to interrupt file operations
746 on this mount point. If neither option is specified (or if 
747 .B intr 
748 is specified), system calls return EINTR if an in-progress NFS operation  
749 is interrupted by a signal.  If 
750 .B nointr
751 is specified, signals do not  
752 interrupt NFS operations.
753 .IP
754 Using the
755 .B intr
756 option is preferred to using the
757 .B soft
758 option because it is significantly less likely to result in data corruption.
759 .IP
760 The
761 .BR intr " / " nointr
762 mount option is deprecated after kernel 2.6.25.
763 Only SIGKILL can interrupt a pending NFS operation on these kernels,
764 and if specified, this mount option is ignored to provide backwards
765 compatibility with older kernels.
766 .TP 1.5i
767 .BR cto " / " nocto
768 Selects whether to use close-to-open cache coherence semantics
769 for NFS directories on this mount point.
770 If neither
771 .B cto
772 nor
773 .B nocto 
774 is specified,
775 the default is to use close-to-open cache coherence
776 semantics for directories.
777 .IP
778 File data caching behavior is not affected by this option.
779 The DATA AND METADATA COHERENCE section discusses
780 the behavior of this option in more detail.
781 .TP 1.5i
782 .BI clientaddr= n.n.n.n
783 Specifies  a  single  IPv4  address  (in dotted-quad form) 
784 that the NFS client advertises to allow servers 
785 to perform NFS version 4 callback requests against 
786 files on this mount point. If  the  server is unable to 
787 establish callback connections to clients, performance 
788 may degrade, or accesses to files may temporarily hang.
789 .IP
790 If this option is not specified, the
791 .BR mount (8)
792 command attempts to discover an appropriate callback address automatically.
793 The automatic discovery process is not perfect, however.
794 In the presence of multiple client network interfaces,
795 special routing policies,
796 or atypical network topologies,
797 the exact address to use for callbacks may be nontrivial to determine. 
798 .SH EXAMPLES
799 To mount an export using NFS version 2,
800 use the
801 .B nfs
802 file system type and specify the
803 .B nfsvers=2
804 mount option.
805 To mount using NFS version 3,
806 use the
807 .B nfs
808 file system type and specify the
809 .B nfsvers=3
810 mount option.
811 To mount using NFS version 4,
812 use the
813 .B nfs4
814 file system type.
815 The
816 .B nfsvers
817 mount option is not supported for the
818 .B nfs4
819 file system type.
820 .P
821 The following example from an
822 .I /etc/fstab
823 file causes the mount command to negotiate
824 reasonable defaults for NFS behavior.
825 .P
826 .NF
827 .TA 2.5i +0.7i +0.7i +.7i
828         server:/export  /mnt    nfs     defaults        0 0
829 .FI
830 .P
831 Here is an example from an /etc/fstab file for an NFS version 2 mount over UDP.
832 .P
833 .NF
834 .TA 2.5i +0.7i +0.7i +.7i
835         server:/export  /mnt    nfs     nfsvers=2,proto=udp     0 0
836 .FI
837 .P
838 Try this example to mount using NFS version 4 over TCP
839 with Kerberos 5 mutual authentication.
840 .P
841 .NF
842 .TA 2.5i +0.7i +0.7i +.7i
843         server:/export  /mnt    nfs4    sec=krb5        0 0
844 .FI
845 .P
846 This example can be used to mount /usr over NFS.
847 .P
848 .NF
849 .TA 2.5i +0.7i +0.7i +.7i
850         server:/export  /usr    nfs     ro,nolock,nocto,actimeo=3600    0 0
851 .FI
852 .SH "TRANSPORT METHODS"
853 NFS clients send requests to NFS servers via
854 Remote Procedure Calls, or
855 .IR RPCs .
856 The RPC client discovers remote service endpoints automatically,
857 handles per-request authentication,
858 adjusts request parameters for different byte endianness on client and server,
859 and retransmits requests that may have been lost by the network or server.
860 RPC requests and replies flow over a network transport.
861 .P
862 In most cases, the
863 .BR mount (8)
864 command, NFS client, and NFS server
865 can automatically negotiate proper transport
866 and data transfer size settings for a mount point.
867 In some cases, however, it pays to specify
868 these settings explicitly using mount options.
869 .P
870 Traditionally, NFS clients used the UDP transport exclusively for  
871 transmitting requests to servers.  Though its implementation is  
872 simple, NFS over UDP has many limitations that prevent smooth  
873 operation and good performance in some common deployment  
874 environments.  Even an insignificant packet loss rate results in the  
875 loss of whole NFS requests; as such, retransmit timeouts are usually  
876 in the subsecond range to allow clients to recover quickly from  
877 dropped requests, but this can result in extraneous network traffic  
878 and server load.
879 .P
880 However, UDP can be quite effective in specialized settings where  
881 the network’s MTU is large relative to NFS’s data transfer size (such  
882 as network environments that enable jumbo Ethernet frames).  In such  
883 environments, trimming the 
884 .B rsize 
885 and 
886 .B wsize 
887 settings so that each  
888 NFS read or write request fits in just a few network frames (or even  
889 in  a single  frame) is advised.  This reduces the probability that  
890 the loss of a single MTU-sized network frame results in the loss of  
891 an entire large read or write request.
892 .P
893 TCP is the default transport protocol used for all modern NFS 
894 implementations.  It performs well in almost every conceivable
895 network environment and provides excellent guarantees against data 
896 corruption caused by network unreliability.  TCP is often a  
897 requirement for mounting a server through a network firewall.
898 .P
899 Under normal circumstances, networks drop packets much more
900 frequently than NFS servers drop requests.  As such, an aggressive
901 retransmit timeout  setting for NFS over TCP is unnecessary. Typical
902 timeout settings for NFS over TCP are between one and ten minutes.
903 After  the client exhausts its retransmits (the value of the
904 .B retrans
905 mount option), it assumes a network partition has occurred,
906 and attempts to reconnect to the server on a fresh socket. Since
907 TCP itself makes network data transfer reliable, 
908 .B rsize
909 and 
910 .B wsize
911 can safely be allowed to default to the largest values supported by  
912 both client and server, independent of the network's MTU size.
913 .SS "Using the mountproto mount option"
914 This section applies only to NFS version 2 and version 3 mounts
915 since NFS version 4 does not use a separate protocol for mount
916 requests.
917 .P
918 The Linux NFS client can use a different transport for
919 contacting an NFS server's rpcbind service, its mountd service,
920 its Network Lock Manager (NLM) service, and its NFS service.
921 The exact transports employed by the Linux NFS client for
922 each mount point depends on the settings of the transport
923 mount options, which include
924 .BR proto ,
925 .BR mountproto ,
926 .BR udp ", and " tcp .
927 .P
928 The client sends Network Status Manager (NSM) notifications
929 via UDP no matter what transport options are specified, but
930 listens for server NSM notifications on both UDP and TCP.
931 The NFS Access Control List (NFSACL) protocol shares the same
932 transport as the main NFS service.
933 .P
934 If no transport options are specified, the Linux NFS client
935 uses UDP to contact the server's mountd service, and TCP to
936 contact its NLM and NFS services by default.
937 .P
938 If the server does not support these transports for these services, the
939 .BR mount (8)
940 command attempts to discover what the server supports, and then retries
941 the mount request once using the discovered transports.
942 If the server does not advertise any transport supported by the client
943 or is misconfigured, the mount request fails.
944 If the
945 .B bg
946 option is in effect, the mount command backgrounds itself and continues
947 to attempt the specified mount request.
948 .P
949 When the
950 .B proto
951 option, the
952 .B udp
953 option, or the
954 .B tcp
955 option is specified but the
956 .B mountproto
957 option is not, the specified transport is used to contact
958 both the server's mountd service and for the NLM and NFS services.
959 .P
960 If the
961 .B mountproto
962 option is specified but none of the
963 .BR proto ", " udp " or " tcp
964 options are specified, then the specified transport is used for the
965 initial mountd request, but the mount command attempts to discover
966 what the server supports for the NFS protocol, preferring TCP if
967 both transports are supported.
968 .P
969 If both the
970 .BR mountproto " and " proto
971 (or
972 .BR udp " or " tcp )
973 options are specified, then the transport specified by the
974 .B mountproto
975 option is used for the initial mountd request, and the transport
976 specified by the
977 .B proto
978 option (or the
979 .BR udp " or " tcp " options)"
980 is used for NFS, no matter what order these options appear.
981 No automatic service discovery is performed if these options are
982 specified.
983 .P
984 If any of the
985 .BR proto ", " udp ", " tcp ", "
986 or
987 .B mountproto
988 options are specified more than once on the same mount command line,
989 then the value of the rightmost instance of each of these options
990 takes effect.
991 .SH "DATA AND METADATA COHERENCE"
992 Some modern cluster file systems provide
993 perfect cache coherence among their clients.
994 Perfect cache coherence among disparate NFS clients
995 is expensive to achieve, especially on wide area networks.
996 As such, NFS settles for weaker cache coherence that 
997 satisfies the requirements of most file sharing types. Normally, 
998 file sharing is completely sequential:
999 first client A opens a file, writes something to it, then closes it;
1000 then client B opens the same file, and reads the changes.
1001 .DT
1002 .SS "Close-to-open cache consistency"
1003 When an application opens a file stored on an NFS server,
1004 the NFS client checks that it still exists on the server
1005 and is permitted to the opener by sending a GETATTR or ACCESS request.
1006 When the application closes the file,
1007 the NFS client writes back any pending changes
1008 to the file so that the next opener can view the changes.
1009 This also gives the NFS client an opportunity to report
1010 any server write errors to the application
1011 via the return code from
1012 .BR close (2).
1013 The behavior of checking at open time and flushing at close time
1014 is referred to as close-to-open cache consistency.
1015 .SS "Weak cache consistency"
1016 There are still opportunities for a client's data cache
1017 to contain stale data.
1018 The NFS version 3 protocol introduced "weak cache consistency"
1019 (also known as WCC) which provides a way of efficiently checking
1020 a file's attributes before and after a single request.
1021 This allows a client to help identify changes
1022 that could have been made by other clients.
1023 .P
1024 When a client is using many concurrent operations
1025 that update the same file at the same time
1026 (for example, during asynchronous write behind),
1027 it is still difficult to tell whether it was
1028 that client's updates or some other client's updates
1029 that altered the file.
1030 .SS "Attribute caching"
1031 Use the 
1032 .B noac
1033 mount option to achieve attribute cache coherence
1034 among multiple clients.
1035 Almost every file system operation checks
1036 file attribute information.
1037 The client keeps this information cached
1038 for a period of time to reduce network and server load.
1039 When
1040 .B noac
1041 is in effect, a client's file attribute cache is disabled,
1042 so each operation that needs to check a file's attributes
1043 is forced to go back to the server.
1044 This permits a client to see changes to a file very quickly,
1045 at the cost of many extra network operations.
1046 .P
1047 Be careful not to confuse the
1048 .B noac
1049 option with "no data caching."
1050 The
1051 .B noac
1052 mount option prevents the client from caching file metadata,
1053 but there are still races that may result in data cache incoherence
1054 between client and server.
1055 .P
1056 The NFS protocol is not designed to support
1057 true cluster file system cache coherence
1058 without some type of application serialization.
1059 If absolute cache coherence among clients is required,
1060 applications should use file locking. Alternatively, applications 
1061 can also open their files with the O_DIRECT flag
1062 to disable data caching entirely.
1063 .SS "Directory entry caching"
1064 The Linux NFS client caches the result of all NFS LOOKUP requests.
1065 If the requested directory entry exists on the server,
1066 the result is referred to as a
1067 .IR positive " lookup result.
1068 If the requested directory entry does not exist on the server
1069 (that is, the server returned ENOENT),
1070 the result is referred to as
1071 .IR negative " lookup result.
1072 .P
1073 To detect when directory entries have been added or removed
1074 on the server,
1075 the Linux NFS client watches a directory's mtime.
1076 If the client detects a change in a directory's mtime,
1077 the client drops all cached LOOKUP results for that directory.
1078 Since the directory's mtime is a cached attribute, it may
1079 take some time before a client notices it has changed.
1080 See the descriptions of the
1081 .BR acdirmin ", " acdirmax ", and " noac
1082 mount options for more information about
1083 how long a directory's mtime is cached.
1084 .P
1085 Caching directory entries improves the performance of applications that
1086 do not share files with applications on other clients.
1087 Using cached information about directories can interfere
1088 with applications that run concurrently on multiple clients and
1089 need to detect the creation or removal of files quickly, however.
1090 The
1091 .B lookupcache
1092 mount option allows some tuning of directory entry caching behavior.
1093 .P
1094 Before kernel release 2.6.28,
1095 the Linux NFS client tracked only positive lookup results.
1096 This permitted applications to detect new directory entries
1097 created by other clients quickly while still providing some of the
1098 performance benefits of caching.
1099 If an application depends on the previous lookup caching behavior
1100 of the Linux NFS client, you can use
1101 .BR lookupcache=positive .
1102 .P
1103 If the client ignores its cache and validates every application
1104 lookup request with the server,
1105 that client can immediately detect when a new directory
1106 entry has been either created or removed by another client.
1107 You can specify this behavior using
1108 .BR lookupcache=none .
1109 The extra NFS requests needed if the client does not
1110 cache directory entries can exact a performance penalty.
1111 Disabling lookup caching
1112 should result in less of a performance penalty than using
1113 .BR noac ,
1114 and has no effect on how the NFS client caches the attributes of files.
1115 .P
1116 .SS "The sync mount option"
1117 The NFS client treats the
1118 .B sync
1119 mount option differently than some other file systems
1120 (refer to 
1121 .BR mount (8)
1122 for a description of the generic
1123 .B sync
1124 and
1125 .B async
1126 mount options).
1127 If neither
1128 .B sync
1129 nor
1130 .B async
1131 is specified (or if the 
1132 .B async 
1133 option is specified),
1134 the NFS client delays sending application
1135 writes to the server
1136 until any of these events occur: 
1137 .IP
1138 Memory pressure forces reclamation of system memory resources.
1139 .IP
1140 An application flushes file data explicitly with 
1141 .BR sync (2),
1142 .BR msync (2),
1143 or
1144 .BR fsync (3).
1145 .IP
1146 An application closes a file with
1147 .BR close (2).
1148 .IP
1149 The file is locked/unlocked via
1150 .BR fcntl (2).
1151 .P
1152 In other words, under normal circumstances,
1153 data written by an application may not immediately appear
1154 on the server that hosts the file.
1155 .P
1156 If the
1157 .B sync
1158 option is specified on a mount point,
1159 any system call that writes data to files on that mount point
1160 causes that data to be flushed to the server
1161 before the system call returns control to user space.
1162 This provides greater data cache coherence among clients,
1163 but at a significant performance cost.
1164 .P
1165 Applications can use the O_SYNC open flag to force application
1166 writes to individual files to go to the server immediately without
1167 the use of the
1168 .B sync 
1169 mount option.
1170 .SS "Using file locks with NFS"
1171 The Network Lock Manager protocol is a separate sideband protocol
1172 used to manage file locks in NFS version 2 and version 3.
1173 To support lock recovery after a client or server reboot,
1174 a second sideband protocol --
1175 known as the Network Status Manager protocol --
1176 is also required.
1177 In NFS version 4,
1178 file locking is supported directly in the main NFS protocol,
1179 and the NLM and NSM sideband protocols are not used.
1180 .P
1181 In most cases, NLM and NSM services are started automatically,
1182 and no extra configuration is required.
1183 Configure all NFS clients with fully-qualified domain names
1184 to ensure that NFS servers can find clients to notify them of server reboots.
1185 .P
1186 NLM supports advisory file locks only.
1187 To lock NFS files, use
1188 .BR fcntl (2)
1189 with the F_GETLK and F_SETLK commands.
1190 The NFS client converts file locks obtained via
1191 .BR flock (2)
1192 to advisory locks.
1193 .P
1194 When mounting servers that do not support the NLM protocol,
1195 or when mounting an NFS server through a firewall
1196 that blocks the NLM service port,
1197 specify the
1198 .B nolock
1199 mount option. NLM locking must be disabled with the
1200 .B nolock
1201 option when using NFS to mount
1202 .I /var
1203 because 
1204 .I /var 
1205 contains files used by the NLM implementation on Linux.
1206 .P
1207 Specifying the
1208 .B nolock
1209 option may also be advised to improve the performance
1210 of a proprietary application which runs on a single client
1211 and uses file locks extensively. 
1212 .SS "NFS version 4 caching features"
1213 The data and metadata caching behavior of NFS version 4
1214 clients is similar to that of earlier versions.
1215 However, NFS version 4 adds two features that improve
1216 cache behavior:
1217 .I change attributes
1218 and
1219 .IR "file delegation" .
1220 .P
1221 The
1222 .I change attribute
1223 is a new part of NFS file and directory metadata
1224 which tracks data changes.
1225 It replaces the use of a file's modification
1226 and change time stamps
1227 as a way for clients to validate the content
1228 of their caches.
1229 Change attributes are independent of the time stamp
1230 resolution on either the server or client, however.
1231 .P
1232 A
1233 .I file delegation
1234 is a contract between an NFS version 4 client
1235 and server that allows the client to treat a file temporarily
1236 as if no other client is accessing it.
1237 The server promises to notify the client (via a callback request) if another client
1238 attempts to access that file.
1239 Once a file has been delegated to a client, the client can
1240 cache that file's data and metadata aggressively without
1241 contacting the server.
1242 .P
1243 File delegations come in two flavors:
1244 .I read
1245 and
1246 .IR write .
1247 A
1248 .I read
1249 delegation means that the server notifies the client
1250 about any other clients that want to write to the file.
1251 A
1252 .I write
1253 delegation means that the client gets notified about
1254 either read or write accessors.
1255 .P
1256 Servers grant file delegations when a file is opened,
1257 and can recall delegations at any time when another
1258 client wants access to the file that conflicts with
1259 any delegations already granted.
1260 Delegations on directories are not supported.
1261 .P
1262 In order to support delegation callback, the server
1263 checks the network return path to the client during
1264 the client's initial contact with the server.
1265 If contact with the client cannot be established,
1266 the server simply does not grant any delegations to
1267 that client.
1268 .SH "SECURITY CONSIDERATIONS"
1269 NFS servers control access to file data,
1270 but they depend on their RPC implementation
1271 to provide authentication of NFS requests.
1272 Traditional NFS access control mimics
1273 the standard mode bit access control provided in local file systems.
1274 Traditional RPC authentication uses a number
1275 to represent each user
1276 (usually the user's own uid),
1277 a number to represent the user's group (the user's gid),
1278 and a set of up to 16 auxiliary group numbers
1279 to represent other groups of which the user may be a member.
1280 .P
1281 Typically, file data and user ID values appear unencrypted
1282 (i.e. "in the clear") on the network.
1283 Moreover, NFS versions 2 and 3 use
1284 separate sideband protocols for mounting,
1285 locking and unlocking files,
1286 and reporting system status of clients and servers.
1287 These auxiliary protocols use no authentication.
1288 .P
1289 In addition to combining these sideband protocols with the main NFS protocol,
1290 NFS version 4 introduces more advanced forms of access control,
1291 authentication, and in-transit data protection.
1292 The NFS version 4 specification mandates NFSv4 ACLs,
1293 RPCGSS authentication, and RPCGSS security flavors
1294 that provide per-RPC integrity checking and encryption.
1295 Because NFS version 4 combines the  
1296 function of the sideband protocols into the main NFS protocol,
1297 the new security features apply to all NFS version 4 operations
1298 including mounting, file locking, and so on.
1299 RPCGSS authentication can also be used with NFS versions 2 and 3,
1300 but does not protect their sideband protocols.
1301 .P
1302 The
1303 .B sec
1304 mount option specifies the RPCGSS security mode
1305 that is in effect on a given NFS mount point.
1306 Specifying
1307 .B sec=krb5
1308 provides cryptographic proof of a user's identity in each RPC request.
1309 This provides strong verification of the identity of users 
1310 accessing data on the server.
1311 Note that additional configuration besides adding this mount option
1312 is required in order to enable Kerberos security.
1313 Refer to the 
1314 .BR rpc.gssd (8)
1315 man page for details.
1316 .P
1317 Two additional flavors of Kerberos security are supported:
1318 .B krb5i
1319 and
1320 .BR krb5p .
1321 The
1322 .B krb5i
1323 security flavor provides a cryptographically strong guarantee
1324 that the data in each RPC request has not been tampered with.
1325 The
1326 .B krb5p
1327 security flavor encrypts every RPC request
1328 to prevent data exposure during network transit; however,
1329 expect some performance impact
1330 when using integrity checking or encryption.
1331 Similar support for other forms of cryptographic security (such as lipkey and SPKM3)
1332 is also available.
1333 .P
1334 The NFS version 4 protocol allows
1335 clients and servers to negotiate among multiple security flavors
1336 during mount processing.
1337 However, Linux does not yet implement such negotiation.
1338 The Linux client specifies a single security flavor at mount time
1339 which remains in effect for the lifetime of the mount.
1340 If the server does not support this flavor,
1341 the initial mount request is rejected by the server.
1342 .SS "Using non-privileged source ports"
1343 NFS clients usually communicate with NFS servers via network sockets.
1344 Each end of a socket is assigned a port value, which is simply a number
1345 between 1 and 65535 that distinguishes socket endpoints at the same
1346 IP address.
1347 A socket is uniquely defined by a tuple that includes the transport
1348 protocol (TCP or UDP) and the port values and IP addresses of both
1349 endpoints.
1350 .P
1351 The NFS client can choose any source port value for its sockets,
1352 but usually chooses a
1353 .I privileged
1354 port.
1355 A privileged port is a port value less than 1024.
1356 Only a process with root privileges may create a socket
1357 with a privileged source port.
1358 .P
1359 The exact range of privileged source ports that can be chosen is
1360 set by a pair of sysctls to avoid choosing a well-known port, such as
1361 the port used by ssh.
1362 This means the number of source ports available for the NFS client,
1363 and therefore the number of socket connections that can be used
1364 at the same time,
1365 is practically limited to only a few hundred.
1366 .P
1367 As described above, the traditional default NFS authentication scheme,
1368 known as AUTH_SYS, relies on sending local UID and GID numbers to identify
1369 users making NFS requests.
1370 An NFS server assumes that if a connection comes from a privileged port,
1371 the UID and GID numbers in the NFS requests on this connection have been
1372 verified by the client's kernel or some other local authority.
1373 This is an easy system to spoof, but on a trusted physical network between
1374 trusted hosts, it is entirely adequate.
1375 .P
1376 Roughly speaking, one socket is used for each NFS mount point.
1377 If a client could use non-privileged source ports as well,
1378 the number of sockets allowed,
1379 and thus the maximum number of concurrent mount points,
1380 would be much larger.
1381 .P
1382 Using non-privileged source ports may compromise server security somewhat,
1383 since any user on AUTH_SYS mount points can now pretend to be any other
1384 when making NFS requests.
1385 Thus NFS servers do not support this by default.
1386 They explicitly allow it usually via an export option.
1387 .P
1388 To retain good security while allowing as many mount points as possible,
1389 it is best to allow non-privileged client connections only if the server
1390 and client both require strong authentication, such as Kerberos.
1391 .SS "Mounting through a firewall"
1392 A firewall may reside between an NFS client and server,
1393 or the client or server may block some of its own ports via IP
1394 filter rules.
1395 It is still possible to mount an NFS server through a firewall,
1396 though some of the
1397 .BR mount (8)
1398 command's automatic service endpoint discovery mechanisms may not work; this 
1399 requires you to provide specific endpoint details via NFS mount options.
1400 .P
1401 NFS servers normally run a portmapper or rpcbind daemon to advertise
1402 their service endpoints to clients. Clients use the rpcbind daemon to determine: 
1403 .IP
1404 What network port each RPC-based service is using
1405 .IP
1406 What transport protocols each RPC-based service supports 
1407 .P
1408 The rpcbind daemon uses a well-known port number (111) to help clients find a service endpoint.
1409 Although NFS often uses a standard port number (2049),
1410 auxiliary services such as the NLM service can choose
1411 any unused port number at random.
1412 .P
1413 Common firewall configurations block the well-known rpcbind port.
1414 In the absense of an rpcbind service,
1415 the server administrator fixes the port number
1416 of NFS-related services so that the firewall
1417 can allow access to specific NFS service ports.
1418 Client administrators then specify the port number
1419 for the mountd service via the
1420 .BR mount (8)
1421 command's
1422 .B mountport
1423 option.
1424 It may also be necessary to enforce the use of TCP or UDP
1425 if the firewall blocks one of those transports.
1426 .SS "NFS Access Control Lists"
1427 Solaris allows NFS version 3 clients direct access
1428 to POSIX Access Control Lists stored in its local file systems.
1429 This proprietary sideband protocol, known as NFSACL,
1430 provides richer access control than mode bits.
1431 Linux implements this protocol
1432 for compatibility with the Solaris NFS implementation.
1433 The NFSACL protocol never became a standard part
1434 of the NFS version 3 specification, however.
1435 .P
1436 The NFS version 4 specification mandates a new version
1437 of Access Control Lists that are semantically richer than POSIX ACLs.
1438 NFS version 4 ACLs are not fully compatible with POSIX ACLs; as such, 
1439 some translation between the two is required
1440 in an environment that mixes POSIX ACLs and NFS version 4. 
1441 .SH FILES
1442 .TP 1.5i
1443 .I /etc/fstab
1444 file system table
1445 .SH BUGS
1446 The generic
1447 .B remount
1448 option is not fully supported.
1449 Generic options, such as
1450 .BR rw " and " ro
1451 can be modified using the
1452 .B remount
1453 option,
1454 but NFS-specific options are not all supported.
1455 The underlying transport or NFS version
1456 cannot be changed by a remount, for example.
1457 Performing a remount on an NFS file system mounted with the
1458 .B noac
1459 option may have unintended consequences.
1460 The
1461 .B noac
1462 option is a mixture of a generic option,
1463 .BR sync ,
1464 and an NFS-specific option
1465 .BR actimeo=0 .
1466 .P
1467 Before 2.4.7, the Linux NFS client did not support NFS over TCP.
1468 .P
1469 Before 2.4.20, the Linux NFS client used a heuristic
1470 to determine whether cached file data was still valid
1471 rather than using the standard close-to-open cache coherency method
1472 described above.
1473 .P
1474 Starting with 2.4.22, the Linux NFS client employs
1475 a Van Jacobsen-based RTT estimator to determine retransmit
1476 timeout values when using NFS over UDP.
1477 .P
1478 Before 2.6.0, the Linux NFS client did not support NFS version 4.
1479 .P
1480 Before 2.6.8, the Linux NFS client used only synchronous reads and writes
1481 when the
1482 .BR rsize " and " wsize
1483 settings were smaller than the system's page size.
1484 .P
1485 The Linux NFS client does not yet support
1486 certain optional features of the NFS version 4 protocol,
1487 such as security negotiation, server referrals, and named attributes.
1488 .SH "SEE ALSO"
1489 .BR fstab (5),
1490 .BR mount (8),
1491 .BR umount (8),
1492 .BR mount.nfs (5),
1493 .BR umount.nfs (5),
1494 .BR exports (5),
1495 .BR nfsd (8),
1496 .BR sm-notify (8),
1497 .BR rpc.statd (8),
1498 .BR rpc.idmapd (8),
1499 .BR rpc.gssd (8),
1500 .BR rpc.svcgssd (8),
1501 .BR kerberos (1)
1502 .sp
1503 RFC 768 for the UDP specification.
1504 .br
1505 RFC 793 for the TCP specification.
1506 .br
1507 RFC 1094 for the NFS version 2 specification.
1508 .br
1509 RFC 1813 for the NFS version 3 specification.
1510 .br
1511 RFC 1832 for the XDR specification.
1512 .br
1513 RFC 1833 for the RPC bind specification.
1514 .br
1515 RFC 2203 for the RPCSEC GSS API protocol specification.
1516 .br
1517 RFC 3530 for the NFS version 4 specification.