Skip to content

Glossary

Balance — the operation that rewrites chunks to pack them, spread them across devices, or convert their profile (chapter 9).

Block group — see chunk; the two terms are used interchangeably, with block group the older name.

B-tree — the balanced tree structure btrfs stores nearly everything in, and the source of its name (chapter 2).

Checksum (csum) — a fingerprint stored for every data and metadata block; verified on read, the basis of rot detection (chapters 2 and 11).

Chunk — a large region of a device dedicated to one kind of content (data, metadata, system) under one profile (chapter 2).

Copy-on-write (CoW) — writing changed data to a fresh place and repointing, never overwriting in place; the design decision behind snapshots (chapter 1). Turned off per-file by chattr +C, at a price (chapter 12).

Degraded — a filesystem mounted and working with a device missing, and its copies therefore incomplete (chapter 8).

DUP — the profile keeping two copies of a chunk on the same device; the default for metadata on one disk (chapter 2).

Extent — a run of blocks holding one piece of a file; what snapshots share and edits split.

Profile — the placement rule for a chunk: single, DUP, RAID0, RAID1, RAID10, RAID5, RAID6 (chapters 2 and 8).

Qgroup — btrfs's quota group: the accounting unit that measures and can limit a subvolume's space (chapter 10).

RAID — laying data across several disks for speed, capacity or survival; in btrfs it is a per-chunk profile, not a separate layer (chapter 8).

Read-only snapshot — a frozen snapshot; the form backups and safety nets take (chapters 6 and 7).

Receive — btrfs receive: playing a send stream into a filesystem to rebuild the snapshot there (chapter 7).

Restore — btrfs restore: the offline salvage tool that writes files out of an unmounted or damaged filesystem (chapters 4 and 11).

Scrub — the background proofread: every block read, every checksum verified, mismatches repaired from a good copy where one exists (chapter 9).

Send — btrfs send: turning a read-only snapshot into a stream that can travel to another filesystem (chapter 7).

Snapshot — a subvolume born as a copy-on-write twin of another; instant, sharing blocks until either side changes (chapter 6). Not a backup (chapter 1).

Subvolume — an independent file tree inside one filesystem, sharing its pool of space (chapters 2 and 5).

Superblock — the identity block near the start of each device, pointing at the trees; backup copies live further in (chapters 2 and 11).

Top-level subvolume — the first subvolume, ID 5, parent of the rest, present in every filesystem (chapter 2).

UUID — a filesystem's unique identity, carried in its superblock and changeable offline by btrfstune (chapter 2; the lab's attempt is transcript t06).

Write hole — the RAID5/6 flaw: a crash mid-stripe leaving data and parity disagreeing, with a path to permanent corruption (chapters 8 and 14).