translator
1,018
edits
(Bulletproof) |
(BoxWarning) |
||
Line 325: | Line 325: | ||
=== 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 (unformatted) partition''' (for example a fast extern USB-Stick with 8GB) to the btrfs-volume with{{RootCmd|command=btrfs device add /dev/[sdz4] /}} | ||
{{BoxDanger|Do NOT remove this USB-Stick|From now on this partition belongs to your volume! '''Do not boot without it'''. If possible do not reboot at all in this stage! This USB-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''' | ||
* '''or delete some files''' you do not need | * '''or delete some files''' you do not need | ||
Line 335: | Line 335: | ||
<!--T:77--> | <!--T:77--> | ||
* '''balance''' your volume with a filter(50%) This '''will''' take some time ! | * '''balance''' your volume with a filter(50%) This '''will''' take some time !{{RootCmd|command=btrfs balance start -dusage=50 /}} | ||
{{RootCmd|command=btrfs balance start -dusage=50 /}} | {{BoxSuccess|Tip: Want to watch the volume clean up ?|{{UserCmd|command=pamac install procps-ng}}}} | ||
{{BoxSuccess|Tip: Want to watch the volume clean up ?| | {{BoxSuccess||After that inside a terminal: {{RootCmd|command=watch -n 60 btrfs filesystem usage -h / }}}} | ||
{{UserCmd|command=pamac install procps-ng}}}} | * If neccesary '''balance''' your volume with a filter(90%) This '''will''' take some more time !{{RootCmd|command=btrfs balance start -dusage=95 /}} | ||
{{BoxSuccess|After that inside a terminal: | |||
{{RootCmd|command=watch -n 60 btrfs filesystem usage -h / }}}} | |||
* '''balance''' your volume with a filter( | |||
{{RootCmd|command=btrfs balance start -dusage=95 /}} | |||
<!--T:78--> | <!--T:78--> | ||
* '''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'''. | ||
* | * After "btrfs remove" has finished successfully, you can remove the USB stick. | ||
=== Stay out of jail === <!--T:79--> | === Stay out of jail === <!--T:79--> |