Name
mount_nfs
Synopsis
mount_nfs [nfs_mount_options] [-omount_options]nfs_ server:pathname mount_point
Mounts Network File System (NFS) exports as filesystem volumes.
mount_nfs can take a large number of options, most
of which offer knobs to tune the performance of NFS mounts. Only a
few are described in the following list; see the manpage for full
details.
Options
-
-b After an initial mount attempt fails, forks off a background process to continue trying the mount.
-
-i Makes the mount interruptible, so that processes failing to access the mount can be terminated, instead of getting stuck in an uninterruptible state waiting on I/O.
-
-K Enables Kerberos authentication.
-
-m Specifies a Kerberos realm to use with the
-Koption. Takes a realm name as an argument.-
-o Takes
-ooptions as listed in themountmanpage.-
-s Makes the mount soft, so that processes failing to access the mount will eventually receive an error, instead of getting interminably stuck waiting on I/O.
-
-T Enables the use of TCP as the underlying network transport protocol, instead of the default UDP.
-
nfs_server The hostname or IP address of an NFS server.
-
pathname The pathname of the NFS export you wish to access.
-
mount_point The directory on which the filesystem will be mounted.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access