translator
1,021
edits
(Btrfs needs no maintenance Warning) |
(-musage is not recommended because it rotates metadata) |
||
Line 64: | Line 64: | ||
If you have some "free" space on your volume, but the unallocated space is below 10% (or close to 10%), you can help btrfs to rebalance some parts. | If you have some "free" space on your volume, but the unallocated space is below 10% (or close to 10%), you can help btrfs to rebalance some parts. | ||
{{RootCmd|command=btrfs balance start | {{RootCmd|command=btrfs balance start -dusage=50 /}} | ||
Btrfs looks for chunks that contain more than 50% free space. It will take 2 of them and then move everything into a new chunk. After that, a chunk is released. This continues until each chunk is at least 50% full. | Btrfs looks for chunks that contain more than 50% free space. It will take 2 of them and then move everything into a new chunk. After that, a chunk is released. This continues until each chunk is at least 50% full. | ||
Line 70: | Line 70: | ||
If you have less than 20% unallocated space, please do the following: | If you have less than 20% unallocated space, please do the following: | ||
{{RootCmd|command=btrfs balance start | {{RootCmd|command=btrfs balance start -dusage=75 /}} | ||
Btrfs looks for chunks that are less than 75% full. | Btrfs looks for chunks that are less than 75% full. | ||
It will take 4 of them and then move everything into 3 new chunks. After that, a chunk can be released. This continues until each chunk is at least 75% full. | It will take 4 of them and then move everything into 3 new chunks. After that, a chunk can be released. This continues until each chunk is at least 75% full. | ||
If you still have less than 20% unallocated space, please do the following: | If you still have less than 20% unallocated space, please do the following: | ||
{{RootCmd|command=btrfs balance start | {{RootCmd|command=btrfs balance start -dusage=90 /}} | ||
=== scrub === | === scrub === |