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 ?

  • FlexibleToast@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    ZFS does have that feature now, sort of. You can add drives to a vdev now, but the vdev will keep its original shape. So for example if you had 4 drives in a RAIDZ it would be 3 stripe + 1 parity. If you add a 5th drive it will stay 3+1 and not efficiently use the space. It doesn’t rebalance to 4+1. It’s strongly recommended not to do it.