Hacker News new | ask | show | jobs
by nprescott 1332 days ago
ZFS has been on my list of things I should learn "some day" for a long time. I installed Fedora a while ago and ended up opted into Btrfs without really trying. I have been pleasantly surprised with it and have used it on 2 low-impact servers and 3 personal computers for about a year.

I don't tend to do anything very interesting to tax the filesystem so it is most important that things just work day to day and the less maintenance the better. I found a few use cases[0] for the copy-on-write abilities of Btrfs (built into systemd-nspawn) after switching but even that was a case where something I was previously doing was made instantly faster rather than working out a btrfs incantation.

I've recently been trying out a nifty backup tool[1] to try out a snapshot feature locally. This one did require two btrfs specific commands to restore a backup (`btrfs {send,receive}`). Once again though, this was an additional feature I decided to try out and not really required for my day to day. For me personally Btrfs has been easy to adopt because of how low-friction it has been to add and learn incrementally.

I've still not learned ZFS.

[0]: https://idle.nprescott.com/2022/systemd-nspawn-and-btrfs.htm...

[1]: https://digint.ch/btrbk/

1 comments

I use ZFS (4 x 2TB drivers in mirror mode = 4TB pool) for my backup system since 2014. I never had to "learn" anything ZFS related, the interface is fairly simple if you're familiar with CLI apps and the documentation for ZFS is crystal clear. The system overall is very easy to reason about. Works in a "set-and-forget" mode for me, every now and then I create, destroy or resize some volumes. I had to swap a broken HDD and re-silver once in 5 years it was two hours work IIRC.
Awesome, that’s the kind of experience I’m looking for. Some tutorials make it seem really complex and intimidating.
The main drawback you have to keep in mind is that you cannot modify pool size. Every pool can have one or more volumes. For advanced features like ARC caching, I'm just using sensible defaults.

Also, keep in mind that ZFS need at least 8GB of RAM, possibly 16GB for up to 16TB of data.