Changeset View
Changeset View
Standalone View
Standalone View
sbin/mount_nfs/mount_nfs.8
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)mount_nfs.8 8.3 (Berkeley) 3/29/95 | .\" @(#)mount_nfs.8 8.3 (Berkeley) 3/29/95 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd January 17, 2021 | .Dd June 14, 2021 | ||||
.Dt MOUNT_NFS 8 | .Dt MOUNT_NFS 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm mount_nfs | .Nm mount_nfs | ||||
.Nd mount NFS file systems | .Nd mount NFS file systems | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl 23bcdiLlNPsTU | .Op Fl 23bcdiLlNPsTU | ||||
▲ Show 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | |||||
then version 2). | then version 2). | ||||
Note that NFS version 2 has a file size limit of 2 gigabytes. | Note that NFS version 2 has a file size limit of 2 gigabytes. | ||||
.It Cm nfsv3 | .It Cm nfsv3 | ||||
Use the NFS Version 3 protocol. | Use the NFS Version 3 protocol. | ||||
.It Cm nfsv4 | .It Cm nfsv4 | ||||
Use the NFS Version 4 protocol. | Use the NFS Version 4 protocol. | ||||
This option will force the mount to use | This option will force the mount to use | ||||
TCP transport. | TCP transport. | ||||
By default, the highest minor version of NFS Version 4 that is | |||||
supported by the NFS Version 4 server will be used. | |||||
See the | |||||
.Cm minorversion | |||||
option. | |||||
.It Cm minorversion Ns = Ns Aq Ar value | .It Cm minorversion Ns = Ns Aq Ar value | ||||
Override the default of 0 for the minor version of the NFS Version 4 protocol. | Use the specified minor version for a NFS Version 4 mount, | ||||
The minor versions other than 0 currently supported are 1 and 2. | overriding the default. | ||||
The minor versions supported are 0, 1, and 2. | |||||
This option is only meaningful when used with the | This option is only meaningful when used with the | ||||
.Cm nfsv4 | .Cm nfsv4 | ||||
option. | option. | ||||
.It Cm oneopenown | .It Cm oneopenown | ||||
Make a minor version 1 or 2 of the NFS Version 4 protocol mount use a single | Make a minor version 1 or 2 of the NFS Version 4 protocol mount use a single | ||||
OpenOwner for all Opens. | OpenOwner for all Opens. | ||||
This may be useful for a server with a very low limit on OpenOwners, such as | This may be useful for a server with a very low limit on OpenOwners, such as | ||||
AmazonEFS. | AmazonEFS. | ||||
It may be required when an accumulation of NFS version 4 Opens occurs, | It may be required when an accumulation of NFS version 4 Opens occurs, | ||||
as indicated by the | as indicated by the | ||||
.Dq Opens | .Dq Opens | ||||
count displayed by | count displayed by | ||||
.Xr nfsstat 8 | .Xr nfsstat 8 | ||||
otis: `nfsstat` is `(1)`, not `(8)`. | |||||
rmacklemAuthorUnsubmitted Done Inline ActionsGood catch. Not a part of this change, but might as well fi it now. rmacklem: Good catch. Not a part of this change, but might as well fi it now.
| |||||
with the | with the | ||||
.Fl c | .Fl c | ||||
and | and | ||||
.Fl E | .Fl E | ||||
command-line options. | command-line options. | ||||
A common case for an accumulation of Opens is a shared library within | A common case for an accumulation of Opens is a shared library within | ||||
the NFS mount that is used by several | the NFS mount that is used by several | ||||
processes, where at least one of these processes is always running. | processes, where at least one of these processes is always running. | ||||
This option cannot be used for an NFS Version 4, minor version 0 mount. | This option cannot be used for an NFS Version 4, minor version 0 mount. | ||||
As such, this option requires the | |||||
.Cm minorversion | |||||
option be specified with a value of 1 for AmazonEFS, because AmazonEFS does | |||||
not support minor version 2 at this time. | |||||
It may not work correctly when Delegations are being issued by a server, | It may not work correctly when Delegations are being issued by a server, | ||||
but note that the AmazonEFS server does not issued delegations at this time. | but note that the AmazonEFS server does not issued delegations at this time. | ||||
This option is only meaningful when used with the | This option is only meaningful when used with the | ||||
.Cm nfsv4 | .Cm nfsv4 | ||||
and | option. | ||||
.Cm minorversion | |||||
options. | |||||
.It Cm pnfs | .It Cm pnfs | ||||
Enable support for parallel NFS (pNFS) for minor version 1 or 2 of the | Enable support for parallel NFS (pNFS) for minor version 1 or 2 of the | ||||
NFS Version 4 protocol. | NFS Version 4 protocol. | ||||
This option is only meaningful when used with the | This option is only meaningful when used with the | ||||
.Cm minorversion | .Cm nfsv4 | ||||
option. | option. | ||||
.It Cm noac | .It Cm noac | ||||
Disable attribute caching. | Disable attribute caching. | ||||
.It Cm noconn | .It Cm noconn | ||||
For UDP mount points, do not do a | For UDP mount points, do not do a | ||||
.Xr connect 2 . | .Xr connect 2 . | ||||
This must be used if the server does not reply to requests from the standard | This must be used if the server does not reply to requests from the standard | ||||
NFS port number 2049 or replies to requests using a different IP address | NFS port number 2049 or replies to requests using a different IP address | ||||
▲ Show 20 Lines • Show All 356 Lines • Show Last 20 Lines |
nfsstat is (1), not (8).