4 ms·
Btrfs is the default on a few systems already like Fedora, suse, Garuda, easynas, rockstor, and some others. It's not the default in Ubuntu and Debian, but I wo
by viraptor 4y ago
Btrfs is the default on a few systems already like Fedora, suse, Garuda, easynas, rockstor, and some others. It's not the default in Ubuntu and Debian, but I wouldn't say it didn't go anywhere either.
- jadbox 4y agoI'm using BTRfs on Fedora (by default install) and it's been great over the last year. The only thing to be aware of is to disable CoW/Hashing on database stores or streaming download folders. Otherwise it'll rehash each file update, which isn't needed.
- dnzm 4y agoI've been running it on my NAS-slash-homeserver for... 5 or 6 years now, I think. Root on a single SSD, data on a few HDDs in RAID1. It's been great so far. My desktops are all btrfs too, and the integration between OpenSUSE's package manager and btrfs snapshots has been useful more than once.
- giantrobot 4y agoWhy is it hashing files and not blocks? If a block is hashed and written there's no need to touch it again.
- 5e92cb50239222b 4y agoIt isn't, and the problem is not in "hashing files" (or blocks for that matter). Checksum calculation is very cheap, especially if you use default settings (which prefer simple & fast checksum functions like crc32/xxhash instead of strong cryptographic functions like sha256/blake2 that can be enabled manually). The real issue is that modifying large files on a COW filesystem causes it to spread that file's guts all over the disk (i.e. fragmentation), and results in serious performance loss over time. For some reason that doesn't happen nearly as much on ZFS and it's totally fine for VM and database workloads.
- curt15 4y agoIt looks like Fedora's adoption of btrfs unearthed another data corruption bug recently: https://bugzilla.redhat.com/show_bug.cgi?id=2169947 https://bugzilla.redhat.com/show_bug.cgi?id=2169947
- hackernudes 4y agoWow, that's funny - almost looks like bcachefs explaining a similar issue here https://lore.kernel.org/lkml/20230509165657.1735798-7-kent.overstreet@linux.dev/ https://lore.kernel.org/lkml/20230509165657.1735798-7-kent.o...