This article provides steps to create a new VMFS volume on a disk which has free, unallocated space.
Note: VMFS Datastores are normally created using the vSphere Client, and it is not necessary to format the disk from the command line. For more information, see the Create VMFS Datastores section.
This method is specific to the local console in ESX/ESXi. For other manual methods, see Managing vSphere Storage using the Command Line Interface (CLI) (1029301).
VMware ESXi 4.0.x Installable
VMware ESXi 4.1.x Installable
VMware ESX 4.1.x
VMware ESXi 3.5.x Embedded
VMware ESX Server 3.5.x
VMware ESX Server 1.x
VMware ESXi 4.0.x Embedded
VMware ESX Server 2.0.x
VMware ESXi 4.1.x Embedded
VMware ESX Server 3.0.x
VMware vSphere ESXi 5.0
VMware ESX 4.0.x
VMware ESXi 3.5.x Installable
VMware ESX Server 1.5.x
VMware vSphere ESXi 6.0
VMware vSphere ESXi 7.0
To create a new VMFS volume from the ESX/ESXi host command line: