btrfs device

Manage devices in a btrfs filesystem. More information: https://btrfs.readthedocs.io/en/latest/btrfs-device.html.

sudo btrfs device add {{path/to/block_device1}} [{{path/to/block_device2}}] {{path/to/btrfs_filesystem}}

sudo btrfs device remove {{path/to/device|device_id}} [{{...}}]

sudo btrfs device stats {{path/to/btrfs_filesystem}}

sudo btrfs device scan --all-devices

sudo btrfs device usage {{path/to/btrfs_filesystem}}