Use the vmkfstools command to create a virtual disk.

-c --createvirtualdisk size[kK|mM|gG]
      -a --adaptertype [buslogic|lsilogic|ide|lsisas|pvscsi] srcfile
      -d --diskformat [thin|zeroedthick|eagerzeroedthick]

This option creates a virtual disk at the specified path on a datastore. Specify the size of the virtual disk. When you enter the value for size, you can indicate the unit type by adding a suffix of k (kilobytes), m (megabytes), or g (gigabytes). The unit type is not case sensitive. vmkfstools interprets either k or K to mean kilobytes. If you don’t specify a unit type, vmkfstools defaults to bytes.

You can specify the following suboptions with the -c option.

  • -a specifies the controller that a virtual machine uses to communicate with the virtual disks. You can choose between BusLogic, LSI Logic, IDE, LSI Logic SAS, and VMware Paravirtual SCSI.

  • -d specifies disk formats.