Pcornel
Storage · Storage Troubleshooting

Filesystem Full

Cheat sheet · https://pcornel.dk/topic.php?topic=4386

Back to the Topic

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> — full
  • du -xh --max-depth=1 <mount> | sort -h | tail — largest dirs
  • lsof +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 boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathApplication path → filesystem allocation/inodes/metadata → volume → thin/snapshot layer → pool/datastore → physical capacity → write completionHealthy adjacent layers do not prove end-to-end health
Failure boundaryA 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?