How do we get below mention LUN information from the ESX 4.0 console?
LUN name ,LUN id ,LUN identification name, LUN label name .The example is given below
Example:
LUN name : EVA_LUN10
LUN label : 4d0b1f3e-55a1075f-1764-0017a4770474
LUN device identification : naa.600508b4000e1b8b00007000024a0000
LUN ID :20
What command can we use for fetching above the require information ?
http://www.jume.nl/esx4man/man8/esxcfg-mpath.8.html
esxcfg-mpath -l
Thanks for the reply.
But how do we get LUN device name and LUN name?
How to know which LUN device(naa.600508XXX) got the LUN name (EVA_LUN10)?
We can able to see any one of the information only LUN device name or LUN name.
How to get all information in the one command?
esxcfg-scsidevs -c --> to list NAA ID
esxcfg-scsidevs -m --> to list NAA ID and LUN name
other commands
esxcfg-mpath -l
esxcli nmp device list
Kindly consider awarding points if this info is useful.
Thanks.
But i could not get the LUN from this command.
This is the out put
LUN name we could not identify?
This is the LUN primary id naa.600508b4000e1b8b00007000024a0000
Where to find the primary ID LUN name?
You may use powercli to do that..
http://thephuck.com/virtualization/powercli-script-to-get-datastore-uuids/
Alex
esxcfg-scsidevs -m
Use this command.