- tcp - Specifies for the NFS mount to use the TCP protocol instead of UDP.
- rsize=8192 and wsize=8192 - These settings speed up NFS communication for reads (rsize) and writes (wsize) by setting a larger data block size, in bytes, to be transferred at one time. Do performance tests before changing these values.
- hard or soft - Specifies whether the program using a file via an NFS connection should stop and wait (hard) for the server to come back online if the host serving the exported file system is unavailable, or if it should report an error (soft). If hard is specified, the user cannot terminate the process waiting for the NFS communication to resume unless the intrsoft, is specified, the user can set an additional timeo=<value> option, where <value> specifies the number of seconds to pass before the error is reported. option is also specified.
- nolock - Disables file locking. This setting is occasionally required when connecting to older NFS servers.
- noexec - Prevents execution of binaries on mounted file systems. This is useful if the system is mounting a non-Linux file system via NFS containing incompatible binaries.
- intr - Allows NFS requests to be interrupted if the server goes down or cannot be reached.
- nfsvers=2 or nfsvers=3 - Specifies which version of the NFS protocol to use.
- nosuid - Disables set-user-identifier or set-group-identifier bits. This prevents remote users from gaining higher privileges by running a setuid program.
Some important nfs mount options in Linux.