VMware Cloud Community
mazixo
Contributor
Contributor

RDM attached list ??!

hi

I wanna to know how can I find ROW DISK MAPs (RDMs) that attached to my VMs in Vcenter via command line or scriptting . I have more 400 vm that most of them have more than 2 attached RDM Disks .

Love,Life,Freedome is iranain's right Maziyar Khamenh
0 Kudos
2 Replies
markdjones82
Expert
Expert

Here is a KB article on the command to get RDMs using Powercli.  This will get all VM's in the virtual center.  You can also export it to a CSV

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=200182...

http://www.twitter.com/markdjones82 | http://nutzandbolts.wordpress.com
0 Kudos
Virtualinfra
Commander
Commander

This will get RDM attached to VM in Cluster vices and in table output

#get-vm -Location Custername | Get-HardDisk -DiskType "RawPhysical","RawVirtual" | ft parent, scsicanonicalname, name, capacitykb -AutoSize

Thanks & Regards Dharshan S VCP 4.0,VTSP 5.0, VCP 5.0
0 Kudos