Data Center Virtualization Certification:VCP6.5-DCV Exam Guide
上QQ阅读APP看书,第一时间看更新

Mounting an NFS share for use with vSphere

After you have configured the networking on the ESXi host, you can add a new NFS datastore using the vSphere Web Client. On the Storage inventory, in the Getting Started tab, just click on Add a Datastore. On the Host and Clusters inventory, select a host and choose the Storage | New Datastore... menu in the contextual menu:

Figure 3.4: Adding a new datastore

Then, choose an NFS datastore type:

Figure 3.5: Adding a new NFS datastore

Select the proper NFS version:

Figure 3.6: Adding a new NFS datastore—Select NFS version

If multiple hosts access the same datastore, you must use the same protocol on all hosts.

Then, enter the Datastore name, the server name or IP address (IPv6 or IPv4), and the mount point folder name:

Figure 3.7: Adding a new NFS datastore—Select NFS version
The vSphere Web Client enforces a 42-character limit for the datastore name.

NFS 3 uses one single TCP connection between the client and server. For this reason, ESXi does not support multiple paths and the only solution is to work with more IPs at the storage side and use link aggregation. NFS 4.1 provides multipathing for servers that support session trunking. In this case, 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.

For datastores that contain read-only data (for example, ISO), you can select the Mount NFS read-only option.

NFS 4.1 authentication options will be discussed in Objective 3.4.

Virtual disks created on NFS datastores are thin-provisioned by default. To also have thick-provisioned VMDK, you must have VAAI-compatible storage that supports the Reserve Space operation. VAAI will be discussed later.

For more information, see the vSphere 6.5 Storage guide (https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.storage.doc/GUID-B52657D0-248D-4A99-99CC-D35B350461D5.html).