Skip to content

Commit 94a23f1

Browse files
committed
nfsv4.2 statement
1 parent 594cb94 commit 94a23f1

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

articles/azure-netapp-files/azure-netapp-files-mount-unmount-volumes-for-virtual-machines.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ You can mount an NFS file for Windows or Linux virtual machines (VMs).
3232
For example, if the NFS version is NFSv4.1:
3333
`sudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=4.1,tcp,sec=sys $MOUNTTARGETIPADDRESS:/$VOLUMENAME $MOUNTPOINT`
3434
* If you use NFSv4.1 and your configuration requires using VMs with the same host names (for example, in a DR test), refer to [Configure two VMs with the same hostname to access NFSv4.1 volumes](configure-nfs-clients.md#configure-two-vms-with-the-same-hostname-to-access-nfsv41-volumes).
35+
* In Azure NetApp Files, NFSv4.2 is enabled when NFSv4.1 is used, however is NFSv4.2 officially unsupported. If you don’t specify NFSv4.1 in the client’s mount options (i.e., `vers=4.1`), the client may negotiate to the highest allowed NFS version, meaning the mount is out of support compliance.
3536
4. If you want the volume mounted automatically when an Azure VM is started or rebooted, add an entry to the `/etc/fstab` file on the host.
3637
For example: `$ANFIP:/$FILEPATH /$MOUNTPOINT nfs bg,rw,hard,noatime,nolock,rsize=65536,wsize=65536,vers=3,tcp,_netdev 0 0`
3738
* `$ANFIP` is the IP address of the Azure NetApp Files volume found in the volume properties menu

articles/azure-netapp-files/faq-nfs.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ See [Mount a volume for Windows or Linux virtual machines](azure-netapp-files-mo
2222

2323
Azure NetApp Files supports NFSv3 and NFSv4.1. You can [create a volume](azure-netapp-files-create-volumes.md) using either NFS version.
2424

25+
## Does Azure NetApp Files officially support NFSv4.2?
26+
27+
Currently, Azure NetApp Files does not officially support NFSv4.2 nor its ancillary features (including sparse file ops, extended attributes, and security labels). However, the functionality is turned on for the NFS server when NFSv4.1 is used, which means NFS clients are able to mount using the NFSv4.2 protocol in one of two ways:
28+
29+
* Explicitly specifying `vers=4.2`, `nfsvers=4.2`, or `nfsvers=4,minorversion=2` in the mount options.
30+
* Not specifying an NFS version in the mount options and allowing the NFS client to negotiate to the highest supported NFS version allowed.
31+
32+
In most cases, if a client mounts using NFSv4.2, no issues can be seen. However, some clients can experience problems if they don’t fully support NFSv4.2 or the NFSv4.2 extended attributes functionality. Further, since NFSv4.2 is currently unsupported with Azure NetApp Files, any issues with NFSv4.2 are out of scope.
33+
34+
To avoid any issues with clients mounting NFSv4.2 and to comply with supportability, ensure the NFSv4.1 version is specified in mount options or the client’s NFS client configuration is set to cap the NFS version at NFSv4.1.
35+
2536
## How do I enable root squashing?
2637

2738
You can specify whether the root account can access the volume or not by using the volume’s export policy. See [Configure export policy for an NFS volume](azure-netapp-files-configure-export-policy.md) for details.

0 commit comments

Comments
 (0)