An NFS client built into ESXi uses the Network File System (NFS) protocol over TCP/IP to access a designated NFS volume that is located on a NAS server. NFS Storage with VMware Cloud Foundation can mount a single NFS volume to each ESXi host where it can be used to store virtual disks or as a central repository for ISO images and virtual machine templates.

NFS is generally used as a supplemental storage option but can be used as principal storage with VI workload domains. NFS can also be used a principal storage in a management domain converted from vSphere infrastructure.

VMware Cloud Foundation only supports NFS protocol version 3 when used as principal storage. Supplemental storage can use either vSphere supported NFS protocol version 3 or 4.1. Although NFS 3 and NFS 4.1 can coexist on the same host, you cannot use different NFS versions to mount the same datastore on different hosts.

Only a single NFS volume is mounted during the creation of a new workload domain or cluster, additional NFS volumes can be mounted as supplemental storage after the VI workload domain or cluster has been created.

Storage Type

Consolidated Workload Domain

Management Domain

VI Workload Domain

Principal

No

Only for a management domain converted from vSphere infrastructure

Yes

Supplemental

Yes

Yes

Yes

An additional VMkernel port is created during the VI workload domain or cluster creation for NFS. If the NFS server is on the same subnet as the NFS VMkernel port this will be used for NFS traffic. If the NFS server is on a different subnet the NFS traffic is routed over the ESXi management VMkernel port.

Prerequisites for NFS Storage

  • A minimum of three ESXi hosts marked with the NFS storage must be in the SDDC Manager inventory. See Commission Hosts.
    Note: If you are using NFS as principal storage, and your VI workload domain is using vSphere Lifecycle Manager images as the update method, then only two hosts are required. Workload Management requires a vSphere cluster with a minimum of three ESXi hosts.
  • An NFS Server that meets the NFS Storage Guidelines and Requirements found in the vSphere Storage Guide.
  • A Network Pool that includes details for the vMotion and NFS networks that will be used for the cluster. See Network Pool Management.
  • The FQDN and the mount point folder name of the NFS server.
  • For L3-routed NFS the ESXi Management network must be able to reach the NFS server network and have access to the NFS server.

Procedures for NFS Storage