The new ZimaOS running on
ZimaBoard2 has a strange choice.
They use MDraid instead of btrfs

What I don't understand is that
btrfs automatically detects and fixes bitrotting, while MDraid doesn't.
So why?
Seriously, their ZimaOS is based on Linux and it already has btrfs compiled and installed with all the tools, so why not use it for every RAID?
In my case, my NAS is based on four PowerPC 4xx SoC @ 133MHz nodes with 128MB of SDRAM each.
I have both low CPU power and low RAM, so I don't use btrfs because I don't have the resources to run it.
I built a bare-bones minimal Linux kernel, and the rootFS is based on MUSL. MDraid runs more than decently, aided by some programs I wrote in userspace to continuously monitor disk health (via S.M.A.R.T.) and continuously check the hash of the most important files. Essentially, I wrote an application that cyclically calculates the MD5 of the files to be monitored (90% read-only archives, pdf, c-sources, txt, tgz, ..., but I can modify them and update the MD5 on the trusted node), then queries a trusted node over the network to see if the checksum is correct.
If it's incorrect, it means there's been silent corruption, and MDraid has NOT detected it, so potentially I could have a healthy copy on disk1, which is silently getting corrupted by the corrupt copy on disk2, because they are both mirrored.
So far, in 10 years, this has only happened twice, I think it has a very low probability of happening, but with SSDs&C... FLASH-based... who knows? I only have experience with HDDs., anyway, in both cases, a corrupted bit on the mirror also corrupted the copy on the second HDD!
This is where a DVD-RAM backup literally saves your day, because if that corrupt bit is in the right place, you might not be able to unpack a compressed archive and lose some stuff.
-
But! But the Zima can have up to 16GB of RAM, and its CPU is an Intel N150 class, which is decidedly powerful.
They have all the resources to use btrfs for raid1 (mirroring), yet they rely on MDraid...
I think I didn't understand their point
