by KennyBlanken · 4y ago · 0 comments
In RAID-Z, you can lose one drive or have one drive with 'bit rot' (corruption of either the parity or data) and ZFS will still be able to return valid data (and in the case of bit rot, self-heal. ZFS "plays out" both scenarios, checking against the separate file checksum. If trusting one drive over another yields a valid checksum, it overwrites the untrusted drive's data.)
Regular RAID controllers cannot resolve a situation where on-disk data doesn't match parity because there's no way to tell which is correct: the data or parity.
How does Z1 recover the data in this case other than alerting you of which files it cannot repair so that you can overwrite them?
The drives have been champs overall, they're approaching an average runtime of about 8 years. During that 8 years we've lost about 20% of the drives in various ways.
It is almost guaranteed that when a drive fails, another drive will have a URE during the resilver process. This is a non-issue as we run RAID-Z3 with multiple online hotspares.
Are they used 24/7 at high iops? Why not nightly scrub?
thanks for the clarification.
in that sense, yes, of course, if you have bit rot and another disk failing, things go south with just two disk. ZFS is not magic.