Storage Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=4381
Answer
Start with the exact failing operation and incident window, establish scope and a last-known-good baseline, then trace the request through filesystem or volume, logical storage, path/protocol, storage system, media and completion/read-back until expected behavior first diverges.
Remember
- Symptom ≠ root cause; 'storage is slow', 'disk missing' or 'backup failed' is an observation that still needs a failed boundary.
- A green management status ≠ healthy data path; control-plane inventory can remain normal while I/O, pathing, metadata or media is failing.
- One successful read or path ≠ end-to-end storage health; reads, writes, alternate paths, capacity and durability are separate proof boundaries.
- No alert or log ≠ no failure unless collection, retention, timestamps and the queried scope are proven complete.
First checks
dmesg -T | tail -100— kernel messageslsblk; df -h; zpool status -x— stateiostat -x 1— performance
Verify in this order
symptom → logs → layer → fix → verify
Where it usually breaks
First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.
Storage Troubleshooting proof map
| Troubleshooting boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Symptom/time → scope/baseline → application/filesystem/volume → logical device/LUN/share → multipath/protocol/fabric → controller/pool → media/backend → completion/read-back → minimal change → original-test verification | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A status, counter, event or error proves only the observed condition at that storage boundary; it becomes root-cause evidence only when timing and dependency behavior explain the original failing operation. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence is a reproducible original I/O or recovery test completing with expected latency, data, path ownership and no correlated backend errors. | Close only after the original workload/recovery test and regression check |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4381