/disk/btrfs/filesystem/balance-start

balance-start

/disk/btrfs/filesystem/balance-start 的 RouterOS 命令参考。


disk/btrfs/filesystem/balance-start

Conditions: !smips Syscap: storage Type: Command

参数类型描述
data-profileenum (single | dup | raid0 | raid1 | raid1c3 | raid1c4 | raid10)要将 data 块转换为的配置文件:single 只存储一次块(仅在单设备时有意义),dup 在同一设备上存储两次,raid* 配置文件将它们分散到多个设备。在 add-device 之后更改配置文件,可将单盘文件系统转换为 Btrfs RAID,例如 data-profile=raid1。
metadata-profileenum (single | dup | raid0 | raid1 | raid1c3 | raid1c4 | raid10)要将 meta(元数据)块转换为的配置文件。元数据相比数据较小,因此 dup(单设备的默认值)或 raid1 是常见选择。
system-profileenum (single | dup | raid0 | raid1 | raid1c3 | raid1c4 | raid10)要将 system 块转换为的配置文件;保持与 metadata-profile 相同。
data-usagerange仅迁移使用率不超过此百分比的数据块,例如 data-usage=50 会跳过使用率超过一半的块。值越低,平衡越快但不完整。
metadata-usagerange仅迁移使用率不超过此百分比的元数据块。
system-usagerange仅迁移使用率不超过此百分比的系统块。