Difference between revisions of "Btrfs"

No change in size ,  2 years ago
m
changed command
m (add[])
m (changed command)
Line 266: Line 266:
=== Get out of jail ===
=== Get out of jail ===
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 partition''' (for example a extern USB-Stick with 8GB) to the btrfs-volume with{{RootCmd|command=btrfs device add [/dev/sdz4] /}}
* '''add a partition''' (for example a extern USB-Stick with 8GB) to the btrfs-volume with{{RootCmd|command=btrfs device add /dev/[sdz4] /}}
* From now on this usb-partition belongs to your volume! Do not boot without it. '''Do not reboot''' at all in this stage! This stick has to stay until btrfs device remove has completed.
* From now on this usb-partition belongs to your volume! Do not boot without it. '''Do not reboot''' at all in this stage! This stick has to stay until btrfs device remove has completed.
* look for old snapshots you don´t need, remove them '''now'''
* look for old snapshots you don´t need, remove them '''now'''
Line 275: Line 275:


* '''balance''' your volume with a filter(!)
* '''balance''' your volume with a filter(!)
* '''remove the added partition''' from the volume with {{RootCmd|command=btrfs device remove [/dev/sdz4] /}}
* '''remove the added partition''' from the volume with {{RootCmd|command=btrfs device remove /dev/[sdz4] /}}
* This will take some time ! '''Do not reboot until this step is complete'''.
* This will take some time ! '''Do not reboot until this step is complete'''.
* Now you may remove the USB-Stick.
* Now you may remove the USB-Stick.
translator
1,001

edits