I am in the process of making a DIY NAS box and I am debating between mdadm + BTRFS and ZFS. What are your experiences with using ZFS on Arch? Have you run into any major issues? Does ZFS being an external kernel module cause any annoyances with the frequent Arch kernel updates?
Give me the dirty details! Any recommendations or pitfalls I should avoid?
The only thing I'm noticing is that on some ocasions I can't run updates if a new kernel has just came out; the arch repo doesn't have the zfs modules for the new kernel yet. Usually a day later I can run updates without an issue.
Smooth sailing so far. As some said, sometimes a new kernel comes out and OpenZFS needs to catch up. But for that I keep linux-lts around which is pretty much always compatible so if latest regular kernel can't ZFS, there's always the LTS kernel to boot back up. You probably will use linux-lts anyway since you're building a NAS box and probably prioritize stability.
Thanks! Yeah I was definitely considering using linux-lts for stability, although a weird part of me is addicted to that Arch life of constantly living on the edge.
It has been years since I last used zfs. Here's what happened to me. I had a zpool nearly full. It died of 0 B/s read/write. Previously I had to recreate a zpool because a metadata error happened from loose connection. I forgot to export before unplug several times and processes accessing it went into D state, requiring a reboot to cleanup.