Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Capacity Exhaustion

Direct 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.

When to use this

Use it when the symptom is “Capacity Exhaustion”: work through the layers in order and stop at the first one that fails.

First 30 seconds

1. Capacity exhaustion: immediate relief (delete safely, extend), then prevention (alerts, quotas, planning).

2. ZFS/Ceph degrade near full — act early.

3. Find growth cause.

4. Communicate.

5. Add capacity.

Operational verification

growth → near full → relief → expansion

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Failure and recovery traps

A capacity-exhaustion symptom shows some allocator could not satisfy a request, but it does not show which capacity layer is full without layered evidence.

Suspicious evidence includes ENOSPC, inode/metadata exhaustion, thin-pool pressure, snapshot reserve growth, nearfull/full pool states or repository capacity alarms.

Platform / version applicability
Storage architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformStorage architecture and operations
Scope / prerequisiteUse it when the symptom is “Capacity Exhaustion”: work through the layers in order and stop at the first one that fails.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Application allocation → filesystem/volume → thin/snapshot metadata → pool/repository allocator → physical backend → write acknowledgement

Healthy evidence shows sufficient headroom at every required layer, successful new allocation/write and alerts/trends below operational thresholds.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • 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.
Key checks
  • df -h; zpool list; ceph df — usage
  • growth trend — cause
  • cleanup candidates — logs/snapshots/old data
ReferenceImportant terms & boundaries3 sections · depth on demand

Scope and what the checks show

A capacity-exhaustion symptom shows some allocator could not satisfy a request, but it does not show which capacity layer is full without layered evidence.

In depth

Capacity exhaustion is a trend problem before it is an incident

When a volume, pool or array reaches 100 %, writes fail. For thin or copy-on-write storage, performance often degrades well before that point.

Measure at every layer

$ df -h --output=source,fstype,size,used,avail,pcent,target -x tmpfs -x devtmpfs
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sda2      ext4   98G   71G   22G  77% /
/dev/vg0/data  xfs   2.0T  1.9T  110G  95% /srv
$ df -i /srv
# lvs -o name,data_percent,metadata_percent vg0
# zpool list -o name,size,alloc,free,cap,frag
# ceph df

df(1) documents --output= for selecting columns and -i for inodes, so the same command can feed monitoring.

Layers that can fill independently

LayerFills whenIndicator
File systemData growsdf Use%, inode Use%
Thin pool / thin LUNOver-commit is realisedData% / pool allocation
ZFS poolData plus snapshotscap; slows down above ~80 %
CephAny single OSD reaches fullceph osd df, nearfull warnings
Backup repositoryRetention without pruningRepository size trend

Thresholds and growth

PracticeReason
Warn and critical thresholds (for example 80 % and 90 %)Time to act before failure
Days-until-full from a 30-day trendOne percentage says nothing about speed
Separate fast-growing data (logs, DB, containers)One consumer cannot fill everything
Track reclaimable space (snapshots, old backups)Quick relief options are known in advance

Emergency relief

Delete or expire snapshots and old backups, truncate rotated logs, or move data. Then extend capacity and fix the growth source. Don't raise full ratios (Ceph) or reserved space limits as a permanent fix.

Illustrative example (not a system capture).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

Capacity exhaustion is a planning failure that becomes an incident. Response:

1. Stabilise — free space quickly: expired snapshots, old backups, temp/log data, move VMs to another datastore.

2. Prevent writes failing — extend the volume/pool/LUN if headroom exists at the layer below.

3. Find the growth — what changed in the last days (new workload, failed cleanup job, retention change, snapshot left behind)?

4. Fix monitoring — alerts at 70/80/90 % per layer (VM disk, datastore, pool, array) and on growth rate, not just level.

Thin provisioning at several layers means the bottom layer can fill while upper layers still show space — check the physical layer first.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docStorage architecture and operations current

Authoritative/upstream documentation reviewed for bounded claims in Storage Troubleshooting → Capacity Exhaustion. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/block/index.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
capacity exhaustionstorage fullout of storage capacitystorage allocation failure
Embedded reference data

Quick lookup tables

Storage Troubleshooting → Capacity Exhaustion proof map

Fast scope, dependency, failure-boundary and acceptance checks for Storage Troubleshooting → Capacity Exhaustion.

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
Confirmation

Confirm action

Continue?