NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

VMware Solutions Discussions

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

salindley
4,270 Views

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
4,270 Views

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
4,270 Views

Hi Scott,

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

Thanks,

-Amir

salindley
4,270 Views

Thanks! I'll check it out.

Public