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-
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-
August 27th, 2009 at 5:18 pm
[...] 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 [...]
August 28th, 2009 at 1:02 pm
I tried this but couldn’t make it work. -v as a switch to esxcfg-mpath isn’t valid? I’m running ESX4
August 30th, 2009 at 11:11 pm
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.