ESX to EMC Clariion Lun Map

An easy way to find WWNN of a Clariion LUN inside of ESX.

esxcfg-mpath -lv | grep ^Disk | grep -v vmhba0 | awk '{print $3,$5,$2}' | cut -b15-

3 Responses

  1. Virtualization Short Take #29 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers Says:

    [...] Systems Engineer (no name provided) gives a handy one-line command to map ESX datastores to EMC CLARiiON LUNs. I’ll have to give this one a try once I get my CLARiiON up and [...]

  2. Levi Beckner Says:

    I tried this but couldn’t make it work. -v as a switch to esxcfg-mpath isn’t valid? I’m running ESX4

  3. admin Says:

    This is tested working with ESX 3.5U4. It may not work on vSphere 4.0. I’ll test and try to find an alternative if it does not.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.