How does an NFS client determine which NFS version to use when mounting?
Applies to
Network File System(NFS)
Answer
- When an NFS client mounts an NFS file system, it sends a request to the NFS server indicating which version(s) of the NFS protocol it supports
- The server responds with the highest version number that both the client and server support
- Related options that determine the NFS version during mount:
NFS client:
Mount option
-o vers=
Configuration file
/etc/nfsmount.conf
Storage system:
::> vserver nfs show
NFS v3: enabled/disabled
NFS v4.0: enabled/disabled