Hostsvc/datastore/vmfs create
vimsh hostsvc/datastore/vmfs_create
Usage: vmfs_create [OPTIONS] name devId volumeName blockSizeMb majorVersion head
Add a VMFS datastore.
Options: --partition=int Partition number. --startector=int Start sector. --endsector=int End sector. --typeid=fs_type Type of data in the file system. --logical=bool If it is logical partition. --attributes=byte Partition attributes. --partition2=int Partition number. --startector2=int Start sector. --endsector2=int End sector. --typeid2=byte Type of data in the file system. --logical2=bool If it is logical partition. --attributes2=byte Partition attributes. --partition3=int Partition number. --startector3=int Start sector. --endsector3=int End sector. --typeid3=byte Type of data in the file system. --logical3=bool If it is logical partition. --attributes3=byte Partition attributes. --extentIds=partition_list List of partitions to extent the VMFS.