IN THIS ARTICLE
- Outlines the recommended NFS mount options for both Mac and Linux
NOTES / DESCRIPTION OF OPTIONS:
- The combination of the mount options “intr” (Interrupt) and “hard” (Hard Mount) provide the best balance of data integrity and client stability in the event of a client disconnection from the server.
- The “tcp” option ensures that TCP is used during the mount phase and data transfer, greatly speeding up mount times in some environments. (Qumulo does not support UDP)
- With modern Linux distributions there is no need to specify most NFS mount options as the client will auto-negotiate the mount string with the server, including setting up a 1MB send/receive block size.
- The Local Locks options listed below are provided for compatibility client software that requires some form of positive file locking.
- READDIRPLUS (Specified via the rdirplus mount option) allows more aggressive polling of metadata from directories and can greatly improve the performance of directory listing and "ls" operations on Macs. (This is a default option on modern Linux distros)
How to verify your current NFS mount options:
- The following command will list your current NFS mount options being used for all NFS mounts: (Run command on client)
Recommended Mount Options Per OS Type:
- Mac Client
mount -t nfs -o rsize=65536,wsize=65536,intr,hard,tcp,rdirplus,readahead=128 your.qumulo.ip:/share /path/to/mountpoint
- Mac Client (Local Locking Enforced)
mount -t nfs -o rsize=65536,wsize=65536,intr,hard,tcp,locallocks,rdirplus,readahead=128 your.qumulo.ip:/share /path/to/mountpoint
- Linux Client
mount -t nfs -o intr,hard,tcp your.qumulo.ip:/share /path/to/mountpoint
- Linux Client: (Local Locks Enforced)
mount -t nfs -o intr,hard,tcp,local_lock=all your.qumulo.ip:/share /path/to/mountpoint
You should now know the recommended mount options when mounting a Qumulo cluster from a Mac or Linux client over NFS.
Like what you see? Share this article with your network!