It seems ZFS is much more robust than ext4, specially for handling power failures or bad-blocks/media-corruption.
There's old literature from 2013, 2014... here and there about ZFS as a boot filesystem...
My old SoHo server is starting to give me bad-blocks and I plan to replace it with new hardware. I'll be virtualizing things on it, both in VirtualBox and in docker. VirtualBox images are aimed to be "progressively converted" to docker images and then remove VirtualBox and go only with dockers.
But time elapses. We are on 2020 now.
My concern is about storage. The filesystem for the whole SoHo server.
I've seen ZFS has tons of configurations for redundancy. In the case for a SOHO server, I'd bet for "at least" two phisical drives, but also IDK if that's the way to go.
This is not a NAS-only server. It'll be serving firewalling/routing, it's also serving a web-server for development, an IMAP server, MySQL, and other things. All them are virtualized on the main OS. So it's not "a NAS", it's a full SoHo server.
Questions
- Is it a good idea to have ZFS as the boot filesystem for a SOHO server?
- Why ubuntu and other distros are still offering ext4 instead zfs as the default?
- In case it is a good idea, what's the proper way to set it up?
- Any "configuration recipe"?