Deleted Added
full compact
mount_nfs.8 (9230) mount_nfs.8 (9336)
1.\" Copyright (c) 1992, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 25 unchanged lines hidden (view full) ---

34.Dd March 27, 1994
35.Dt MOUNT_NFS 8
36.Os BSD 4.4
37.Sh NAME
38.Nm mount_nfs
39.Nd mount nfs file systems
40.Sh SYNOPSIS
41.Nm mount_nfs
1.\" Copyright (c) 1992, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 25 unchanged lines hidden (view full) ---

34.Dd March 27, 1994
35.Dt MOUNT_NFS 8
36.Os BSD 4.4
37.Sh NAME
38.Nm mount_nfs
39.Nd mount nfs file systems
40.Sh SYNOPSIS
41.Nm mount_nfs
42.Op Fl KMPTbcdiklqs
42.Op Fl 3KPTUbcdilqs
43.Op Fl D Ar deadthresh
43.Op Fl D Ar deadthresh
44.Op Fl I Ar readdirsize
44.Op Fl L Ar leaseterm
45.Op Fl R Ar retrycnt
46.Op Fl a Ar maxreadahead
47.Op Fl g Ar maxgroups
48.Op Fl m Ar realm
49.Op Fl o Ar options
50.Op Fl r Ar readsize
51.Op Fl t Ar timeout

--- 6 unchanged lines hidden (view full) ---

58command
59calls the
60.Xr mount 2
61system call to prepare and graft a remote nfs file system (rhost:path)
62on to the file system tree at the point
63.Ar node.
64This command is normally executed by
65.Xr mount 8 .
45.Op Fl L Ar leaseterm
46.Op Fl R Ar retrycnt
47.Op Fl a Ar maxreadahead
48.Op Fl g Ar maxgroups
49.Op Fl m Ar realm
50.Op Fl o Ar options
51.Op Fl r Ar readsize
52.Op Fl t Ar timeout

--- 6 unchanged lines hidden (view full) ---

59command
60calls the
61.Xr mount 2
62system call to prepare and graft a remote nfs file system (rhost:path)
63on to the file system tree at the point
64.Ar node.
65This command is normally executed by
66.Xr mount 8 .
66It implements the mount protocol as described in RFC 1094, Appendix A.
67It implements the mount protocol as described in RFC 1094, Appendix A and
68.%T "NFS: Network File System Version 3 Protocol Specification" ,
69Appendix I.
67.Pp
68The options are:
69.Bl -tag -width indent
70.Pp
71The options are:
72.Bl -tag -width indent
73.It Fl 3
74Use the NFS Version 3 protocol (Version 2 is the default).
70.It Fl D
71Used with NQNFS to set the
72.Dq "dead server threshold"
73to the specified number of round trip timeout intervals.
74After a
75.Dq "dead server threshold"
76of retransmit timeouts,
77cached data for the unresponsive server is assumed to still be valid.
78Values may be set in the range of 1 - 9, with 9 referring to an
79.Dq "infinite dead threshold"
80(i.e. never assume cached data still valid).
81This option is not generally recommended and is really an experimental
82feature.
75.It Fl D
76Used with NQNFS to set the
77.Dq "dead server threshold"
78to the specified number of round trip timeout intervals.
79After a
80.Dq "dead server threshold"
81of retransmit timeouts,
82cached data for the unresponsive server is assumed to still be valid.
83Values may be set in the range of 1 - 9, with 9 referring to an
84.Dq "infinite dead threshold"
85(i.e. never assume cached data still valid).
86This option is not generally recommended and is really an experimental
87feature.
88.It Fl I
89Set the readdir read size to the specified value. The value should normally
90be a multiple of DIRBLKSIZ that is <= the read size for the mount.
83.It Fl K
84Pass Kerberos authenticators to the server for client-to-server
85user-credential mapping.
91.It Fl K
92Pass Kerberos authenticators to the server for client-to-server
93user-credential mapping.
86This may only be used over TCP mounts between 4.4BSD clients and servers.
94This requires that the kernel be built with the NFSKERB option.
95(Refer to the INTERNET-DRAFT titled
96.%T "Authentication Mechanisms for ONC RPC" ,
97for more information.)
87.It Fl L
88Used with NQNFS to set the lease term to the specified number of seconds.
89Only use this argument for mounts with a large round trip delay.
90Values are normally in the 10-30 second range.
98.It Fl L
99Used with NQNFS to set the lease term to the specified number of seconds.
100Only use this argument for mounts with a large round trip delay.
101Values are normally in the 10-30 second range.
91.It Fl M
92Assume that other clients are not writing a file concurrently with this client.
93This implements a slightly less strict consistency criteria than 4.3BSD-Reno
94did, that is more in line with most commercial client implementations.
95This is recommended for servers that do not support leasing.
96.It Fl P
97Use a reserved socket port number.
98This is useful for mounting servers that require clients to use a
102.It Fl P
103Use a reserved socket port number.
104This is useful for mounting servers that require clients to use a
99reserved port number.
105reserved port number on the mistaken belief that this makes NFS
106more secure. (For the rare case where the client has a trusted root account
107but untrusworthy users and the network cables are in secure areas this does
108help, but for normal desktop clients this does not apply.)
100.It Fl R
101Set the retry count for doing the mount to the specified value.
102.It Fl T
103Use TCP transport instead of UDP.
104This is recommended for servers that are not on the same LAN cable as
105the client.
106(NB: This is NOT supported by most non-BSD servers.)
109.It Fl R
110Set the retry count for doing the mount to the specified value.
111.It Fl T
112Use TCP transport instead of UDP.
113This is recommended for servers that are not on the same LAN cable as
114the client.
115(NB: This is NOT supported by most non-BSD servers.)
116.It Fl U
117Force the mount protocol to use UDP transport, even for TCP NFS mounts.
118(Necessary for some old BSD servers.)
107.It Fl a
108Set the read-ahead count to the specified value.
109This may be in the range of 0 - 4, and determines how many blocks
110will be read ahead when a large file is being read sequentially.
119.It Fl a
120Set the read-ahead count to the specified value.
121This may be in the range of 0 - 4, and determines how many blocks
122will be read ahead when a large file is being read sequentially.
111This is recommended for mounts with a large bandwidth * delay product.
123Trying a value greater than 1 for this is suggested for
124mounts with a large bandwidth * delay product.
112.It Fl b
113If an initial attempt to contact the server fails, fork off a child to keep
114trying the mount in the background.
115Useful for
116.Xr fstab 5 ,
117where the filesystem mount is not critical to multiuser operation.
118.It Fl c
119For UDP mount points, do not do a
120.Xr connect 2 .
121This must be used for servers that do not reply to requests from the
125.It Fl b
126If an initial attempt to contact the server fails, fork off a child to keep
127trying the mount in the background.
128Useful for
129.Xr fstab 5 ,
130where the filesystem mount is not critical to multiuser operation.
131.It Fl c
132For UDP mount points, do not do a
133.Xr connect 2 .
134This must be used for servers that do not reply to requests from the
122standard port number.
135standard NFS port number 2049.
123.It Fl d
136.It Fl d
124Do not estimate retransmit timeout dynamically.
125This may be useful for UDP mounts that exhibit high retry rates.
137Turn off the dynamic retransmit timeout estimator.
138This may be useful for UDP mounts that exhibit high retry rates,
139since it is possible that the dynamically estimated timeout interval is too
140short.
126.It Fl g
127Set the maximum size of the group list for the credentials to the
128specified value.
129This should be used for mounts on old servers that cannot handle a
130group list size of 16, as specified in RFC 1057.
131Try 8, if users in a lot of groups cannot get response from the mount
132point.
133.It Fl i
134Make the mount interruptible, which implies that file system calls that
135are delayed due to an unresponsive server will fail with EINTR when a
136termination signal is posted for the process.
141.It Fl g
142Set the maximum size of the group list for the credentials to the
143specified value.
144This should be used for mounts on old servers that cannot handle a
145group list size of 16, as specified in RFC 1057.
146Try 8, if users in a lot of groups cannot get response from the mount
147point.
148.It Fl i
149Make the mount interruptible, which implies that file system calls that
150are delayed due to an unresponsive server will fail with EINTR when a
151termination signal is posted for the process.
137.It Fl k
138Used with NQNFS to specify
139.Dq get a lease
140for the file name being looked up.
141This is recommended unless the server is complaining about excessive
142lease load.
143.It Fl l
152.It Fl l
144Used with NQNFS to specify that the \fBReaddir_and_Lookup\fR RPC should
153Used with NQNFS and NFSV3 to specify that the \fBReaddirPlus\fR RPC should
145be used.
146This option reduces RPC traffic for cases such as
147.Dq "ls -l" ,
154be used.
155This option reduces RPC traffic for cases such as
156.Dq "ls -l" ,
148but increases the lease load on the server.
149This is recommended unless the server is complaining about excessive
150lease load.
157but tends to flood the attribute and name caches with prefetched entries.
158Try this option and see whether performance improves or degrades. Probably
159most useful for client to server network interconnects with a large bandwidth
160times delay product.
151.It Fl m
152Set the Kerberos realm to the string argument.
153Used with the
154.Fl K
155option for mounts to other realms.
156.It Fl o
157Options are specified with a
158.Fl o
159flag followed by a comma separated string of options.
160See the
161.Xr mount 8
162man page for possible options and their meanings.
163The following NFS specific option is also available:
164.Bl -tag -width indent
165.It port=<port_number>
166Use specified port number for NFS requests.
167The default is to query the portmapper for the NFS port.
168.El
169.It Fl q
161.It Fl m
162Set the Kerberos realm to the string argument.
163Used with the
164.Fl K
165option for mounts to other realms.
166.It Fl o
167Options are specified with a
168.Fl o
169flag followed by a comma separated string of options.
170See the
171.Xr mount 8
172man page for possible options and their meanings.
173The following NFS specific option is also available:
174.Bl -tag -width indent
175.It port=<port_number>
176Use specified port number for NFS requests.
177The default is to query the portmapper for the NFS port.
178.El
179.It Fl q
170Use the leasing extensions to the protocol to maintain cache consistency.
171This protocol, referred to as Not Quite Nfs (NQNFS),
172is only supported by 4.4BSD servers.
180Use the leasing extensions to the NFS Version 3 protocol to maintain cache consistency.
181This protocol Version 2, referred to as Not Quite Nfs (NQNFS),
182is only supported by this updated release of NFS code.
183(It is not backwards compatible with the release of NQNFS that went out on
1844.4BSD-Lite. To interoperate with a 4.4BSD-Lite NFS system you will have to
185avoid this option until you have had an oppurtunity to upgrade the NFS code
186on all your 4.4BSD-Lite based systems.)
173.It Fl r
174Set the read data size to the specified value.
187.It Fl r
188Set the read data size to the specified value.
175It should be a power of 2 greater than or equal to 1024.
189It should normally be a power of 2 greater than or equal to 1024.
176This should be used for UDP mounts when the
177.Dq "fragments dropped due to timeout"
178value is getting large while actively using a mount point.
179(Use
180.Xr netstat 1
181with the
182.Fl s
183option to see what the

--- 8 unchanged lines hidden (view full) ---

192.It Fl t
193Set the initial retransmit timeout to the specified value.
194May be useful for fine tuning UDP mounts over internetworks
195with high packet loss rates or an overloaded server.
196Try increasing the interval if
197.Xr nfsstat 1
198shows high retransmit rates while the file system is active or reducing the
199value if there is a low retransmit rate but long response delay observed.
190This should be used for UDP mounts when the
191.Dq "fragments dropped due to timeout"
192value is getting large while actively using a mount point.
193(Use
194.Xr netstat 1
195with the
196.Fl s
197option to see what the

--- 8 unchanged lines hidden (view full) ---

206.It Fl t
207Set the initial retransmit timeout to the specified value.
208May be useful for fine tuning UDP mounts over internetworks
209with high packet loss rates or an overloaded server.
210Try increasing the interval if
211.Xr nfsstat 1
212shows high retransmit rates while the file system is active or reducing the
213value if there is a low retransmit rate but long response delay observed.
214(Normally, the -d option should be specified when using this option to manually
215tune the timeout
216interval.)
200.It Fl w
201Set the write data size to the specified value.
202Ditto the comments w.r.t. the
203.Fl r
204option, but using the
205.Dq "fragments dropped due to timeout"
206value on the server instead of the client.
207Note that both the

--- 21 unchanged lines hidden ---
217.It Fl w
218Set the write data size to the specified value.
219Ditto the comments w.r.t. the
220.Fl r
221option, but using the
222.Dq "fragments dropped due to timeout"
223value on the server instead of the client.
224Note that both the

--- 21 unchanged lines hidden ---