Questions about fstab options on a fresh btrfs Manjaro installation

You find good Information about Btrfs in the wiki

and

https://btrfs.readthedocs.io/en/latest/

https://btrfs.readthedocs.io/en/latest/Administration.html

This said, this is your system, and it is up to you to tweak it to your needs. There is no “one fits all”.

  • Compression is good when the disk is slow, and the CPU is fast. But some people complain when compression is on :wink: see: New install with btrfs, is my filesystem compressed? If yes, how turn it off?
  • Autodefrag is good for some cases, but bad for others. So it is off by default
  • SSD this option is outdated. Btrfs will autodetect your ssd.
  • space_cache is best handled automatically by btrfs
  • The last column is 0 – This is the correct way to do it with btrfs, because btrfs itself does check the filesystem every time before mounting it. To set this to 1 will do nothing :wink:

my line looks like:

PARTUUID=...	/         	btrfs     	rw,noatime,compress=zstd:9,commit=300,subvol=@	0 0
1 Like