When performing troubleshooting with ESXi storage, use command line tools to identify a specific disk or LUN connected to ESXi. This article provides information on different ways to identify these disks.
eui.00e04c2020202000 : Local USB Direct-Access (eui.00e04c2020202000) vmhba32:C0:T0:L0 LUN:0 state:active Local HBA vmhba32 channel 0 target 0
Run the esxcli storage core device list command to generate a list of LUNs currently connected to the ESXi host.
Output will be similar to: mpx.vmhba0:C0:T0:L0 Display Name: Local VMware Disk (mpx.vmhba2:C0:T0:L0) Has Settable Display Name: false Size: 286070 Device Type: Direct-Access Multipath Plugin: NMP Devfs Path: /vmfs/devices/disks/ mpx.vmhba2:C0:T0:L0 Vendor: VMware Model: Block device Revision: 1.0 SCSI Level: 2 Is Pseudo: false Status: on Is RDM Capable: false Is Local: true Is Removable: false Is SSD: false Is Offline: false Is Perennially Reserved: false Thin Provisioning Status: unknown Attached Filters: VAAI Status: unsupported Other UIDs: vml.xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Alternatively, use the "esxcfg-scsidevs -c" to list out all the devices being detected by the ESXi host.
Output will be similar to:
Run the esxcli storage vmfs extent list command to generate a list of extents for each volume and mapping from device name to UUID.
Output will be similar to: Volume Name VMFS UUID Extent Number Device Name Partition ------------ ----------------------------------- ------------- ------------------------------------ --------- esxi-local 4e0d86e1-0db6f826-6991-d8d3855ff8d6 0 mpx.vmhba2:C0:T0:L0 3 datastore1 4d4ac840-c1386fa0-9f6d-0050569300a7 0 naa.xxxxxxxxxxxxxxxxxxxxxxxxxxx011 1 vmfs5 4dad8f16-911648ca-d660-d8d38563e658 0 naa.xxxxxxxxxxxxxxxxxxxxxxxxxxx011 1
Alternatively, execute the "esxcfg-scsidevs -m" command to list out all the VMFS backed datastores that are currently active/mounted on the host along with their UUID information.
The output should look similar to:
Run the esxcli storage filesystem list command to generate a compact list of the LUNs currently connected to the ESXi host, including VMFS version.
These are the definitions for some of identifiers and their conventions:
naa.<NAA>:<Partition> oreui.<EUI>:<Partition>
NAA stands for Network Addressing Authority identifier. EUI stands for Extended Unique Identifier. The number is guaranteed to be unique to that LUN. The NAA or EUI identifier is the preferred method of identifying LUNs and the number is generated by the storage device. Since the NAA or EUI is unique to the LUN, if the LUN is presented the same way across all ESXi hosts, the NAA or EUI identifier remains the same. For more information on these standards, see the SPC-3 documentation from the International Committee for Information Technology Standards (T10).
The <Partition> represents the partition number on the LUN or Disk. If the <Partition> is specified as 0, it identifies the entire disk instead of only one partition. This identifier is generally used for operations with utilities such as vmkfstools.
Example: naa.xxxxxxxxxxxxxxxxxxxxxxxxxxx4fe:3 = Partition 3 of LUN naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxd4fe.
Some devices do not provide the NAA number described above. In these circumstances, an MPX Identifier is generated by ESXi to represent the LUN or disk. The identifier takes the form similar to that of the canonical name of previous versions of ESXi with the mpx. prefix. This identifier can be used in the exact same way as the NAA Identifier(NaaID) described above.
vml.<VML> or vml.<VML>:<Partition>
The VML Identifier can be used interchangeably with the NAA Identifier and the MPX Identifier. Appending :<Partition> works in the same way described above. This identifier is generally used for operations with utilities such as vmkfstools.
To find out the vml ID run the command:
vmkfstools -q <vm-disk>.vmdk
vmhba<Adapter>:C<Channel>:T<Target>:L<LUN>
This identifier is now used exclusively to identify a path to the LUN. When ESXi detects that paths associated to one LUN, each path is assigned this Path Identifier. The LUN also inherits the same name as the first path, but it is now used as a Runtime Name, and not used as readily as the above mentioned identifiers as it may be different depending on the host being used. This identifier is generally used for operations with utilities such as vmkfstools.
Note: Generally, multi-port fiber channel adapters are equipped with dedicated controllers for each connection, and therefore each controller is represented by different vmhba#. If the adapter supports multiple connections to the same controller, it is represented by a different channel number. This representation is directly dependent on the capability of the adapter.
<UUID>
The<UUID> is a unique number assigned to a VMFS volume upon the creation of the volume. It may be included in syntax where it is necessary to specify the full path of specific files on a datastore.
Additional Information
There are additional esxcli storage commands available in to identify mounted Virtual Volumes or NFS v4.1 volumes. For more information, see: