To locate RDM on VM/Hots

how to locate if RDM is there on perticuler vm or host?

or any way to chek for all ther rdms under all host/vms managed by vc?

How to fetch all the LUN Detail for diff hosts..there in vc..with current space status.

how to check for id..used to create snapshot..since a long time bfeore
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
you could try, this will show all LUNs attached to Host Server.

esxcfg-mpath -m

esxcfg-mpath -l
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
You will have to complete RDM and LUNs by LUN Id.

If you have not already documented this, depending upon your SAN, e.g. NetApp, EqualLogic, EMC, these have additional vCenter Server Plugins and Software that aid in the Mapping from vCenter.

LUN information, is best achieved by using Powershell.

I would recommend using the following, also VMware recommends the use of PowerCLI, which is PowerShell interface with vSphere-specific additions.

One of the simplest PowerCLI examples, and something which is actually extremely useful on its own, is the Get-VM cmdlet. Which lists VMs.

PowerCLI can be a bit overwhelming to use,  But it can be enhanced with a nice toolset and a library of preconfigured scripts to jump-start your mass changes, which is possible with PowerGUI


VMware Community Pack
patronAuthor Commented:
m using powergui here..but how i can fetch detail for rdm..on diff vm/host..?
any specific  plugin..method..we have to use?
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Have you checked VMware Community Pack?

What is your SAN, do you have the SAN software installed?
coolsport00Connect With a Mentor Commented:
Well, first off, RDMs are solely "pointer" files and, unless you explicitly done so when adding an RDM to a VM, those pointer files are stored in the same directory as the VM's .vmx file.

In doing a lil bit of Googling, I found a few articles you may be able to play with to attain what you need. I'd start here:
Then, look at this VMware KB:

Another KB that may be worthwhile:

patronAuthor Commented:
we have brocade san fabric connect with netapp storage box..but we dont have any access on that/taken care by san guys..only

we are supprting for vm any way to locate in VC/GUI..or any commnad line/script in locate only RDM
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
do you have any of the NetApp Plugin software, which would help you.
patronConnect With a Mentor Author Commented:
i just good tool named RVT to locate RDM.../but how can we locate rdm in VC/VM/Host?

and is there any other specific method for VM's svmotaion in case of RDM is there on LUN/VM
patronAuthor Commented:
m using that vmware commmunity pack..but no option for RDM.

Thanks for all your help on i can work with this RVT tools..

but m looking for any option if there in VC GUI/command line to locate
patronAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.