Per title. From quick googling, I understand that zfs is a filesystem that provides some kind of software RAID and resiliency (eg CRC checks at the block level). Is my understanding right that it just good for detecting storage corruption, but not really self healing?

My home server just for a mini storage/ media server and I am broke to afford RAID. So at the moment, it’s just 2 consumer grade drives .

So pros with zfs I can think of, I get slightly better data resiliency.

But after reading the docs, the cons for me are that a) it’s not so straightforward/ somewhat complex to tune and use, b) it’s not default in mainline linux, and c) slightly lower performance?

What do you think and is it worth learning to use it vs just slapping a plain xfs/ ext4 ?

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    3 hours 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.

    • dadarobot@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 minutes 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.

      on a related note, i switched to cachyos on my desktop and laptop 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.