Is it a good idea to use btrfs file system instead of ext4 + LVM on a SSD?
Since the SSD of my laptop is a bit small, I like the compression and after-the-fact de-duplication offered by btrfs. But I really don’t know if btrfs can work with Qubes OS 4.0 and if btrfs is reliable now.
- Is btrfs slow?
- Do I have to manually re-balance the btrfs every week?
- Would btrfs randomly lose data?
- What happen if I get a sudden power failure?
- Can the btrfs fill up?
- Do I need to set any flag in /etc/fstab to make the most out of the SSD?
- How often should I defrag the btrfs?
- Does backuping a Qube count as creating a block level copy? Would that the possible problems described here?
- Can I use bind_dir of Qubes OS?
One of my qubes is actually a SQL server. I heard that btrfs might not work so well if the server frequently overwrites a file, unless I disable copy-on-write and compression. A reddit post says btrfs with compression can cause “write amplification” on frequently updated files, which can kill SSD in a server settings.