For the last 15 years I was running MDADM(Raid6)+EXT4 under Ubuntu Server on smaller arrays <25Tb. Typically, all my arrays grow over the years, so I was starting with 4-5 drives and ending around 8-10 drives - mdadm makes this very smooth.
Today I am building my next NAS system, with 10x20Tb drives which is supposed to work for the next 10 years. Surely, MDADM+EXT4 will work, but after working with TrueNAS/ZFS at work (where I like its background checks) I am wondering if there are other home-friendly open-source options with better tolerance to random errors while maintaining flexibility of MDADM.
I cannot go TrueNAS and/or pure ZFS because apparently they cannot expand/rebuild redundant arrays while maintaining full redundancy.
What options do I have to have these background consistency checks, and random bad sector recovery capability in addition to 2 spare disks? I.e. I would like to have capability to survive 2.5 disks failure (2 complete failures, and 1 disk with random bad sectors). Metadata/checksums will be stored on separate server SSD. My new NAS does have ECC memory.
- Is ZFS on top of MDADM a thing? This way I hope it is possible to expand it and have ZFS consistency checks.
- Are there any other robust ways to add data integrity/random error redundancy layer for the array?
- Any other robust suggestions?