News for hackers. Stuff that matters.
Re:Bcachefs, an Introduction/Exploration by vbezhenar on Friday July 26, 2024 @03:49AM (#41076646)
Btrfs lost its credibility and many people would never trust it.
Re:Bcachefs, an Introduction/Exploration by greenavocado on Friday July 26, 2024 @03:56AM (#41076686)
As little as one year ago I experienced damage on a lightly used btrfs root partition on my laptop. Never again. I use ext4 root and ZFS for /home for snapshots and transparent compression now, all on top of LVM
Re:Bcachefs, an Introduction/Exploration by BSDobelix on Friday July 26, 2024 @04:45AM (#41076916)
So a year ago i tried to repeat my old trick damaging btrfs (as a user NOT root). Fill the volume with dd if=/dev/urandom of=./file bs=2M && sync && rm ./file then reboot the machine and yes it still works, it's not booting anymore, bravo.

BTW: Even SLES SuseLinux Enterprise says use XFS for data btrfs just for the OS i wonder why

Re:Bcachefs, an Introduction/Exploration by PlutoIsAPlanet on Friday July 26, 2024 @06:12AM (#41077387)
> BTW: Even SLES SuseLinux Enterprise says use XFS for data btrfs just for the OS i wonder why

Because XFS is far quicker for server-related software such as databases and virtual machines, which are weak points on btrfs due to its COW model.

Re:Bcachefs, an Introduction/Exploration by BSDobelix on Friday July 26, 2024 @06:45AM (#41077516)
Yeah and maybe additionally you want to keep your data and have a stable filesystem for them ;)
Re:Bcachefs, an Introduction/Exploration by josephcsible on Friday July 26, 2024 @01:03PM (#41080251)
Doesn't "chattr +C" give you back that performance, while still letting you keep the rest of the benefits of Btrfs?
Re:Bcachefs, an Introduction/Exploration by curt15 on Friday July 26, 2024 @01:13PM (#41080347)
Nodatacow is an ugly hack because it disables btrfs's core features for the affected data. It also should not be used with raid1.
Re:Bcachefs, an Introduction/Exploration by yjftsjthsd-h on Friday July 26, 2024 @10:45AM (#41079037)
> So a year ago i tried to repeat my old trick damaging btrfs (as a user NOT root). Fill the volume with dd if=/dev/urandom of=./file bs=2M && sync && rm ./file then reboot the machine and yes it still works, it's not booting anymore, bravo.

Do you know how ZFS handles that?

Re:Bcachefs, an Introduction/Exploration by BSDobelix on Friday July 26, 2024 @11:22AM (#41079376)
Without any problems. No other Filesystem i tested has that problem (ext4, XFS, ZFS, NTFS, JFS, Nilfs2)
Re:Bcachefs, an Introduction/Exploration by yjftsjthsd-h on Friday July 26, 2024 @11:50AM (#41079609)
Good to hear:) My understanding is that it's easier to break a CoW filesystem like that because if you run out of space you can't even delete things (because that requires writing that change), so I'm not surprised that the rest (the non-CoW filesystems) did fine, but I'm happy to hear that ZFS also handles it.