VMware Cloud Community
Nithiyan
Enthusiast
Enthusiast
Jump to solution

What command to get LUN information from the ESX 4.0 console

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 ?

Reply
0 Kudos
1 Solution

Accepted Solutions
Basheer09
Enthusiast
Enthusiast
Jump to solution

esxcfg-scsidevs -m

Use this command.

View solution in original post

Reply
0 Kudos
6 Replies
Nithiyan
Enthusiast
Enthusiast
Jump to solution

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?

Reply
0 Kudos
Basheer09
Enthusiast
Enthusiast
Jump to solution

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.

Nithiyan
Enthusiast
Enthusiast
Jump to solution

Thanks.

But i could not get the LUN from this command.

This is the out put

naa.600508b4000e1b8b00007000024a0000                                      Direct-Access    /dev/sdb                                    122880MB  NMP     HP Fibre Channel Disk (naa.600508b4000e1b8b00007000024a0000)

LUN name we could not identify?

This is the LUN primary id naa.600508b4000e1b8b00007000024a0000

Where to find the primary ID LUN name?

Reply
0 Kudos
alefestaedist
Hot Shot
Hot Shot
Jump to solution

Reply
0 Kudos
Basheer09
Enthusiast
Enthusiast
Jump to solution

esxcfg-scsidevs -m

Use this command.

Reply
0 Kudos