PowerPath/VE: lun 0 not visible or missing paths on ESXi
Summary: While other luns are correctly discovered down all the paths, lun 0 is missing paths or is not visible at all.
Symptoms
There was probably a time when no lun 0 was allocated and a rule was manually added to avoid errors posted against a LUNZ device.
Check the Claimrules ("localcli_storage-core-claimrule-list---claimrule-classall.txt" in the vmsupport logs)
If you see something like:
MP 103 runtime location MASK_PATH adapter=vmhba2 channel=0 target=0 lun=0 MP 103 file location MASK_PATH adapter=vmhba2 channel=0 target=0 lun=0 MP 104 runtime location MASK_PATH adapter=vmhba2 channel=0 target=1 lun=0 MP 104 file location MASK_PATH adapter=vmhba2 channel=0 target=1 lun=0
Then this is your issue. Claim rules were manually added which are prevented lun 0 from being configured by PowerPath.
Environment:
- Host OS: ESXi any flavour
- Host multipathing: PowerPath (any release)
- Dell Technologies HW: Any array - it occurs more on VNX/VPLEX/XtremIO than on another array.
All the devices are correctly discovered down all the paths but 1, and it appears to be lun 0.
Cause
When looking at HostMultipathStateInfo.txt, for a good path we have:
HostMultipathStateInfo-16-MpathRuntime: vmhba2:C0:T0:L1 HostMultipathStateInfo-16-MpathState: active HostMultipathStateInfo-16-MpathDeviceName: naa.60001440000000107034xxxxxxxxxxxx HostMultipathStateInfo-16-MpathDeviceDisplayName: EMC Fibre Channel Disk (naa.60001440000000107034xxxxxxxxxxxx) HostMultipathStateInfo-16-MpathAdapter: vmhba2 HostMultipathStateInfo-16-MpathChannel: 0 HostMultipathStateInfo-16-MpathTarget: 0 HostMultipathStateInfo-16-MpathLun: 1 HostMultipathStateInfo-16-MpathPlugin: PowerPath HostMultipathStateInfo-16-MpathTransport: fc HostMultipathStateInfo-16-MpathCompactTransport: san HostMultipathStateInfo-16-MpathAdapterTransport: fc.5001438007xxxxxx:5001438007xxxxxx HostMultipathStateInfo-16-MpathTargettransport: fc.5000144047xxxxxx:50001442axxxxxx
While for a problematic path (missing), we have:
HostMultipathStateInfo-5-MpathRuntime: vmhba1:C0:T1:L0 HostMultipathStateInfo-5-MpathState: dead HostMultipathStateInfo-5-MpathDeviceName: fc.5000144xxxxxxxx:5000144xxxxxxxx HostMultipathStateInfo-5-MpathDeviceDisplayName: notfound HostMultipathStateInfo-5-MpathAdapter: vmhba1 HostMultipathStateInfo-5-MpathChannel: 0 HostMultipathStateInfo-5-MpathTarget: 1 HostMultipathStateInfo-5-MpathLun: 0 HostMultipathStateInfo-5-MpathPlugin: MASK_PATH HostMultipathStateInfo-5-MpathTransport: fc HostMultipathStateInfo-5-MpathCompactTransport: san HostMultipathStateInfo-5-MpathAdapterTransport: fc.500143xxxxxxxxxx:500143xxxxxxxxxx HostMultipathStateInfo-5-MpathTargettransport: fc.5000144xxxxxxxxx:5000144xxxxxxxxx
Because the Plug-in is MASK_PATH, the device cannot be seen.
Resolution
If rules have been added to the regular claim rules to mask lun 0, remove these rules, reload the rules and rescan the devices. Alternatively, the ESXi host can be rebooted after removing the rules.