Skip to main content
Version: 7.25

balance-start


disk/btrfs/filesystem/balance-start​

Conditions: !smips
Syscap: storage
Type: Command

ArgumentTypeDescription
data-profileenum (single | dup | raid0 | raid1 | raid1c3 | raid1c4 | raid10)Profile to convert the data chunks to: single stores chunks once (only sensible with a single device), dup stores them twice on the same device, the raid* profiles spread them across multiple devices. Change the profiles after add-device to turn a single-disk file system into a Btrfs RAID, for example data-profile=raid1.
metadata-profileenum (single | dup | raid0 | raid1 | raid1c3 | raid1c4 | raid10)Profile to convert the meta (metadata) chunks to. Metadata is small compared to data, so dup (default for a single device) or raid1 are the common choices.
system-profileenum (single | dup | raid0 | raid1 | raid1c3 | raid1c4 | raid10)Profile to convert the system chunks to; keep it the same as metadata-profile.
data-usagerangeOnly relocate data chunks that are at most this percentage full, for example data-usage=50 skips chunks that are more than half full. Balancing is faster but incomplete with a lower value.
metadata-usagerangeOnly relocate metadata chunks that are at most this percentage full.
system-usagerangeOnly relocate system chunks that are at most this percentage full.