Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Filesystem Capacity

Direct answer

Capacity seen by a filesystem is only one layer of storage capacity. Logical free bytes can differ from pool/backend free space, and metadata structures, inodes, reservations, quotas or CoW allocation rules can cause allocation failure before nominal byte capacity reaches zero.

When to use this

Use it when configuring, checking or troubleshooting Filesystem Capacity in Filesystems.

First 30 seconds

1. Watch space and inode usage.

2. Deleted-but-open files keep space used.

3. Reserved blocks (ext4) and snapshots consume space.

4. Alert at 80/90 %.

5. Plan growth.

Operational verification

data growth → free space shrinks

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

Filesystem free-space reporting shows logical allocation state at that layer, but it does not show thin backing, pool, metadata or physical capacity.

Suspicious evidence: ENOSPC with apparent free bytes, inode exhaustion, snapshots/deleted-open files retain space, thin pool/backing capacity is critical or only one capacity layer is checked.

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 configuring, checking or troubleshooting Filesystem Capacity in Filesystems.
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 quota/metadata/data free space → volume/pool allocation → backend physical capacity

Healthy evidence: data and metadata/inode capacity have safe headroom, quotas/reservations are understood, lower pools have backing capacity and representative allocations succeed.

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
  • Filesystem free space ≠ backend free space.
  • Free bytes ≠ free inodes/metadata.
  • Thin-provisioned logical free ≠ physical backing free.
  • Deleted file ≠ immediately reclaimed space in every case.
Key checks
  • df -h — space
  • du -xh --max-depth=1 / | sort -h — largest directories
  • lsof +L1 — deleted but open files
ReferenceImportant terms & boundaries2 sections · depth on demand

Namespace and consistency

Filesystem free-space reporting shows logical allocation state at that layer, but it does not show thin backing, pool, metadata or physical capacity.

Worked example

Usable space is less than the device size: metadata, journal, reserved blocks (ext4 reserves 5 % for root by default) and, on CoW filesystems, space held by snapshots.

Worked example: a 2 TiB ext4 volume with default settings reserves ~102 GiB for root, so df shows ~1.9 TiB available to users; tune2fs -m 1 lowers the reserve to ~20 GiB.

df -hT; df -i
du -xsh /var/* | sort -h | tail
lsof +L1                           # deleted files still held open

When df and du disagree, the usual causes are deleted-but-open files, files hidden under a mount point, or snapshots.

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 Filesystems → Filesystem Capacity. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.kernel.org/filesystems/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
filesystem capacitydisk full filesystemfilesystem free space
Embedded reference data

Quick lookup tables

Filesystems → Filesystem Capacity filesystem map

Fast namespace, metadata, capacity, attachment and verification boundaries for Filesystems → Filesystem Capacity.

Filesystem boundaryWhat to verifyProof limit
Identity / attachmentFilesystem type, source/backing object, mount/attachment target and effective optionsPresence or mount state alone does not prove consistency or lower-layer health
Capacity / metadataData space, metadata/inodes, quotas/reservations and filesystem stateFree bytes at one layer do not prove allocation can succeed end to end
Failure boundaryFilesystem free-space reporting proves logical allocation state at that layer; it does not prove thin backing, pool, metadata or physical capacity.Correlate filesystem evidence with the backing volume/path/backend before repair
AcceptanceHealthy evidence: data and metadata/inode capacity have safe headroom, quotas/reservations are understood, lower pools have backing capacity and representative allocations succeed.Close only after the original path/workload and read-back check succeeds
Confirmation

Confirm action

Continue?