Difference between revisions of "Btrfs"

Extend a volume
m (Rome)
(Extend a volume)
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 ===
translator
987

edits