VMware Cloud Community
GaneshNetworks

Wanna find out VM name which is mapped to a RDM

How to find out VM name which is mapped to a particular RDM ?

I am using ESX 3.5 and VC 2.5. I have configured lot ot RDMs to so many VMs. My requirement is " I would like to add a RDM (vmhba0:1:0:12) which is already mapped with one VM, to another one. That means, I am trying to install microsoft cluster. It requires coomon disk (RDM)."

With the mentioned CTL information, how to find out which VM is already mapped with that RDM. There are above 100+ VMs under the cluster. Its not possible to go and check all.

Any simplest way, would appreciated.

Thanks,

Ganesh

~GaneshNetworks™~ If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
Reply
0 Kudos
3 Replies
a_p_
Leadership
Leadership

Did you already take a look at RVTools ?

André

Reply
0 Kudos
GaneshNetworks

Thanks Andre.

Any other way, without third party tool? Coz, I am not to suppose to install any 3rd party tool.

~GaneshNetworks™~ If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
Reply
0 Kudos
a_p_
Leadership
Leadership

You can run the following command from the command line:

find /vmfs/volumes/ -iname "*.vmx" -exec grep -Hie "<name>.vmdk" {} \;

Replace "<name>" with the real name of the vmdk file.

André

Reply
0 Kudos