A path to a storage/LUN device can be marked as Dead in these situations:
ESXi storage stack & SCSI command TEST_UNIT_READY
When a SCSI command fails to complete with a Host Status (for example, H:0x5), this cause the system to send SCSI command 0x0 (TEST_UNIT_READY) down the path where the command failed. If the TEST_UNIT_READY command also fails, the path is marked as Dead.
Also, the Disk.PathEval routine issues a TEST_UNIT_READY command down every path every 300 seconds (which is the default). If this command fails to complete, the path is also marked as Dead. TEST_UNIT_READY is issued down Dead paths on the same 300 second interval in case a path becomes available again, at which point the path is marked as On instead of Dead.
In this logging example, TEST_UNIT_READY is initiated instantly due to a failed command:
vmkernel: 116:03:44:19.039 cpu4:4100)WARNING: NMP: nmp_DeviceRequestFastDeviceProbe: NMP device "sym.029025256531353837" state in doubt; requested fast path state update...
Causes:
ESXi storage stack receives a Host Status of 0x1
<3> rport-13:0-3: blocked FC remote port time out: saving binding
<3>lpfc820 0000:05:00.1: 1:(0):0203 Devloss timeout on WWPN <WWPN> NPort x270024 Data: x0 x7 x0
<3> rport-13:0-2: blocked FC remote port time out: saving binding
<3>lpfc820 0000:05:00.1: 1:(0):0203 Devloss timeout on WWPN <WWPN> NPort x270023 Data: x0 x7 x0
ESXi storage stack and permanent device loss (PDL)
ESXi 5.x introduced permanent device loss (PDL), which was designed to augment the all-paths-down (APD) condition. Arrays that returned specific Check Conditions for I/O being issued to LUNs no longer presented to that initiator are interpreted by the stack as a permanent condition instead of a transient one. For more information, see Permanent Device Loss (PDL) and All-Paths-Down (APD) in vSphere ESXI
Logging example:
VMW_SATP_ALUA: satp_alua_issueCommandOnPath:661: Path "vmhba3:C0:T0:L0" (PERM LOSS) command 0xa3 failed with status Device is permanently unavailable. H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x25 0x0.