galvin
Contributor
Contributor

What LUN does an RDM point to?

I am in the process of updating some home grown ESX 4.1 U3 service console disaster recovery scripts to run in the vMA with ESX 5.1 U1.

I have run into an issue.

Under the service console on 4.1, I could use vmkfstools --queryrdm to determine what LUN (ok, vml, but it amounts to the same thing) an RDM pointed to.  In the vMA version of vmkfstools, the --queryrdm option is specifically not supported.  In the absence of this option, how do I determine what LUN an RDM points to?  Is there some way to use any of the metadata in the .vmdk file to determine this?

Tags (2)
0 Kudos
2 Replies
a_p_
Leadership
Leadership

You can run the command directly from the console (ESXi Shell or SSH) of an ESXi host.

André

0 Kudos
galvin
Contributor
Contributor

a.p. wrote:

You can run the command directly from the console (ESXi Shell or SSH) of an ESXi host.

André

Yes, I could, and I may have to consider that if a better way doesn't present itself.  The problem is that I am trying to do this from within a Perl script that gets automatically run every day.  Perl no longer seems to exist in the ESXi shell and and neither does crontab.

I would prefer to find some way of doing this from the vMA...

0 Kudos