Use it when you need snapshots, compression or checksums, or when Btrfs reports full or degraded.
Btrfs
Btrfs is a copy-on-write filesystem with subvolumes, snapshots, checksums, compression and built-in multi-device RAID. It is the default on SUSE and Fedora desktops.
1. btrfs filesystem usage <mount> — data vs metadata.
2. Metadata full → btrfs balance start -dusage=50 <mount>.
3. btrfs device stats <mount> — errors?
4. btrfs scrub start <mount>.
5. Snapshots consuming space? btrfs subvolume list <mount>.
subvolumes and snapshots share CoW extents → checksums verify data → balance redistributes chunks
For Filesystems & Mounting → Btrfs, continue with the first unproven Topic check: Capture Btrfs filesystem UUID, member devices, profiles and subvolume/mount selection. If that boundary is healthy, advance to the adjacent check: Inspect device errors, scrub/balance status and allocation by data/metadata/system. Preserve the same host/time/identity scope and rerun the original workload before accepting recovery.
Continue only after interpreting the current observation.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 Operational evidence path Verify boundary
member block devices → Btrfs filesystem/device tree → chunk allocation/profiles → subvolume/snapshot → mount namespace → file I/O + checksums → workload
Healthy evidence: all expected devices and profiles are present, no uncorrected device/checksum errors exist, allocation has headroom and the intended subvolume workload passes.
Step 2 Verification and output interpretation Verify boundary
Existing fast checks for this Topic. - Capture Btrfs filesystem UUID, member devices, profiles and subvolume/mount selection.
- Inspect device errors, scrub/balance status and allocation by data/metadata/system.
- Distinguish subvolume snapshots from LVM/storage-array snapshots in recovery planning.
- Validate application data and free-space behavior after repair/balance/resize work.
Verification chain. member block devices → Btrfs filesystem/device tree → chunk allocation/profiles → subvolume/snapshot → mount namespace → file I/O + checksums → workload
Step 3 Commands Verify boundary
btrfs filesystem usage /data
btrfs subvolume list /data
btrfs scrub start /data
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: missing devices, metadata space pressure, checksum errors, degraded profile or snapshot accumulation can break assumptions hidden by a simple mounted/df check.
Step 5 Common mistakes Narrow the fault
- Reading
dfinstead ofbtrfs filesystem usage.
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.
Btrfs can be "full" while df shows space (metadata exhaustion) — check btrfs filesystem usage and balance. Avoid its RAID5/6 for important data. Scrub regularly to detect corruption.
findmnt— mount tree with optionsdf -hT— usage and filesystem typesfindmnt --verify— check /etc/fstabdmesg -T | grep -iE 'ext4|xfs|btrfs'— filesystem kernel messages
ReferenceWhat it is1 section · depth on demand
Core model
Identify filesystem UUID, devices, profiles and subvolume/mount context before interpreting free space. Separate filesystem-level snapshots/subvolumes from LVM snapshots. Capacity analysis must consider allocated chunks, metadata/data profiles and device health rather than only a generic df view.
ReferenceImportant terms & boundaries5 sections · depth on demand
What this shows and what it does not
Btrfs evidence shows Btrfs allocation, subvolume and checksum state within the filesystem; it does not turn snapshots into backups or show every underlying device healthy.
In depth
Btrfs: copy-on-write with snapshots and checksums
Btrfs combines a file system with volume management features. The kernel's Btrfs documentation lists them:
- copy-on-write;
- writable snapshots, and subvolumes as separate internal file system roots;
- checksums on data and metadata;
- compression;
- integrated multi-device support with several RAID algorithms;
- incremental send and receive;
- online scrub;
- reflinks and deduplication, quota groups, and online resize in both directions.
The full administration documentation is on btrfs.readthedocs.io.
Key concepts
| Concept | Meaning |
|---|---|
| Subvolume | An independent file tree inside the file system, mountable on its own (subvol=) |
| Snapshot | A subvolume that starts as a copy of another; shares data until it's changed |
| Checksums | Every data and metadata block is verified on read |
| Scrub | Reads everything and verifies the checksums (repairs from a redundant copy if one exists) |
| Profiles | single, dup, raid0, raid1, raid10, raid5/6 for data and for metadata |
| Send / receive | Transfer the differences between snapshots to another Btrfs file system |
Typical layout (e.g. openSUSE, Fedora)
| Subvolume | Mounted at |
|---|---|
@ or root | / |
@home or home | /home |
@snapshots | /.snapshots |
Space reporting
df can be misleading on Btrfs, because metadata, RAID profiles and shared extents complicate the numbers. Use btrfs filesystem usage instead.
host$ sudo btrfs subvolume list /
ID 256 gen 18211 top level 5 path root
ID 257 gen 18209 top level 5 path home
host$ sudo btrfs subvolume snapshot -r / /.snapshots/root-2026-11-28
Create a readonly snapshot of '/' in '/.snapshots/root-2026-11-28'
host$ sudo btrfs filesystem usage -T / | head -8
host$ sudo btrfs scrub start -B /
Scrub done for 4b1e...
Error summary: no errors found
host$ sudo btrfs send -p /.snapshots/root-2026-11-27 /.snapshots/root-2026-11-28 | ssh backup1 sudo btrfs receive /srv/btrfs-backup/srv1
host$ findmnt -t btrfs -o TARGET,OPTIONS | grep -o "compress=[a-z0-9:]*"
Snapshots aren't backups
Snapshots live on the same disks as the data. A failed device or a corrupted file system takes them along. btrfs send to another machine, as in the example, turns snapshots into real backups, and it sends only the changes since the parent snapshot.
Documented example, not captured output.
How it works at runtime
Btrfs is part of Filesystems & Mounting → Btrfs. Btrfs is a copy-on-write filesystem and volume manager with subvolumes, snapshots, checksums and multi-device capabilities; its logical/physical allocation and metadata profiles differ from traditional single-device filesystems.
Topic-specific state model. Btrfs is a copy-on-write filesystem and volume manager with subvolumes, snapshots, checksums and multi-device capabilities; its logical/physical allocation and metadata profiles differ from traditional single-device filesystems.
Interpretation rule. - Btrfs mounted ≠ every device/profile is healthy.
- df free space ≠ immediately allocatable Btrfs chunk space.
- Snapshot exists ≠ independent backup or protected copy.
- Filesystem checksum detects corruption ≠ automatic repair is guaranteed.
Quick reference
Btrfs administration:
mkfs.btrfs -L data -d raid1 -m raid1 /dev/sdb /dev/sdc
btrfs filesystem usage /data
btrfs subvolume create /data/@app
btrfs subvolume snapshot -r /data/@app /data/.snapshots/app-$(date +%F)
btrfs send /data/.snapshots/app-2026-11-05 | ssh backup btrfs receive /backup
btrfs scrub start -Bd /data
btrfs balance start -dusage=50 /data
btrfs device stats /data
Mount options: compress=zstd:3, noatime, subvol=@app. Avoid RAID5/6 profiles for data. ENOSPC with free space usually means full metadata chunks — balance with usage filters.
Limits and how it fails
Primary failure point. Btrfs evidence shows Btrfs allocation, subvolume and checksum state within the filesystem; it does not turn snapshots into backups or show every underlying device healthy.
ReferenceConfiguration & state1 section · depth on demand
Configuration, persistence and lifecycle
Distribution/platform context. Btrfs owns its internal volume, subvolume, snapshot, checksum and allocation semantics. LVM Snapshots and Storage Backup remain separate concepts.
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 Filesystems & Mounting → Btrfs. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/filesystems/index.html · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
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.
Quick lookup tables
Btrfs operational reference
Topic-specific lookup boundaries, proof limits and next-step Evidence for Btrfs.
| Lookup boundary | Topic-specific reference | Operational use |
|---|---|---|
| Scope / effective state | Btrfs is a copy-on-write filesystem and volume manager with subvolumes, snapshots, checksums and multi-device capabilities; its logical/physical allocation and metadata profiles differ from traditional single-device filesystems. | Establish exactly what this Topic owns before crossing into another subsystem. |
| Fast verification | Pin host + incident/change time → capture block topology and stable identities → validate partition/device metadata → validate filesystem identity/integrity and effective mount namespace/options → validate PV/VG/LV/device-mapper state where used → make one controlled change at the first failed boundary → re-read effective storage state → repeat original workload I/O/acceptance test. | Use the shortest evidence path first; a fast check is a boundary test, not blanket proof. |
| Verification chain | member block devices → Btrfs filesystem/device tree → chunk allocation/profiles → subvolume/snapshot → mount namespace → file I/O + checksums → workload | Trace requested/configured state through effective state to the observed workload result. |
| Failure boundary | Btrfs evidence proves Btrfs allocation, subvolume and checksum state within the filesystem; it does not turn snapshots into backups or prove every underlying device healthy. | Stop broad troubleshooting at the first boundary that is not supported by evidence. |
| Positive evidence | Correlated Linux storage evidence can establish this proof path: member block devices → Btrfs filesystem/device tree → chunk allocation/profiles → subvolume/snapshot → mount namespace → file I/O + checksums → workload | Use this observation only for the specific claim it actually supports. |
| Evidence limit | It does not independently prove behavior outside the captured device, metadata, mapping, mount or workload scope. Btrfs evidence proves Btrfs allocation, subvolume and checksum state within the filesystem; it does not turn snapshots into backups or prove every underlying device healthy. | Do not promote a local success signal into end-to-end or adjacent-dependency proof. |
| Next troubleshooting check | Continue from the first unproven boundary: prove backing identity, then on-device metadata, then filesystem/LVM mapping and effective mount/device state, and finally repeat the original workload I/O before any additional storage change. | Continue to the next unresolved boundary while preserving the original test condition. |
Btrfs · operational reference
Compact Linux state, persistence, verification and boundary reference for fast lookup.
| Reference boundary | Btrfs |
|---|---|
| Topic path | Filesystems & Mounting → Btrfs |
| Runtime state | Btrfs is a copy-on-write filesystem and volume manager with subvolumes, snapshots, checksums and multi-device capabilities; its logical/physical allocation and metadata profiles differ from traditional single-device filesystems. |
| Fast checks | - Capture Btrfs filesystem UUID, member devices, profiles and subvolume/mount selection. - Inspect device errors, scrub/balance status and allocation by data/metadata/system. - Distinguish subvolume snapshots from LVM/storage-array snapshots in recovery planning. - Validate application data and free-space behavior after repair/balance/resize work. |
| Verification chain | member block devices → Btrfs filesystem/device tree → chunk allocation/profiles → subvolume/snapshot → mount namespace → file I/O + checksums → workload Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return/regression → explicit Evidence boundary. Boundary chain: local authoritative state → adjacent dependency → effective/programmed state → original workload/request → return path or regression → explicit Evidence boundary. |
| Failure boundary | Btrfs evidence proves Btrfs allocation, subvolume and checksum state within the filesystem; it does not turn snapshots into backups or prove every underlying device healthy. Boundary chain: process credentials/namespace → path/mount lookup → DAC/ACL/LSM → filesystem metadata → block/device/backend → completion/read-back. |
| Persistence rule | Prove which configuration source owns the state, then prove that the running consumer loaded or generated the intended state. |