diff options
Diffstat (limited to 'Documentation/btrfs-balance.asciidoc')
-rw-r--r-- | Documentation/btrfs-balance.asciidoc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/btrfs-balance.asciidoc b/Documentation/btrfs-balance.asciidoc index c456898e..fba55140 100644 --- a/Documentation/btrfs-balance.asciidoc +++ b/Documentation/btrfs-balance.asciidoc @@ -89,7 +89,7 @@ warned and has a few seconds to cancel the operation before it starts. The warning and delay can be skipped with '--full-balance' option. + Please note that the filters must be written together with the '-d', '-m' and -'-s' options, because they're optional and bare '-d' etc alwo work and mean no +'-s' options, because they're optional and bare '-d' etc also work and mean no filters. + `Options` @@ -143,7 +143,7 @@ The minimum range boundary is inclusive, maximum is exclusive. *devid=<id>*:: Balances only block groups which have at least one chunk on the given -device. To list devices with ids use *btrfs fi show*. +device. To list devices with ids use *btrfs filesystem show*. *drange=<range>*:: Balance only block groups which overlap with the given byte range on any @@ -247,7 +247,7 @@ provided. Let's use the following real life example and start with the output: -------------------- -$ btrfs fi df /path +$ btrfs filesystem df /path Data, single: total=75.81GiB, used=64.44GiB System, RAID1: total=32.00MiB, used=20.00KiB Metadata, RAID1: total=15.87GiB, used=8.84GiB @@ -273,7 +273,7 @@ data and thus will be faster. A typical filter command would look like: # btrfs balance start -dusage=50 /path Done, had to relocate 2 out of 97 chunks -$ btrfs fi df /path +$ btrfs filesystem df /path Data, single: total=74.03GiB, used=64.43GiB System, RAID1: total=32.00MiB, used=20.00KiB Metadata, RAID1: total=15.87GiB, used=8.84GiB @@ -288,7 +288,7 @@ usage filter. # btrfs balance start -dusage=85 /path Done, had to relocate 13 out of 95 chunks -$ btrfs fi df /path +$ btrfs filesystem df /path Data, single: total=68.03GiB, used=64.43GiB System, RAID1: total=32.00MiB, used=20.00KiB Metadata, RAID1: total=15.87GiB, used=8.85GiB @@ -309,7 +309,7 @@ reflinks updated frequently. # btrfs balance start -musage=50 /path Done, had to relocate 4 out of 89 chunks -$ btrfs fi df /path +$ btrfs filesystem df /path Data, single: total=68.03GiB, used=64.43GiB System, RAID1: total=32.00MiB, used=20.00KiB Metadata, RAID1: total=14.87GiB, used=8.85GiB @@ -327,7 +327,7 @@ further compaction: # btrfs balance start -musage=70 /path Done, had to relocate 13 out of 88 chunks -$ btrfs fi df . +$ btrfs filesystem df . Data, single: total=68.03GiB, used=64.43GiB System, RAID1: total=32.00MiB, used=20.00KiB Metadata, RAID1: total=11.97GiB, used=8.83GiB @@ -351,7 +351,7 @@ can be used to reclaim unused block groups to make it available. # btrfs balance start -dusage=0 /path -------------------- -This should lead to decrease in the 'total' numbers in the *btrfs fi df* output. +This should lead to decrease in the 'total' numbers in the *btrfs filesystem df* output. EXIT STATUS ----------- |