Options (2)
booleanShow the status of a running or paused balance operation
Example:
sudo btrfs {{[b|balance]}} status {{path/to/btrfs_filesystem}}--bgbooleanBalance data block groups which are less than 15% utilized, running the operation in the background
Example:
sudo btrfs {{[b|balance]}} start {{[--bg|--background]}} -dusage={{15}} {{path/to/btrfs_filesystem}}Examples (7)
Show the status of a running or paused balance operation
Balance all block groups (slow; rewrites all blocks in filesystem)
Balance data block groups which are less than 15% utilized, running the operation in the background
Balance a max of 10 metadata chunks with less than 20% utilization and at least 1 chunk on a given device `devid` (see `btrfs filesystem show`)
Convert data blocks to the raid6 and metadata to raid1c3 (see mkfs.btrfs(8) for profiles)
Convert data blocks to raid1, skipping already converted chunks (e.g. after a previous cancelled conversion operation)
made by @shridhargupta | data from tldr-pages