meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:fs:btrfs:hints [2021/03/02 10:17] – created niziaklinux:fs:btrfs:hints [2021/03/02 11:49] (current) niziak
Line 3: Line 3:
 ===== Attentions ===== ===== Attentions =====
  
 +  * 2021-03: Keep at least 10GB free space !
   * 2021-03: Never ever let BTRFS to be out of space. Balande data chunks regulary to always make space for growing metadatas (snapshots)   * 2021-03: Never ever let BTRFS to be out of space. Balande data chunks regulary to always make space for growing metadatas (snapshots)
   * 2021-03: Do not use quota groups (it is not stable)   * 2021-03: Do not use quota groups (it is not stable)
   * 2021-03: Do not use BTRFS with HDDs with ''bfq'' scheduler. Performance accesing metadata is very poor and can hause system lockups.   * 2021-03: Do not use BTRFS with HDDs with ''bfq'' scheduler. Performance accesing metadata is very poor and can hause system lockups.
 +  * [[https://wiki.debian.org/Btrfs#Other_Warnings|Other Warnings]]
  
 ===== Hints ===== ===== Hints =====
   * Default node size for ''mkfs.btrfs'' is 16kB and offers best performance. If file is small enough to be stored in btrfs leaf metadata it is directly stored in metadatas (max file size if 16384-148 heaf header)   * Default node size for ''mkfs.btrfs'' is 16kB and offers best performance. If file is small enough to be stored in btrfs leaf metadata it is directly stored in metadatas (max file size if 16384-148 heaf header)
 +
 +
 +
 +  Depending on your chosen Linux distribution, you might want to follow the latest 5.10 LTS kernel which is supposed to contain numerous btrfs related improvements. However, be warned that the current 5.10 kernel also has several btrfs related performance regression issues so definitely do not rush to upgrade even if you are capable of doing so.
 +