Pcornel
Storage · Storage Troubleshooting

Capacity Exhaustion

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

Back to the Topic

Answer

Treat capacity as nested accounting boundaries rather than one percentage. A write can fail because any required allocator, reserve, metadata region or backend tier lacks headroom.

Remember

  • One layer showing free space ≠ every lower or upper layer has allocatable capacity.
  • Logical provisioned capacity ≠ physically allocated capacity.
  • Reserved space ≠ usable application capacity.
  • Deleting data ≠ immediate reclaim through snapshots, CoW or missing discard.

First checks

  • df -h; zpool list; ceph df — usage
  • growth trend — cause
  • cleanup candidates — logs/snapshots/old data

Commands

ceph osd df

Verify in this order

growth → near full → relief → expansion

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 → Capacity Exhaustion 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 allocation → filesystem/volume → thin/snapshot metadata → pool/repository allocator → physical backend → write acknowledgementHealthy adjacent layers do not prove end-to-end health
Failure boundaryA capacity-exhaustion symptom proves some allocator could not satisfy a request; it does not prove which capacity layer is full without layered evidence.Correlate evidence for the same operation and timestamps
AcceptanceHealthy evidence shows sufficient headroom at every required layer, successful new allocation/write and alerts/trends below operational thresholds.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=4407

Confirmation

Confirm action

Continue?