Difference between revisions of "Btrfs"

included example command
(btrfs Glossary added)
(included example command)
Line 70: Line 70:
=== Extend a 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.
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'''.}}
{{RootCmd|command=btrfs device add [/dev/sdz4] /}}
{{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
1,001

edits