xref: /illumos-gate/usr/src/man/man8/mount_nfs.8 (revision b8052df9f609edb713f6828c9eecc3d7be19dfb3)
1.\"
2.\" The contents of this file are subject to the terms of the
3.\" Common Development and Distribution License (the "License").
4.\" You may not use this file except in compliance with the License.
5.\"
6.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7.\" or http://www.opensolaris.org/os/licensing.
8.\" See the License for the specific language governing permissions
9.\" and limitations under the License.
10.\"
11.\" When distributing Covered Code, include this CDDL HEADER in each
12.\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
13.\" If applicable, add the following below this CDDL HEADER, with the
14.\" fields enclosed by brackets "[]" replaced with your own identifying
15.\" information: Portions Copyright [yyyy] [name of copyright owner]
16.\"
17.\"
18.\" Copyright 1989 AT&T
19.\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved
20.\" Copyright 2017 Nexenta Systems, Inc.
21.\"
22.Dd March 12, 2016
23.Dt MOUNT_NFS 8
24.Os
25.Sh NAME
26.Nm mount_nfs
27.Nd mount remote NFS resources
28.Sh SYNOPSIS
29.Nm mount
30.Op Fl F Sy nfs
31.Op Ar generic_options
32.Op Fl o Ar specific_options
33.Ar resource
34.Nm mount
35.Op Fl F Sy nfs
36.Op Ar generic_options
37.Op Fl o Ar specific_options
38.Ar mount_point
39.Nm mount
40.Op Fl F Sy nfs
41.Op Ar generic_options
42.Op Fl o Ar specific_options
43.Ar resource mount_point
44.Sh DESCRIPTION
45The
46.Nm mount
47utility attaches a named
48.Ar resource
49to the file system hierarchy at the pathname location
50.Ar mount_point ,
51which must already exist.
52If
53.Ar mount_point
54has any contents prior to the
55.Nm mount
56operation, the contents remain hidden until the
57.Ar resource
58is once again unmounted.
59.Pp
60.Nm
61starts the
62.Xr lockd 8
63and
64.Xr statd 8
65daemons if they are not already running.
66.Pp
67If the resource is listed in the
68.Pa /etc/vfstab
69file, the command line can specify either
70.Ar resource
71or
72.Ar mount_point ,
73and
74.Nm mount
75consults
76.Pa /etc/vfstab
77for more information.
78If the
79.Fl F
80option is omitted,
81.Nm mount
82takes the file system type from
83.Pa /etc/vfstab .
84.Pp
85If the resource is not listed in the
86.Pa /etc/vfstab
87file, then the command line must specify both the
88.Ar resource
89and the
90.Ar mount_point .
91.Pp
92.Ar host
93can be an IPv4 or IPv6 address string.
94As IPv6 addresses already contain colons, enclose
95.Ar host
96in a pair of square brackets when specifying an IPv6 address string.
97Otherwise the first occurrence of a colon can be interpreted as the separator
98between the host name and path, for example,
99.Li [1080::8:800:200C:417A]:tmp/file .
100See
101.Xr inet 4P
102and
103.Xr inet6 4P .
104.Bl -tag -width Ds
105.It Ar host Ns \&: Ns Ar pathname
106Where
107.Ar host
108is the name of the NFS server host, and
109.Ar pathname
110is the path name of the directory on the server being mounted.
111The path name is interpreted according to the server's path name parsing rules
112and is not necessarily slash-separated, though on most servers, this is the
113case.
114.It No nfs:// Ns Ar host Ns Oo : Ns Ar port Oc Ns / Ns Ar pathname
115This is an NFS URL and follows the standard convention for NFS URLs as described
116in
117.Rs
118.%R NFS URL Scheme
119.%T RFC 2224
120.Re
121See the discussion of URLs and the public option under
122.Sx NFS FILE SYSTEMS
123for a more detailed discussion.
124.It Xo
125.Ar host Ns \&: Ns Ar pathname
126.No nfs:// Ns Ar host Ns Oo : Ns Ar port Oc Ns / Ns Ar pathname
127.Xc
128.Ar host Ns \&: Ns Ar pathname
129is a comma-separated list of
130.Ar host Ns \&: Ns Ar pathname .
131See the discussion of replicated file systems and failover under
132.Sx NFS FILE SYSTEMS
133for a more detailed discussion.
134.It Ar hostlist pathname
135.Ar hostlist
136is a comma-separated list of hosts.
137See the discussion of replicated file systems and failover under
138.Sx NFS FILE SYSTEMS
139for a more detailed discussion.
140.El
141.Pp
142The
143.Nm mount
144command maintains a table of mounted file systems in
145.Pa /etc/mnttab ,
146described in
147.Xr mnttab 5 .
148.Pp
149.Nm mount_nfs
150supports both NFSv3 and NFSv4 mounts.
151The default NFS version is NFSv4.
152.Ss Options
153See
154.Xr mount 8
155for the list of supported
156.Ar generic_options .
157See
158.Xr share_nfs 8
159for a description of server options.
160.Bl -tag -width Ds
161.It Fl o Ar specific_options
162Set file system specific options according to a comma-separated list with no
163intervening spaces.
164.El
165.Pp
166The following list describes
167.Ar specific_options :
168.Bl -tag -width Ds
169.It Sy acdirmax Ns = Ns Ar n
170Hold cached attributes for no more than
171.Ar n
172seconds after directory update.
173The default value is 60.
174.It Sy acdirmin Ns = Ns Ar n
175Hold cached attributes for at least
176.Ar n
177seconds after directory update.
178The default value is 30.
179.It Sy acregmax Ns = Ns Ar n
180Hold cached attributes for no more than
181.Ar n
182seconds after file modification.
183The default value is 60.
184.It Sy acregmin Ns = Ns Ar n
185Hold cached attributes for at least
186.Ar n
187seconds after file modification.
188The default value is 3.
189.It Sy actimeo Ns = Ns n
190Set
191.Sy min
192and
193.Sy max
194times for regular files and directories to
195.Ar n
196seconds.
197See
198.Sx File Attributes ,
199below, for a description of the effect of setting this option to 0.
200.Pp
201See
202.Sx Specifying Values for Attribute Cache Duration Options ,
203below, for a description of how
204.Sy acdirmax , acdirmin , acregmax , acregmin ,
205and
206.Sy actimeo
207are parsed on a
208.Nm mount
209command line.
210.It Sy bg Ns | Ns Sy fg
211If the first attempt fails, retry in the background, or, in the foreground.
212The default is
213.Sy fg .
214.It Sy forcedirectio Ns | Ns Sy noforcedirectio
215If
216.Sy forcedirectio
217is specified, then for the duration of the mount, forced direct I/O is used.
218If the filesystem is mounted using
219.Sy forcedirectio ,
220data is transferred directly between client and server, with no buffering on the
221client.
222If the filesystem is mounted using
223.Sy noforcedirectio ,
224data is buffered on the client.
225.Sy forcedirectio
226is a performance option that is of benefit only in large sequential data
227transfers.
228The default behavior is
229.Sy noforcedirectio .
230.It Sy grpid
231By default, the GID associated with a newly created file obeys the System V
232semantics; that is, the GID is set to the effective GID of the calling process.
233This behavior can be overridden on a per-directory basis by setting the set-GID
234bit of the parent directory; in this case, the GID of a newly created file is
235set to the GID of the parent directory
236.Po see
237.Xr open 2
238and
239.Xr mkdir 2
240.Pc .
241Files created on file systems that are mounted with the
242.Sy grpid
243option obeys BSD semantics independent of whether the set-GID bit of the parent
244directory is set; that is, the GID is unconditionally inherited from that of the
245parent directory.
246.It Sy hard Ns | Ns Sy soft
247Continue to retry requests until the server responds
248.Pq Sy hard
249or give up and return an error
250.Pq Sy soft .
251The default value is
252.Sy hard .
253Note that NFSv4 clients do not support soft mounts.
254.It Sy intr Ns | Ns Sy nointr
255Allow
256.Pq do not allow
257keyboard interrupts to kill a process that is hung while waiting for a response
258on a hard-mounted file system.
259The default is
260.Sy intr ,
261which makes it possible for clients to interrupt applications that can be
262waiting for a remote mount.
263.It Sy noac
264Suppress data and attribute caching.
265The data caching that is suppressed is the write-behind.
266The local page cache is still maintained, but data copied into it is immediately
267written to the server.
268.It Sy nocto
269Do not perform the normal close-to-open consistency.
270When a file is closed, all modified data associated with the file is flushed to
271the server and not held on the client.
272When a file is opened the client sends a request to the server to validate the
273client's local caches.
274This behavior ensures a file's consistency across multiple NFS clients.
275When
276.Sy nocto
277is in effect, the client does not perform the flush on close and the request for
278validation, allowing the possibility of differences among copies of the same
279file as stored on multiple clients.
280.Pp
281This option can be used where it can be guaranteed that accesses to a specified
282file system are made from only one client and only that client.
283Under such a condition, the effect of
284.Sy nocto
285can be a slight performance gain.
286.It Sy port Ns = Ns Ar n
287The server IP port number.
288The default is
289.Dv NFS_PORT .
290If the
291.Sy port
292option is specified, and if the resource includes one or more NFS URLs, and if
293any of the URLs include a port number, then the port number in the option and in
294the URL must be the same.
295.It Sy posix
296Request POSIX.1 semantics for the file system.
297Requires a mount Version 2
298.Xr mountd 8
299on the server.
300See
301.Xr standards 7
302for information regarding POSIX.
303.It Sy proto Ns = Ns Ar netid Ns | Ns Sy rdma
304By default, the transport protocol that the NFS mount uses is the first
305available RDMA transport supported both by the client and the server.
306If no RDMA transport is found, then it attempts to use a TCP transport or,
307failing that, a UDP transport, as ordered in the
308.Pa /etc/netconfig
309file.
310If it does not find a connection oriented transport, it uses the first available
311connectionless transport.
312Use this option to override the default behavior.
313.Pp
314.Sy proto
315is set to the value of
316.Ar netid
317or
318.Sy rdma .
319.Ar netid
320is the value of the
321.Sy network_id
322field entry in the
323.Pa /etc/netconfig
324file.
325.Pp
326The UDP protocol is not supported for NFS Version 4.
327If you specify a UDP protocol with the
328.Sy proto
329option, NFS version 4 is not used.
330.It Sy public
331The
332.Sy public
333option forces the use of the public file handle when connecting to the NFS
334server.
335The resource specified might not have an NFS URL.
336See the discussion of URLs and the public option under
337.Sx NFS FILE SYSTEMS
338for a more detailed discussion.
339.It Sy quota Ns | Ns Sy noquota
340Enable or prevent
341.Xr quota 8
342to check whether the user is over quota on this file system; if the file system
343has quotas enabled on the server, quotas are still checked for operations on
344this file system.
345.It Sy remount
346Remounts a read-only file system as read-write
347.Po using the
348.Sy rw
349option
350.Pc .
351This option cannot be used with other
352.Fl o
353options, and this option works only on currently mounted read-only file systems.
354.It Sy retrans Ns = Ns Ar n
355Set the number of NFS retransmissions to
356.Ar n .
357The default value is 5.
358For connection-oriented transports, this option has no effect because it is
359assumed that the transport performs retransmissions on behalf of NFS.
360.It Sy retry Ns = Ns Ar n
361The number of times to retry the
362.Nm mount
363operation.
364The default for the
365.Nm mount
366command is 10000.
367.Pp
368The default for the automounter is 0, in other words, do not retry.
369You might find it useful to increase this value on heavily loaded servers, where
370automounter traffic is dropped, causing unnecessary
371.Qq server not responding
372errors.
373.It Sy rsize Ns = Ns Ar n
374Set the read buffer size to a maximum of
375.Ar n
376bytes.
377The default value is 1048576 when using connection-oriented transports with
378Version 3 or Version 4 of the NFS protocol, and 32768 when using connection-less
379transports.
380The default can be negotiated down if the server prefers a smaller transfer
381size.
382.Qq Read
383operations may not necessarily use the maximum buffer size.
384When using Version 2, the default value is 32768 for all transports.
385.It Sy sec Ns = Ns Ar mode
386Set the security
387.Ar mode
388for NFS transactions.
389If
390.Sy sec Ns =
391is not specified, then the default action is to use AUTH_SYS over NFS Version 2
392mounts, use a user-configured default
393.Sy auth
394over NFS version 3 mounts, or to  negotiate a mode over Version 4 mounts.
395.Pp
396The preferred mode for NFS Version 3 mounts is the default mode specified in
397.Pa /etc/nfssec.conf
398.Po see
399.Xr nfssec.conf 5
400.Pc
401on the client.
402If there is no default configured in this file or if the server does not export
403using the client's default mode, then the client picks the first mode that it
404supports in the array of modes returned by the server.
405These alternatives are limited to the security flavors listed in
406.Pa /etc/nfssec.conf .
407.Pp
408NFS Version 4 mounts negotiate a security mode when the server returns an array
409of security modes.
410The client attempts the mount with each security mode, in order, until one is
411successful.
412.Pp
413Only one mode can be specified with the
414.Sy sec Ns =
415option.
416See
417.Xr nfssec 7
418for the available
419.Ar mode
420options.
421.It Sy secure
422This option has been deprecated in favor of the
423.Sy sec Ns = Ns Sy dh
424option.
425.It Sy timeo Ns = Ns Ar n
426Set the NFS timeout to
427.Ar n
428tenths of a second.
429The default value is 11 tenths of a second for connectionless transports, and
430600 tenths of a second for connection-oriented transports.
431This value is ignored for connectionless transports.
432Such transports might implement their own timeouts, which are outside the
433control of NFS.
434.It Sy vers Ns = Ns Ar "NFS version number"
435By default, the version of NFS protocol used between the client and the server
436is the highest one available on both systems.
437If the NFS server does not support the client's default maximum, the next lowest
438version attempted until a matching version is found.
439See
440.Xr nfs 5
441for more information on setting default minimum and maximum client versions.
442.It Sy wsize Ns = Ns Ar n
443Set the write buffer size to a maximum of
444.Ar n
445bytes.
446The default value is 1048576 when using connection-oriented transports with
447Version 3 or Version 4 of the NFS protocol, and 32768 when using connection-less
448transports.
449The default can be negotiated down if the server prefers a smaller transfer
450size.
451.Qq Write
452operations may not necessarily use the maximum buffer size.
453When using Version 2, the default value is 32768 for all transports.
454.It Sy xattr Ns | Ns Sy noxattr
455Allow or disallow the creation and manipulation of extended attributes.
456The default is
457.Sy xattr .
458See
459.Xr fsattr 7
460for a description of extended attributes.
461.El
462.Sh NFS FILE SYSTEMS
463.Ss Background versus Foreground
464File systems mounted with the
465.Sy bg
466option indicate that
467.Nm mount
468is to retry in the background if the server's mount daemon
469.Pq Xr mountd 8
470does not respond.
471.Nm mount
472retries the request up to the count specified in the
473.Sy retry Ns = Ns Ar n
474option
475.Po note that the default value for
476.Sy retry
477differs between
478.Nm mount
479and
480.Nm automount ;
481see the description of
482.Sy retry ,
483above
484.Pc .
485Once the file system is mounted, each NFS request made in the kernel waits
486.Sy timeo Ns = Ns Ar n
487tenths of a second for a response.
488If no response arrives, the time-out is multiplied by 2 and the request is
489retransmitted.
490When the number of retransmissions has reached the number specified in the
491.Sy retrans Ns = Ns Ar n
492option, a file system mounted with the
493.Sy soft
494option returns an error on the request; one mounted with the
495.Sy hard
496option prints a warning message and continues to retry the request.
497.Ss Hard versus Soft
498File systems that are mounted read-write or that contain executable files should
499always be mounted with the
500.Sy hard
501option.
502Applications using
503.Sy soft
504mounted file systems can incur unexpected I/O errors, file corruption, and
505unexpected program core dumps.
506The
507.Sy soft
508option is not recommended.
509.Ss Authenticated requests
510The server can require authenticated NFS requests from the client.
511.Sy sec Ns = Ns Sy dh
512authentication might be required.
513See
514.Xr nfssec 7 .
515.Ss URLs and the public option
516If the
517.Sy public
518option is specified, or if the
519.Ar resource
520includes and NFS URL,
521.Nm mount
522attempts to connect to the server using the public file handle lookup protocol.
523See
524.Rs
525.%R WebNFS Client Specification
526.%T RFC 2054
527.Re
528If the server supports the public file handle, the attempt is successful;
529.Nm mount
530does not need to contact the server's
531.Xr rpcbind 8
532and the
533.Xr mountd 8
534daemons to get the port number of the
535.Nm mount
536server and the initial file handle of
537.Ar pathname ,
538respectively.
539If the NFS client and server are separated by a firewall that allows all
540outbound connections through specific ports, such as
541.Dv NFS_PORT ,
542then this enables NFS operations through the firewall.
543The public option and the NFS URL can be specified independently or together.
544They interact as specified in the following matrix:
545.Bd -literal
546                   Resource Style
547
548                   host:pathname              NFS URL
549
550public option      Force public file          Force public file
551                   handle and fail            handle and fail
552                   mount if not supported.    mount if not supported.
553
554                   Use Native paths.          Use Canonical paths.
555
556default            Use MOUNT protocol.        Try public file handle
557                                              with Canonical paths.
558                                              Fall back to MOUNT
559                                              protocol if not
560                                              supported.
561.Ed
562.Pp
563A Native path is a path name that is interpreted according to conventions used
564on the native operating system of the NFS server.
565A Canonical path is a path name that is interpreted according to the URL rules.
566See
567.Rs
568.%R Uniform Resource Locators (URL)
569.%T RFC 1738
570.Re
571.Ss Replicated file systems and failover
572.Ar resource
573can list multiple read-only file systems to be used to provide data.
574These file systems should contain equivalent directory structures and identical
575files.
576It is also recommended that they be created by a utility such as
577.Xr rdist 1 .
578The file systems can be specified either with a comma-separated list of
579.Pa host:/pathname
580entries and/or NFS URL entries, or with a comma-separated list of hosts, if all
581file system names are the same.
582If multiple file systems are named and the first server in the list is down,
583failover uses the next alternate server to access files.
584If the read-only option is not chosen, replication is disabled.
585File access, for NFS Versions 2 and 3, is blocked on the original if NFS locks
586are active for that file.
587.Ss File Attributes
588To improve NFS read performance, files and file attributes are cached.
589File modification times get updated whenever a write occurs.
590However, file access times can be temporarily out-of-date until the cache gets
591refreshed.
592.Pp
593The attribute cache retains file attributes on the client.
594Attributes for a file are assigned a time to be flushed.
595If the file is modified before the flush time, then the flush time is extended
596by the time since the last modification
597.Po under the assumption that files that changed recently are likely to change
598soon
599.Pc .
600There is a minimum and maximum flush time extension for regular files and for
601directories.
602Setting
603.Sy actimeo Ns = Ns Ar n
604sets flush time to
605.Ar n
606seconds for both regular files and directories.
607.Pp
608Setting
609.Sy actimeo Ns = Ns Sy 0
610disables attribute caching on the client.
611This means that every reference to attributes is satisfied directly from the
612server though file data is still cached.
613While this guarantees that the client always has the latest file attributes from
614the server, it has an adverse effect on performance through additional latency,
615network load, and server load.
616.Pp
617Setting the
618.Sy noac
619option also disables attribute caching, but has the further effect of disabling
620client write caching.
621While this guarantees that data written by an application is written directly to
622a server, where it can be viewed immediately by other clients, it has a
623significant adverse effect on client write performance.
624Data written into memory-mapped file pages
625.Pq Xr mmap 2
626are not written directly to this server.
627.Ss Specifying Values for Attribute Cache Duration Options
628The attribute cache duration options are
629.Sy acdirmax , acdirmin , acregmax , acregmin ,
630and
631.Sy actimeo ,
632as described under
633.Sx Options.
634A value specified for
635.Sy actimeo
636sets the values of all attribute cache duration options except for any of these
637options specified following
638.Sy actimeo
639on a
640.Nm mount
641command line.
642For example, consider the following command:
643.Bd -literal -offset indent
644example# mount -o acdirmax=10,actimeo=1000 server:/path /localpath
645.Ed
646.Pp
647Because
648.Sy actimeo
649is the last duration option in the command line, its value
650.Pq 1000
651becomes the setting for all of the duration options, including
652.Sy acdirmax .
653Now consider:
654.Bd -literal -offset indent
655example# mount -o actimeo=1000,acdirmax=10 server:/path /localpath
656.Ed
657.Pp
658Because the
659.Sy acdirmax
660option follows
661.Sy actimeo
662on the command line, it is assigned the value specified
663.Pq 10 .
664The remaining duration options are set to the value of
665.Sy actimeo
666.Pq 1000 .
667.Sh FILES
668.Bl -tag -width Ds
669.It Pa /etc/mnttab
670table of mounted file systems
671.It Pa /etc/dfs/fstypes
672default distributed file system type
673.It Pa /etc/vfstab
674table of automatically mounted resources
675.El
676.Sh EXAMPLES
677.Bl -tag -width Ds
678.It Sy Example 1 No Mounting an NFS File System
679To mount an NFS file system:
680.Bd -literal
681example# mount serv:/usr/src /usr/src
682.Ed
683.It Xo
684.Sy Example 2
685Mounting An NFS File System Read-Only With No suid Privileges
686.Xc
687To mount an NFS file system read-only with no suid privileges:
688.Bd -literal
689example# mount -r -o nosuid serv:/usr/src /usr/src
690.Ed
691.It Xo
692.Sy Example 3
693Mounting An NFS File System Over Version 2, with the UDP Transport
694.Xc
695To mount an NFS file system over Version 2, with the UDP transport:
696.Bd -literal
697example# mount -o vers=2,proto=udp serv:/usr/src /usr/src
698.Ed
699.It Xo
700.Sy Example 4
701Mounting an NFS File System Using An NFS URL
702.Xc
703To mount an NFS file system using an NFS URL
704.Pq a canonical path :
705.Bd -literal
706example# mount nfs://serv/usr/man /usr/man
707.Ed
708.It Xo
709.Sy Example 5
710Mounting An NFS File System Forcing Use Of The Public File Handle
711.Xc
712To mount an NFS file system and force the use of the public file handle
713and an NFS URL
714.Pq a canonical path
715that has a non 7-bit ASCII escape sequence:
716.Bd -literal
717example# mount -o public nfs://serv/usr/%A0abc /mnt/test
718.Ed
719.It Xo
720.Sy Example 6
721Mounting an NFS File System Using a Native Path
722.Xc
723To mount an NFS file system using a native path
724.Po where the server uses colons
725.Pq Qq Sy \:
726as the component separator
727.Pc
728and the public file handle:
729.Bd -literal
730example# mount -o public serv:C:doc:new /usr/doc
731.Ed
732.It Xo
733.Sy Example 7
734Mounting a Replicated Set of NFS File Systems with the Same Pathnames
735.Xc
736To mount a replicated set of NFS file systems with the same pathnames:
737.Bd -literal
738example# mount serv-a,serv-b,serv-c:/usr/man /usr/man
739.Ed
740.It Xo
741.Sy Example 8
742Mounting a Replicated Set of NFS File Systems with Different Pathnames
743.Xc
744To mount a replicated set of NFS file systems with different pathnames:
745.Bd -literal
746example# mount serv-x:/usr/man,serv-y:/var/man,nfs://serv-z/man /usr/man
747.Ed
748.El
749.Sh SEE ALSO
750.Xr rdist 1 ,
751.Xr mkdir 2 ,
752.Xr mmap 2 ,
753.Xr mount 2 ,
754.Xr open 2 ,
755.Xr umount 2 ,
756.Xr lofs 4FS ,
757.Xr inet 4P ,
758.Xr inet6 4P ,
759.Xr mnttab 5 ,
760.Xr nfs 5 ,
761.Xr nfssec.conf 5 ,
762.Xr attributes 7 ,
763.Xr fsattr 7 ,
764.Xr nfssec 7 ,
765.Xr standards 7 ,
766.Xr lockd 8 ,
767.Xr mountall 8 ,
768.Xr mountd 8 ,
769.Xr nfsd 8 ,
770.Xr quota 8 ,
771.Xr statd 8
772.Rs
773.%A Callaghan
774.%A Brent
775.%R WebNFS Client Specification
776.%T RFC 2054
777.%D October 1996
778.Re
779.Rs
780.%A Callaghan
781.%A Brent
782.%R NFS URL Scheme
783.%T RFC 2224
784.%D October 1997
785.Re
786.Rs
787.%A Berners-Lee
788.%A Masinter
789.%A McCahill
790.%R Uniform Resource Locators (URL)
791.%T RFC 1738
792.%D December 1994
793.Re
794.Sh NOTES
795An NFS server should not attempt to mount its own file systems.
796See
797.Xr lofs 4FS .
798.Pp
799If the directory on which a file system is to be mounted is a symbolic link,
800the file system is mounted on the directory to which the symbolic link refers,
801rather than being mounted on top of the symbolic link itself.
802.Pp
803SunOS 4.x used the
804.Sy biod
805maintenance procedure to perform parallel read-ahead and write-behind on NFS
806clients.
807SunOS 5.x made
808.Sy biod
809obsolete with multi-threaded processing, which transparently performs parallel
810read-ahead and write-behind.
811.Pp
812Since the root
813.Pq Pa /
814file system is mounted read-only by the kernel during the boot process, only the
815.Sy remount
816option
817.Po and options that can be used in conjunction with
818.Sy remount
819.Pc
820affect the root
821.Pq Pa /
822entry in the
823.Pa /etc/vfstab
824file.
825.Pp
826The NFS client service is managed by the service management facility,
827.Xr smf 7 ,
828under the service identifier:
829.Bd -literal -offset indent
830svc:/network/nfs/client:default
831.Ed
832.Pp
833Administrative actions on this service, such as enabling, disabling, or
834requesting restart, can be performed using
835.Xr svcadm 8 .
836The service's status can be queried using the
837.Xr svcs 1
838command.
839