You can use the New Datastore wizard to mount an NFS volume.

Prerequisites

  • Set up NFS storage environment.
  • If you plan to use Kerberos authentication with the NFS 4.1 datastore, make sure to configure the ESXi hosts for Kerberos authentication.

Procedure

  1. In the vSphere Web Client navigator, select Global Inventory Lists > Datastores.
  2. Click the New Datastore icon.
  3. Enter the datastore name and if necessary, select the placement location for the datastore.
    The vSphere Web Client enforces a 42 character limit for the datastore name.
  4. Select NFS as the datastore type.
  5. Specify an NFS version.
    • NFS 3
    • NFS 4.1
    Important: If multiple hosts access the same datastore, you must use the same protocol on all hosts.
  6. Type the server name or IP address and the mount point folder name.

    You can use IPv6 or IPv4 formats.

    With NFS 4.1, you can add multiple IP addresses or server names if the NFS server supports trunking. The ESXi host uses these values to achieve multipathing to the NFS server mount point.
  7. Select Mount NFS read only if the volume is exported as read-only by the NFS server.
  8. To use Kerberos security with NFS 4.1, enable Kerberos and select an appropriate Kerberos model.
    Option Description
    Use Kerberos for authentication only (krb5) Supports identity verification
    Use Kerberos for authentication and data integrity (krb5i) In addition to identity verification, provides data integrity services. These services help to protect the NFS traffic from tampering by checking data packets for any potential modifications.
    If you do not enable Kerberos, the datastore uses the default AUTH_SYS security.
  9. If you are creating a datastore at the data center or cluster level, select hosts that mount the datastore.
  10. Review the configuration options and click Finish.