VMware {code} Community
TomKol
Contributor
Contributor
Jump to solution

How to map guest disks to logical disks?

I cannot find any association that can tell me which guests disks (c:, d:, e:) corresponds to logical disk 1, 2, etc.

For example I have configuration:

Logical disk 1 has partitions c:, d:

Logical disk 2 has partition e:

Logical disk 3 has partition f:, g:

Is there such information?

Thanks,

Tomas

0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

Hi Tomas,

Mapping of guest disks to logical disks is not possible through vSphere APIs, since vSphere APIs works only for the VM and not on the guest OS inside VM. You might would like to refer to VDDK APIs, through which you can get the volume's info for each hard disk. You can also refer to VIX APIs, which are there specifically for the operations needed inside guest OS of a VM.

Hope this info helps!

Thanks,

Angela

View solution in original post

0 Kudos
2 Replies
admin
Immortal
Immortal
Jump to solution

Hi Tomas,

Mapping of guest disks to logical disks is not possible through vSphere APIs, since vSphere APIs works only for the VM and not on the guest OS inside VM. You might would like to refer to VDDK APIs, through which you can get the volume's info for each hard disk. You can also refer to VIX APIs, which are there specifically for the operations needed inside guest OS of a VM.

Hope this info helps!

Thanks,

Angela

0 Kudos
TomKol
Contributor
Contributor
Jump to solution

Thank you Angela I did not know these APIs.

Tomas

0 Kudos