ZFS has been running with upstream kernels for years. Ubuntu ships with precompiled module and Debian has a DKMS package which compiles ZFS against the stock kernel.
Comment on Is using zfs really worth the investment vs other filesystems?
Shimitar@downonthestreet.eu 1 day ago
It’s my personal opinion but: no
Btrfs is integrated in the kernel already and pretty solid. I have been running it for the last few years. I use Linux mdarray to create a raid5 and on top of it, format btrfs.
Never had issues, and yes it did catch data corruption (and fixed it) so I am pretty happy .
Zfs on the other hand, needs specific kernel patches and I don’t like that too much.
avidamoeba@lemmy.ca 1 day ago
fully agree.
i used zfs on arch many yeara ago and my updates would fall months behind.
then i switched to freebsd for better zfs support. but lost support of some linux apps
later i started using truenas and it works great.
un a related note, i switched to cachyos on my desktoo and laptoo and used btrfs for the first time and i absolutely love it.
so if youre building a nas from scratch, id say use btrfs, but if youre using an os that manages that stuff for you, zfs is a great choice.
Guiorgy@lemmy.ml 1 day ago
If you only require mirrors (RAID 1) then BTRFS works fine, but if you need something more and the system has good support for it (e.g. Ubuntu) then ZFS is better IMO. Yes you can use mdraid with BTRFS, but I prefer 1 ZFS over 10 different moving parts.