VMware {code} Community
gangan2000
Contributor
Contributor

How to retrieve partition layout information (drive layout) of virtual disk VMDK.

Is there any VDDK or vSphere API method to retrieve partition information (partition table layout) of specified VMDK? something like IOCTL_DISK_GET_DRIVE_LAYOUT for physical drives. I would like to know the following information.

1. Partition number

2. Starting offset

3. partition length

4. partition type.

0 Kudos
2 Replies
admin
Immortal
Immortal

Unfortunately, there is nothing like that in VDDK.

You can of course read the partition table (i.e. MBR) and parse the table yourself.

Thanks

Sudarsan

gangan2000
Contributor
Contributor

Thanks Sudharsan.

0 Kudos