Troubleshooting Recipe: iSCSI Multipathing APD vs. PDL Recovery on ESXi
How to distinguish All Paths Down (APD) from Permanent Device Loss (PDL) on ESXi storage fabrics and recover cleanly without rebooting healthy hosts.
βTreating a transient All Paths Down (APD) event like a Permanent Device Loss (PDL) leads to unnecessary host reboots and avoidable VM downtime.β
Symptom
- Datastores appear greyed out/inactive in vCenter; VMs pause or fail I/O writes.
/var/log/vmkernel.logreports eitherDevice or filesystem with identifier ... has entered the All Paths Down state(APD) orPermanent Device Loss(PDL).
Root Cause Distinction
- APD (Transient): The array or fabric stopped responding without sending a SCSI sense code. ESXi keeps retrying I/O until the APD timeout (default 140s) expires to protect ESXi management agent responsiveness.
- PDL (Explicit): The storage array explicitly returned SCSI sense code
0x5 0x25 0x00(Logical Unit Not Supported), confirming the LUN was unmapped or destroyed.
Recovery Steps
- Check Path State: Run
esxcli storage core path list -d <naa.id>andesxcli storage core device list -d <naa.id>. - Verify Network & Port Binding (iSCSI): Confirm
vmkping -I <vmk-iscsi> -d -s 8972 <target-ip>succeeds without fragmentation if jumbo frames are enabled. - For APD: Restore the storage switch/controller link; paths automatically recover and
esxcli storage filesystem rescanremounts datastores cleanly. - For PDL: Power off affected VMs (or let vSphere HA restart them on healthy hosts), unregister stale devices, and run
esxcli storage core adapter rescan --all.
π€ Interrogate This Field Note in Digital Twin
Click a prompt below to immediately stream an architectural analysis from Virtual Sachin's RAG cognitive twin:
Sachin Kumar Sharma
Director (Cloud & Infrastructure Architecture) | Principal Agentic AI Architect | 20+ Yrs Exp
Architecting resilient multi-cloud enterprise landing zones, SDN overlay fabrics, DevSecFinOps automation pipelines, and autonomous Agentic AI platforms.
π‘ Related Engineering Articles
Troubleshooting Recipe: Resolving A2A Multi-Agent Deadlocks and Infinite Retry Loops
How to detect, break, and prevent circular delegation deadlocks and runaway token retries in Agent-to-Agent (A2A) distributed workflows.
Troubleshooting Recipe: CoreDNS 5-Second Latency Spikes & Conntrack Exhaustion
How to diagnose and eliminate intermittent 5-second DNS timeouts in Kubernetes clusters caused by Linux conntrack table exhaustion and UDP race conditions.
Troubleshooting Recipe: OSPF Neighbors Stuck in EXSTART/EXCHANGE Due to MTU Mismatch
Deterministic runbook for diagnosing and resolving OSPF adjacencies stuck in EXSTART/EXCHANGE across mixed-vendor WAN and datacenter links.
π¬ Stay Updated on Tech Releases
Sign up to get notified when I publish new production war stories, agentic AI architecture blueprints, or open-source infrastructure tools.