Limits
What btrfs cannot do, stated in one place so no earlier chapter's enthusiasm can be quoted against it.
A snapshot is not a backup
The rule from chapter 1, last because it is the limit that loses people the most: snapshots share the disk, the machine and the fate of the original. They defend against mistakes, not against hardware, fire, theft, ransomware running as root, or a formatting command. Only a copy somewhere else is a backup, and chapter 7 is the only chapter that makes one.
Checksums detect; copies repair
A checksum mismatch on a single-copy
profile tells you a file is damaged — it
cannot tell you what the file should have
been. The lab proved the detection half
for real (transcript t04): four flipped
bytes, named to the byte range, and the
file still wrong. Repair needs a second
good copy: RAID1, RAID10, or a backup.
DUP metadata gives the trees a twin on one
disk; your data on single has no twin.
Parity carries the write hole
RAID5 and RAID6 keep the long-standing warning of chapter 8: a crash mid-stripe can leave parity and data disagreeing, with a path to permanent corruption. Kernel work is narrowing the hole; it has not, at the time of writing, been declared closed. Metadata on RAID5/6 is out of the question entirely.
Copy-on-write fights some workloads
Files rewritten in place — databases,
VM images, torrent clients at full
throttle — fragment under CoW and slow
down, sometimes badly. The escapes
(chattr +C, chapter 12) trade away
checksums and snapshotting for those
files. Workloads that are one long random
rewrite may simply belong on ext4 or XFS
(chapter 13), and choosing so is not a
betrayal of this guide.
Space accounting will confuse you
df, btrfs filesystem usage and
du measure different things on btrfs —
chunks allocated versus bytes stored
versus logical file sizes — and a
filesystem can report free space while
refusing writes for want of a free
chunk of the right profile. Everyone
meets this once (chapter 15). It is a
learning curve, and it is steepest
exactly when the filesystem is full,
which is when nobody learns well. Keep
headroom.
Quotas cost
Chapter 10's honesty, repeated: qgroup accounting taxes every write, has a bug-scarred history on big snapshot-heavy systems, and the documentation itself advises restraint. A tool whose own manual waves a yellow flag deserves the flag repeated.
Repair is a salvage operation
btrfs check --repair cannot rebuild
what is gone, guesses where it should
not, and is a last resort behind imaging
and btrfs restore (chapter 11). Some
damage — both copies of a metadata block,
a dead device in a RAID0 — is simply
loss, and the guide will not pretend
otherwise.
Younger, and still moving
Btrfs is newer than ext4 and its feature
set is still settling: defaults have
changed within living memory (the lab's
own mkfs printed a note about it), some
corners (quotas, parity, parts of the
reporting) are rougher than others, and
the btrfs filesystem show of one
multi-device image set crashed outright
in the lab's build (transcript t02b) —
the filesystem was fine, the reporter was
not. Trust is earned per component, and
chapter 15 exists because of it.