Peter T. Breuer wrote:
Michael Tokarev <mjt@xxxxxxxxxx> wrote:
I think all modern drives support bad block remapping on both read and write.
But think about it: if there's a read error, it means the drive CAN NOT read
the "right" data for some reason (for some definition of "right" anyway) --
ie, the drive "knows" there's some problem with the data and it can't
I really don't want RAID to fault the disk offline in this case. I want
RAID to read from the other disk(s) instead, and rewrite the data on the
disk that gave the fail notice on that sector, and if that gives no error,
then just carry on and be happy ...
There where some patches posted to this list some time ago that tries to
do just that (or a discussion.. i don't remember). Yes, md code currently
doesn't do such things, and fails a drive after the first error -- it's
the simplest way to go ;)
/mjt
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html