GreggH61
Contributor
Contributor

How do I create a partition on a newly created VMDK.

Using VIX APIs I have created and opened a new VMDK. VixMntapi_OpenDiskSet succeeds, but VixMntapi_GetVolumeHandles says I have 0 volumes. How do I go about creating and formatting a partition on this disk?

Thanks,

Gregg

0 Kudos
3 Replies
rahqa
VMware Employee
VMware Employee

This needs to be done at the OS level (Ex : Windows disk partitioning).

Ashwin89
Contributor
Contributor

As far I know you will not able to create the partitions using VDDK. You need to go inside the OS to create the partitions.

-AsHwIN

GreggH61
Contributor
Contributor

How do I get the OS to recognize a VMDK as a disk? I can't mount it until it's partitioned.

Thanks,

Gregg

0 Kudos