Storage · Storage Troubleshooting
Filesystem Full
Cheat sheet · https://pcornel.dk/topic.php?topic=4386
Answer
Capacity is layered: filesystem free blocks/inodes/metadata → logical volume size → thin allocation/snapshot overhead → pool/datastore → physical backend capacity.
Remember
- Filesystem full ≠ underlying disk or pool full.
- Free bytes ≠ free inodes or metadata.
- Deleting files ≠ immediate backend reclamation when open files, snapshots, CoW or discard behavior retain blocks.
- Extending an LV/disk ≠ filesystem automatically grows.
First checks
df -h <mount>— fulldu -xh --max-depth=1 <mount> | sort -h | tail— largest dirslsof +L1— deleted open files
Commands
df -hT- Mounted filesystem capacity and type.
docker system df
Verify in this order
growth → full → free space → prevent
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 → Filesystem Full 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 | Application path → filesystem allocation/inodes/metadata → volume → thin/snapshot layer → pool/datastore → physical capacity → write completion | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A filesystem ENOSPC/full condition proves allocation failed at that filesystem boundary; it does not prove the underlying storage pool is physically full. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows sufficient filesystem blocks/inodes/metadata and successful original writes without same-window lower-layer capacity 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=4386