6.5

Table Of Contents
Typically, the NFS volume or directory is created by a storage administrator and is exported from the NFS
server. The NFS volume does not need to be formaed with a local le system, such as VMFS. You can
mount the volume directly on ESXi hosts, and use it to store and boot virtual machines in the same way that
you use VMFS datastores.
In addition to storing virtual disks on NFS datastores, you can also use NFS as a central repository for ISO
images, virtual machine templates, and so on. If you use the datastore for ISO images, you can connect the
virtual machine's CD-ROM device to an ISO le on the datastore and install a guest operating system from
the ISO le.
ESXi hosts support the following shared storage capabilities on NFS volumes.
n
VMware vMotion and Storage vMotion
n
High Availability (HA), Fault Tolerance, and Distributed Resource Scheduler (DRS)
n
ISO images, which are presented as CD-ROMs to virtual machines
n
Virtual machine snapshots
n
Host proles
n
Virtual machines with large capacity virtual disks, or disks greater than 2 TB. Virtual disks created on
NFS datastores are thin-provisioned by default, unless you use hardware acceleration that supports the
Reserve Space operation. See Hardware Acceleration on NAS Devices in the vSphere Storage
documentation.
In addition to storing virtual disks on NFS datastores, you can also use NFS as a central repository for ISO
images, virtual machine templates, and so on.
To use NFS as a shared repository, you create a directory on the NFS server and then mount the directory as
a datastore on all hosts. If you use the datastore for ISO images, you can connect the virtual machine's CD-
ROM device to an ISO le on the datastore and install a guest operating system from the ISO le.
Adding and Deleting NAS File Systems
You can list, add, and delete a NAS le system with ESXCLI or with vicfg-nas.
Manage a NAS File System with ESXCLI
You can use ESXCLI as a vCLI command with connection options or in the ESXi Shell.
For more information on connection options, see “Connection Options for vCLI Host Management
Commands,” on page 19.
Procedure
1 List all known NAS le systems.
esxcli <conn_options> storage nfs list
For each NAS le system, the command lists the mount name, share name, and host name and whether
the le system is mounted. If no NAS le systems are available, the system does not return a NAS
lesystem and returns to the command prompt.
vSphere Command-Line Interface Concepts and Examples
58 VMware, Inc.