translator
987
edits
(subvolume extended) |
(Extend a volume) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- This is a boilerplot to help you --> | <!-- This is a boilerplot to help you --> | ||
{{UnderConstruction| | {{UnderConstruction|Rome wasn't built in a day}} | ||
<!-- Example titles --> | <!-- Example titles --> | ||
Line 61: | Line 61: | ||
When not otherwise specified, additional devices are handled as '''J'''ust a '''B'''unch '''o'''f '''D'''isks (JBOD) | When not otherwise specified, additional devices are handled as '''J'''ust a '''B'''unch '''o'''f '''D'''isks (JBOD) | ||
{{BoxInfo|Tip|In most cases it is advisable to use '''only one volume'''}} | {{BoxInfo|Tip|In most cases it is advisable to use '''only one volume'''}} | ||
=== Extend a volume === | |||
This is very easy because btrfs incorporates a volume manager. You only have to look for a free device. You may use a partition like ''/dev/sdz4'' or you may use a raw device like ''/dev/sdz''. Then add this device to your existing volume with '''btrfs device add'''. You may need to do a '''balance''' afterwards to redistribute some chunks. | |||
{{BoxWarning|Dont´t format the partition!|To add a device it should have NO filesystem on it. The btrfs volume manager will include the free storage of the device '''into the existing filesystem'''.}} | |||
=== move a volume to another disk === | === move a volume to another disk === | ||
Line 162: | Line 166: | ||
=== RAID 10 (automatic) === | === RAID 10 (automatic) === | ||
When using enough devices, Btrfs will distribute all data, so that it not only is mirrored but also striped. | When using enough devices with RAID 1, Btrfs will distribute all data, so that it not only is mirrored but also striped. | ||
== RAID 5 == | == RAID 5 == |