btrfs
Manage btrfs copy-on-write filesystems
TLDR
SYNOPSIS
btrfs command [OPTIONS] [path]
DESCRIPTION
btrfs is the primary management tool for Btrfs (B-tree filesystem), a modern copy-on-write Linux filesystem with built-in support for snapshots, subvolumes, transparent compression, online resizing, multi-device pools, checksumming, and RAID0/1/10/5/6. The command dispatches to subcommand groups (subvolume, filesystem, device, balance, scrub, send, receive, quota, qgroup, inspect-internal, ...) that map directly to filesystem operations.Most subcommands operate on a mounted Btrfs path. The kernel does the heavy lifting; the btrfs binary issues IOCTLs to invoke balance, scrub, snapshot, defrag, and other operations. The send / receive pair enables efficient incremental replication of snapshots to remote hosts or backup volumes.
PARAMETERS
subvolume (su)
Manage subvolumes and snapshotsfilesystem (fi)
Manage filesystem propertiesdevice (dev)
Manage devices in the filesystembalance (bal)
Balance data across devicesscrub (sc)
Verify data integrityquota (qu)
Enable/disable quota supportqgroup (qg)
Manage quota groups
CAVEATS
Btrfs is under active development. Some features like RAID5/6 may have stability concerns. Regular scrubs are recommended for data integrity verification. Snapshots share space with their source until modified.
HISTORY
btrfs is the management tool for the B-tree file system, a modern Linux filesystem featuring advanced storage capabilities.
SEE ALSO
btrfs-subvolume(8), btrfs-filesystem(8), mkfs.btrfs(8)
