Skip to main content
NetApp Knowledge Base

How does an NFS client determine which NFS version to use when mounting?

Views:
502
Visibility:
Public
Votes:
0
Category:
fas-systems
Specialty:
nas
Last Updated:

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
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.