How does an NFS client determine which NFS version to use when mounting?
- Views:
- 2,083
- Visibility:
- Public
- Votes:
- 0
- Category:
- fas-systems
- Specialty:
- nas
- Last Updated:
- 4/30/2023, 3:16:41 AM
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