Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to view NFS mount options

📅 2016-Mar-07 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

If your NFS directory is automatically mounted at boot, then find its mount options in /etc/fstab. There might be options such as defaults which are expanded to actual options at mount. These can be found in its actual mounted entry in /etc/mtab. For example, using defaults on my machine expands to rw,vers=4,addr=nfs_server_ip,clientaddr=nfs_client_addr

If it is mounted manually at the shell, then find its mount options in /etc/mtab.