VMware Solutions Discussions

How does one map an OC VM disk name i.e. "Hard Disk 1" to a mounted VM filesystem?

salindley

The OnCommand Console displays names like "Hard Disk 1" and "Hard Disk 2" for the VMDK disks mounted on a given VM. How can I map that to a useful name of a mounted filesystem on a VM, like a drive letter (C:) on a Wintel host or a path (/) on a LInux host? I need to be able to determine this pro grammatically via the NMSDK or other easily accessible SDKs. I am using Perl, and would vastly prefer to stick with it. I could sort of deal with having to open the BLAH.vmdk file and peek inside as long as I could determine the appropriate file for certain, and the peek returned reliable information.

Anyone attempted such a feat?

3 REPLIES 3

adaikkap

I dont know if this info is available via NMSDK, though we may try to get it via vCenter. BTW AFAIK no one has attempted this.

Regards

adai

amirm

Hi Scott,

You may want to check VMware VIX APIs http://www.vmware.com/support/developer/guest-sdk/index.html

Thanks,

-Amir

salindley

Thanks! I'll check it out.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public