Difference between revisions of "Btrfs"

26 bytes added ,  4 months ago
Marked this version for translation
(How to balance metadata)
(Marked this version for translation)
 
Line 289: Line 289:
When you changed RAID-levels (for example from RAID 0 to RAID 1) there is no automatic duplication of the chunks. Only when writing further, btrfs will respect the changed RAID-level. This may not be what you intended. To complete the conversion to another RAID-level you need to tell btrfs to rewrite chunks where needed. You do this with a manual balance:
When you changed RAID-levels (for example from RAID 0 to RAID 1) there is no automatic duplication of the chunks. Only when writing further, btrfs will respect the changed RAID-level. This may not be what you intended. To complete the conversion to another RAID-level you need to tell btrfs to rewrite chunks where needed. You do this with a manual balance:


=== Metadata ===
=== Metadata === <!--T:149-->
It is rarely recommended to include blocks with metadata in a balance. It is advantageous, in exceptional cases, if the following conditions are currently met:
It is rarely recommended to include blocks with metadata in a balance. It is advantageous, in exceptional cases, if the following conditions are currently met:
You can check with:
You can check with:
Line 347: Line 347:
}}
}}


=== Get out of jail ===
=== Get out of jail === <!--T:150-->
This said, there is an '''easy way out''': Give btrfs more space ;-)
This said, there is an '''easy way out''': Give btrfs more space ;-)
* '''add a (unformatted) partition''' (for example a fast extern USB-Stick with 8GB) to the btrfs-volume with{{RootCmd|command=btrfs device add /dev/[sdz4] /}}
* '''add a (unformatted) partition''' (for example a fast extern USB-Stick with 8GB) to the btrfs-volume with{{RootCmd|command=btrfs device add /dev/[sdz4] /}}
translator
11,433

edits