Use this when VMware VMs suffer storage latency, APD/PDL events or full datastores.
VMware Storage Troubleshooting
Troubleshoot VMware storage by checking datastore free space, path status (esxcli storage core path list), latency in esxtop (DAVG, KAVG), snapshot chains, APD/PDL events and vmkernel.log.
1. APD/PDL: lost paths or LUN — check fabric/array.
2. High latency: DAVG (array) vs KAVG (host queue).
3. Full datastore: VMs pause.
4. Snapshot issues: consolidation.
5. Check vmkernel.log.
VM → VMkernel → paths → array
Context & applicabilityCommon mistakes · platform/version boundaries
- Treating APD (all paths down) and PDL (permanent device loss) the same — PDL means the LUN is gone; APD may recover.
- Rescanning repeatedly during storage incidents, adding load.
- Ignoring
vmkernel.logSCSI sense codes. - Not checking array-side logs and port status.
Operational reference
Fast context before you go deeper.
esxcli storage core path listPrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Troubleshooting order Narrow the fault
1. Space: datastore free space and snapshots (Get-Snapshot in PowerCLI, datastore browser).
2. Paths: esxcli storage core path list (dead or standby paths), esxcli storage nmp device list.
3. Latency: esxtop disk view — DAVG (device), KAVG (kernel, should be < 2 ms), GAVG (guest).
4. Logs: /var/log/vmkernel.log for SCSI sense codes, APD (all paths down) and PDL (permanent device loss).
5. Array side: controller load, replication and LUN mapping.
- DAVG is device latency; KAVG is ESXi kernel queuing.
- APD means paths are gone temporarily; PDL means the device is gone.
- Snapshots often fill datastores.
esxcli storage core path list | grep -E 'State|Device'— path statestail -100 /var/log/vmkernel.log— storage errorsesxtop (d/u/v)— latency
ReferenceHow it works1 section · depth on demand
Method
| Symptom | Check |
|---|---|
| Datastore inaccessible / APD | Paths: esxcli storage core path list, array and fabric |
| PDL (permanent device loss) | LUN unmapped or deleted on the array |
| High latency | esxtop (d): DAVG = device/array, KAVG = host queuing, GAVG = total |
| "Consolidation needed" | Leftover snapshots; check locks with vmkfstools -D |
| Thin datastore full | VMs pause; free space, move VMs, UNMAP |
| SCSI reservation conflicts | Many metadata operations on one VMFS, ATS issues |
tail -f /var/log/vmkernel.log | grep -iE 'nmp|scsi|apd|pdl'
esxcli storage core device stats get -d naa.xxx
Rule of thumb: DAVG above ~20 ms points at the array or fabric; KAVG above ~2 ms means queuing in the host.
ReferenceConfiguration & state1 section · depth on demand
Useful commands
esxcli storage core path list
esxcli storage core device list
esxcli storage nmp device list
esxtop # press d (adapter), u (device), v (VM disk)
vmkfstools -D /vmfs/volumes/ds1/vm/vm-flat.vmdk # lock owner
Log files: /var/log/vmkernel.log and /var/log/vobd.log for path and device errors.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hypervisor Storage → VMware Storage → VMware Storage Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%