(One intermediate revision by the same user not shown)
Line 1:
Line 1:
==== Avoid to get out of space with btrfs! ====
==== Avoid to get out of space with btrfs! ====
Don't be stingy on storage space when creating a btrfs volume. A btrfs volume should normally only be 80% full. Then it is advisable to adjust the volume. In an emergency, 90% are okay too. But that is neither advantageous for the Btrfs volume nor for an SSD.
Don't skimp on storage space when creating a Btrfs volume. A Btrfs volume should normally be less than 90% full. Then it's recommended to adjust the volume. In an emergency, 95% (plus at least 5 GB free) is fine. However, this isn't beneficial for neither the Btrfs volume nor an SSD.
{{BoxWarning|Don't forget to include the snapshots in the bill|Manjaro is a rolling release distribution. There will be a lot of changes over time.}}
{{BoxWarning|Don't forget to include the snapshots in the bill|Manjaro is a rolling release distribution. There will be a lot of changes over time.}}
{{BoxInfo|Tip: Check how close you are to "out of space".| Look at '''Device unallocated:''' (not at ''Free (estimated):'') [https://forum.manjaro.org/t/could-not-boot-due-to-brfs-no-space-condition-how-should-i-keep-using-btrfs/92922/7 1]
{{BoxInfo|Tip: Check how close you are to "out of space".| Look at '''Device unallocated:''' (not at ''Free (estimated):'') [https://forum.manjaro.org/t/could-not-boot-due-to-brfs-no-space-condition-how-should-i-keep-using-btrfs/92922/7 1]
{{RootCmd|command=btrfs filesystem usage /}}
{{RootCmd|command=btrfs filesystem usage /}}
}}
}}
=== Get out of jail ===
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] /}}
* 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'''
* '''or delete some files''' you do not need
* Do this until your disk will be not more then 95% full
Latest revision as of 10:17, 22 July 2025
Avoid to get out of space with btrfs!
Don't skimp on storage space when creating a Btrfs volume. A Btrfs volume should normally be less than 90% full. Then it's recommended to adjust the volume. In an emergency, 95% (plus at least 5 GB free) is fine. However, this isn't beneficial for neither the Btrfs volume nor an SSD.
Don't forget to include the snapshots in the billManjaro is a rolling release distribution. There will be a lot of changes over time.
Tip: Check how close you are to "out of space". Look at Device unallocated: (not at Free (estimated):) 1
root # btrfs filesystem usage / COPY TO CLIPBOARD
Cookies help us deliver our services. By using our services, you agree to our use of cookies.