Set Up Disk
Partitions
The Web Services API enables you to manage
disk partitions on ESXi host storage devices.
To set up the disk partitions, use the following
steps.
- CallHostStorageSystem.RetrieveDiskPartitionInfoto retrieve information about existing partitions.
- CallHostStorageSystem.ComputeDiskPartition, passing in the desired disk layout. The server computes a new partition information object for a specific disk representing the desired layout and returns aHostDiskPartitionInfoobject that you can use in theHostDiskPartitionSpecyou pass intoUpdateDiskPartitions.
- CallHostStorageSystem.UpdateDiskPartitionsto update partitions by passing in aHostDiskPartitionSpec.