This issue occurs due to inconsistency of the LUN VML ID. The NAA IDs are consistent across all of the ESXi hosts in the environment, but the VML IDs assigned to LUNs are not consistent.
The VML ID mismatch is mostly caused by a storage presentation configuration issue, where one ESXi host is given LUN ID A and another ESXi host in the cluster is given LUN ID B. For example:
- NAA ID on Host 1 and Host 2 is consistent:
naa.6005#####################0000
- VML ID on Host 1:
vml.02001100006005#####################0000485356333030
- VML ID on Host 2:
vml.02000b00006005#####################0000485356333630
Breaking apart the VML ID for a closer understanding:
The first four digits are VMware specific,
the next two digits are the LUN identifier in hexadecimal.
In the preceding example, on Host 1 the LUN is mapped to LUN ID 17 (hex
11) and on Host 2 the LUN is mapped to LUN ID 11 (hex
0b).
To fetch the VML IDs of the LUN in question, run this command on both of the ESXi hosts:
esxcfg-scsidevs -l -d For example:
esxcfg-scsidevs -l -d naa.6005#####################0000naa.6005#####################0000
Device Type: Direct-Access
Size: 40960 MB
Display Name: DGC Fibre Channel Disk (naa.6005#####################0000)
Multipath Plugin: NMP
Console Device: /vmfs/devices/disks/naa.6005#####################0000
Devfs Path: /vmfs/devices/disks/naa.6005#####################0000
Vendor: DGC Model: VRAID Revis: 0123
SCSI Level: 6 Is Pseudo: false Status: degraded
Is RDM Capable: true Is Removable: false
Is Local: false Is SSD: false
Other Names:
vml.02001100006005#####################0000485356333030
VAAI Status: supportedFor more information, see
Identifying disks when working with VMware ESXi/ESX (1014953).