Use this when reserving space that must not hold data.
Reserved Capacity
Reserved capacity is space set aside and not used for data, such as file-system reserves, snapshot reserve, rebuild slack and free-space targets, so the system keeps performing and can recover from failures.
1. Reserved capacity: filesystem reserves, slop space, spare capacity for rebuild/repair.
2. Ceph needs headroom to recover after node loss.
3. ZFS slop space.
4. Don't plan to 100 %.
5. Document reserves.
total → reserves → plannable capacity
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- No reserve for snapshots, rebuilds and growth.
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.
- Reserves include file system reserves, snapshot reserve and rebuild slack.
- Many systems slow down above 80–90 % full.
- Reserved space must be subtracted before planning.
zfs get reservation,refreservation— ZFS reservestune2fs -l <dev> | grep 'Reserved block'— ext4 reservedceph config get mon mon_osd_nearfull_ratio— Ceph headroom
ReferenceHow it works1 section · depth on demand
What it is
Reserved capacity is space deliberately kept free: snapshot reserve, rebuild headroom, filesystem reserve (ext4 reserves 5 % by default), and the free space ZFS and SSDs need to keep performance. Plan to alert around 80 % used.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Reserved space is capacity you cannot use as an ordinary user
ext4 reserves a share of blocks for privileged processes. tune2fs(8) documents -m to set the percentage (default 5 %), -r to set an exact block count, and -l to show the superblock including the reserved block count.
# tune2fs -l /dev/vg0/data | grep -E 'Block count|Reserved block count|Block size'
Block count: 524288000
Reserved block count: 26214400
Block size: 4096
# echo $((26214400*4096/1024/1024/1024)) GiB
100 GiB
# tune2fs -m 1 /dev/vg0/data
On a 2 TiB data volume the default reserve is 100 GiB. This is why df can show Avail at 0 while Used is below Size.
Why it exists
| Purpose | Relevant for |
|---|---|
| Root can still log in and clean up | /, /var |
| Daemons running as root keep writing logs | System volumes |
| Reduces fragmentation near full | All, minor on modern systems |
Reserved capacity elsewhere
| Technology | Reserve |
|---|---|
| ZFS | Pool keeps a slop reserve; also keep ~20 % free for performance |
| Ceph | nearfull, backfillfull and full ratios, plus space to recover from a host failure |
| Thin pools | Free extents in the VG for autoextend |
| Arrays | Spare capacity for rebuilds or sparing |
Recommendation
Keep a reserve on system file systems. For large data-only volumes (backup, media), -m 1 or -m 0 is common, because 5 % of a big volume is a lot of capacity. Count every reserve in capacity planning, so usable capacity is not overstated.
Documented example, not captured output.
Quick reference
Plan reserves explicitly: snapshot space, at least one drive's worth for rebuilds (or hot spare), 10–20 % free for filesystems and copy-on-write systems (ZFS, Btrfs, SSD garbage collection), and growth until the next purchase. Alerting at 80 % gives time to act.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Capacity → Reserved Capacity. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_logical_volumes/assembly_thinly-provisioned-logical-volumes_configuring-and-managing-logical-volumes · confidence 94%