Skip to main content

Enable or disable VMware vStorage over ONTAP NFS

Contributors jani netapp-aherbin netapp-barbe netapp-aaron-holt netapp-thomi

You can enable or disable support for VMware vStorage over NFS on storage virtual machines (SVMs) by using the vserver nfs modify command. This setting controls VMware VAAI over NFS operations such as copy offload, and space reservation.

About this task

By default, support for VMware vStorage over NFS is disabled.

Beginning with ONTAP 9.20.1, enabling VMware vStorage over ONTAP NFS also supports automatic space reclamation for thin-provisioned NFSv3 and NFSv4.1 datastores.

Steps
  1. Verify the current VMware vStorage over NFS setting for the SVM:

    vserver nfs show -vserver vserver_name -fields vstorage

  2. Perform one of the following actions:

    If you want to…​ Enter the following command…​

    Enable VMware vStorage support

    vserver nfs modify -vserver vserver_name -vstorage enabled

    Disable VMware vStorage support

    vserver nfs modify -vserver vserver_name -vstorage disabled

  3. Verify that the setting is updated:

    vserver nfs show -vserver vserver_name -fields vstorage

After you finish

You must install the NetApp NFS Plug-in for VMware VAAI before you can use this functionality. Automatic space reclamation requires version 3.0 or later.

For VMware host, plug-in, and interoperability requirements, see the NetApp NFS Plug-in for VMware VAAI documentation and the NetApp Interoperability Matrix Tool.