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 ?

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    Mainly what bothers me about the whole approach is the possibility of having the module not load one day, for whatever reason.

    I’ve had this happen with out-of-tree modules for other stuff. I’m fine with something like a controller or camera not working, can even cope with the GPU not working. Not ok with not being able to mount a filesystem that all your stuff is on.

    • Zwuzelmaus@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      13 hours ago

      not being able to mount a filesystem that all your stuff is on.

      No fun, ofc. But also no extra damage comes from it.

      The ZFS will stay OK, your disks as well. You can even pack them into a different PC and use them there, all will be fine. I have done it. It is NOT like traditional RAID that can work only with the right controller from the right brand.

    • ShortN0te@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      20 hours ago

      But thats why you dont do that? Either you go for an official package that will be held up to date with your kernel or other system packages or when you for some reason build it yourself or are side loading it, then you automate the process to be triggered during update.

      But this is true for every piece of software that depends on specific other software like libraries.

      Been running zfs on Debian and Ubuntu for years now and never had to gave it a thought during updates and even between release upgrades.