btrfs balance

Balance block groups on a btrfs filesystem. More information: https://btrfs.readthedocs.io/en/latest/btrfs-balance.html.

sudo btrfs balance status {{path/to/btrfs_filesystem}}

sudo btrfs balance start {{path/to/btrfs_filesystem}}

sudo btrfs balance start --bg -dusage={{15}} {{path/to/btrfs_filesystem}}

sudo btrfs balance start -musage={{20}},limit={{10}},devid={{devid}} {{path/to/btrfs_filesystem}}

sudo btrfs balance start -dconvert={{raid6}} -mconvert={{raid1c3}} {{path/to/btrfs_filesystem}}

sudo btrfs balance start -dconvert={{raid1}},soft {{path/to/btrfs_filesystem}}

sudo btrfs balance {{cancel|pause|resume}} {{path/to/btrfs_filesystem}}