GaelV
Enthusiast
Enthusiast

How to automatically check if devices in datastore are RDM or not ?

Hi,

I'm working on 2 ESXi 5.5 U3 which have the same datastore attached. Some VM are on the first and some on the second. Sometimes i need to migrate from one to another.

For my configuration (to decide if i have to use VMW_PSP_MRU or RR following devices), i need to know which devices are RDM and which are not.

I've used a great script to detect which device is RDM but this script is based on VMs and not Host.

My question is : is there any way to "scan" all datastore attached to a host ? or scanning all files to detect RDM without VM presence ?)

(the fabulous  script is here : VMprosVMware: List all RDM disks in Hosts and Virtual Machines via PowerCLI - VMpros  )

Best regards,

Gael

Tags (3)
0 Kudos
2 Replies
vijayrana968
Virtuoso
Virtuoso

Have a look on this script written by LucD

LUN report - datastore, RDM and node visibility - LucD notes

0 Kudos
UmeshAhuja
Commander
Commander

Hi,

Please go through this below link... might be useful.

PowerCLI script to list VMFS,RDM and Free LUNs in a cluster | Ping4info

Thanks n Regards Umesh Ahuja If your query resolved then please consider awarding points by correct or helpful marking.
0 Kudos