Not a tech support question, I’m just curious. I recently installed it. Everything is working great, feels like I got a whole new laptop compared to my previous setup. I haven’t tried out any of btrfs’s unique features, so I dunno, nothing special I can report about it. Coming from Debian I was just surprized by how different Fedoras installer defaults are. Do you agree with btrfs being a default option?
I wouldn’t want to live without bootable snapshots anymore. Other stuff like compression and dedupping is handy but it’s the snapshots that are a killer feature for me.
I think it was like fedora 32 or 33 they started using btrfs as default. You’re a lil behind.
I agree with it though I always have. Fedora has always integrated newer technologies into their distro, usually after opensuse still hahaha. But they were one of the first to default to Wayland and pipewire as well. If it wasn’t for distros like fedora and opensuse adopting these as default then, Linux on the desktop would be 10 years behind now
Does it do like openSUSE and create the subvolumes and snapshots for you? Because I dread configuring these freaking things from my days in Arch, and I fell in love with openSUSE when I realised it does it for you.
(And no, the
archinstall
script doesn’t autoconfigure BTRFS unless you wipe your entire disk)Only @root and @home, no automatic snapshotting by default. I’ve been using “BTRFS assistant” to set them up
That’s been the default for years
The big reason is that btrfs has more features like copy on write, snapshots, subvolumes and data validation.
It used to eat data but that’s not been the case for a few years
It used to eat data but that’s not been the case for a few years
Isn’t that a RAID5/6 thing?
On Fedora, Btrfs has been the default for years now iirc. It’s modern and rock solid too (as long as you avoid Raid 5/6) and has some features I can’t live without nowadays:
- Copy-on-write (prevents file duplication)
- Snapshots (your systems broke? most easy rollback you will ever experience is with Btrfs in combination with Timeshift)
- on-the-fly compression (I’d recommend “–compression-force=zstd:3” as a mount option. Last I checked Fedora defaulted to using the lowest compression level, which is not the default, making you lose some gains. FYI about the “force”: btrfs by default checks whether a file is compressible or not, this is redundant to zstd, which does the same thing but quite a bit faster AFAIK)
CoW also prevents corrupt files in the case of power loss
Been using it on arch for three years, pretty solid fs if ask me. Even started using it for all my external drives. Never had a problem.
You can scrub and balance your fs with
brrfs -assistant
. Snapper is awesome. Still use deja-dup for a bit of daily backups of personal working files in $USER.The big struggle I see folks have with BTRFS is reclaiming space. However, that is with something like snap-pac and snapper setup.
The features of BTRFS are nice. Just a bit of a learning curve from my experience.
I run a desktop and laptop with BTRFS.
Fedora, like OpenSUSE that has btrfs by default, should be running scheduled scripts to do scrub, maintenance and dump old snapshots (either by number of snapshots or by age) on its own. Others having issue with btrfs are probably manually setting it up and not knowing the options or don’t have scripts that run on the back end. Having said that I do notice the partitions suggested for root are highly conservative, I usually add 30% on top of suggested root size and haven’t had issues in 7+ years
If you’re running btrfs manually and don’t setup clean up scripts I’m slightly confused how you get into trouble in the first place since that also means there won’t be any automated snapshots.
You can assign auto snapshots or create on demand, but whether or not you have a maintenance tool that does scrub, cleaning whatever is another story. I guess my point was something that has Btrfs as default install will also have some curation around the tools that optimize that system
Oh, absolutely not saying it isn’t user misconfiguration. I need to revisit my autoscrub setup and my maintenance tasks.
Just something to be aware of.
I’m using universalblue, a Fedora derivative, that defaults to, and maybe requires btrfs, and it’s been good. Because it’s important for the immutability and atomic updates I kind of feel like I shouldn’t do anything custom with it. I haven’t seen performance issues or other weirdness. If I had a choice though I would still use btrfs. It makes backups and snapshots very easy.
Ostree should be filesystem independent