Hacker News new | ask | show | jobs
by tutfbhuf 2028 days ago
Is Btrfs stable yet?
4 comments

For most use-cases, yes. But not if you plan on using raid5+ [0]

[0]: https://btrfs.wiki.kernel.org/index.php/Gotchas#Parity_RAID

My own experience indicates it's brittle to power failures and will corrupt in annoying ways in the event of a power failure (or hard reboot) as of ~1 year ago.

Year isnt as useful as kernel version.
I was running whatever Arch's Linux kernel was at the time. 5.4 I believe? Arch is pretty much bleeding edge, so year is relevant.
Yup, in Arch even month, week and day is relevant.
Btrfs is default in Fedora 33.
Fedora also has Wayland as default. If Debian had Btrfs as default, that would be an argument.
It's also been the default for the root filesystem in openSUSE since 2012. It also integrates with the package manager - zypper creates pre- and post- snapshots when installing updates, and the snapper utility makes it easy to roll back if your system is busted after installing an update. It's saved my bacon on multiple occasions.

(btrfs also used to be the default for /home, though that changed at some point. When I made a new install last year the installer suggested xfs by default.)

I'm only ever switching to a new filesystem if its correctness has been formally verified.
For which filesystems is that case?
None. But the tools are there, so it should be possible.