Robin Bowes wrote:
I envisage something like:
md attempts read
one disk/partition fails with a bad block
md re-calculates correct data from other disks
md writes correct data to "bad" disk
- disk will re-locate the bad block
Probably not that simple, since some times multiple blocks will go
bad, and you wouldn't want the entire system to come to a screeching
halt whenever that happens.
A more consistent and risk-free way of doing it would probably be to
do the above partial resync in a background thread or so?..