I recently reinstalled latest manjaro cinnamon minimal iso to my nvme using btrfs as my filesystem to take advantage of its magic like snapshots and compression
i use the latest lts 5.15.28-1 and planning to use the latest avalaible lts kernel
after a lot of reading from various sources i set my /etc/fstab like this
UUID=6AB2-02F1 /boot/efi vfat umask=0077 0 2
UUID=3ccce400-6cf3-4d91-99a0-d5228a8fe2d3 / btrfs subvol=/@,defaults,noatime,commit=120,compress-force=zstd 0 0
UUID=3ccce400-6cf3-4d91-99a0-d5228a8fe2d3 /home btrfs subvol=/@home,defaults,noatime,commit=120,compress-force=zstd 0 0
UUID=3ccce400-6cf3-4d91-99a0-d5228a8fe2d3 /var/cache btrfs subvol=/@cache,defaults,noatime,commit=120,compress-force=zstd 0 0
UUID=3ccce400-6cf3-4d91-99a0-d5228a8fe2d3 /var/log btrfs subvol=/@log,defaults,noatime,commit=120,compress-force=zstd 0 0
any thoughts?
also i stumbled upon btrfs maintanace package
and tweaked balance,scrub,defrag and trim settings mostly in defaults all running monthly except trim for which i use weekly?
is this frequency optimal?
also correct me if i am wrong is btrfsmaintance settings right?
# Run periodic defrag on selected paths. The files from a given path do not
# cross mount points or other subvolumes/snapshots. If you want to defragment
# nested subvolumes, all have to be listed in this variable.
# (Colon separated paths)
BTRFS_DEFRAG_PATHS="/:/home:/var/cache:/var/log"
finally any wisdom regarding btrfs maintenance in general?