Options (7)
booleanAdd one or more devices to a btrfs filesystem
Example:
sudo btrfs {{[d|device]}} {{[a|add]}} {{path/to/block_device1 path/to/block_device2 ...}} {{path/to/btrfs_filesystem}}booleanAdd one or more devices to a btrfs filesystem
Example:
sudo btrfs {{[d|device]}} {{[a|add]}} {{path/to/block_device1 path/to/block_device2 ...}} {{path/to/btrfs_filesystem}}booleanRemove a device from a btrfs filesystem
Example:
sudo btrfs {{[d|device]}} {{[rem|remove]}} {{path/to/device1|device_id1 path/to/device2|device_id2 ...}}booleanDisplay error statistics
Example:
sudo btrfs {{[d|device]}} {{[st|stats]}} {{path/to/btrfs_filesystem}}booleanScan all disks and inform the kernel of all detected btrfs filesystems
Example:
sudo btrfs {{[d|device]}} {{[sc|scan]}} {{[-d|--all-devices]}}-d, --all-devicesbooleanScan all disks and inform the kernel of all detected btrfs filesystems
Example:
sudo btrfs {{[d|device]}} {{[sc|scan]}} {{[-d|--all-devices]}}booleanDisplay detailed per-disk allocation statistics
Example:
sudo btrfs {{[d|device]}} {{[u|usage]}} {{path/to/btrfs_filesystem}}Examples (5)
Add one or more devices to a btrfs filesystem
Remove a device from a btrfs filesystem
Scan all disks and inform the kernel of all detected btrfs filesystems
made by @shridhargupta | data from tldr-pages