πŸ—“οΈ Oct 2, 2016⏱️ 2 min read

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.

πŸŽ™οΈ Listen to ArticleREADY
AI Audio Synthesis Narrator
Share Post:

β€œ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.log reports either Device or filesystem with identifier ... has entered the All Paths Down state (APD) or Permanent 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

  1. Check Path State: Run esxcli storage core path list -d <naa.id> and esxcli storage core device list -d <naa.id>.
  2. Verify Network & Port Binding (iSCSI): Confirm vmkping -I <vmk-iscsi> -d -s 8972 <target-ip> succeeds without fragmentation if jumbo frames are enabled.
  3. For APD: Restore the storage switch/controller link; paths automatically recover and esxcli storage filesystem rescan remounts datastores cleanly.
  4. 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.
EDGE RAG DEEP-LINK

πŸ€– Interrogate This Field Note in Digital Twin

Open in /twin ↗

Click a prompt below to immediately stream an architectural analysis from Virtual Sachin's RAG cognitive twin:

SKS

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.

πŸ“¬

πŸ“¬ 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.

⚑ Theme Adaptive Shift
Switching layouts matching domain reading affinity...