Mikael Abrahamsson wrote:
On Thu, 26 Nov 2009, Asdo wrote:
Now I am scared about initiating the first scrub because if it turns
out that 3 areas in different disks have bad sectors I think am gonna
lose the whole array.
What kernel are you using?
As of 2.6.15 or so, sending "repair" (or "resync", I don't remember
exactly) to the md will read all data and if there is bad data, parity
will be used to write to the bad sector (it shouldn't kick the disk).
<http://linux-raid.osdl.org/index.php/RAID_Administration>
Kernel is ubuntu kernel 2.6.24 .
In the page you are linking I don't see mention of the fact that drives
won't be kicked with a "repair" or "check".
In fact regarding "check" this is written:
'check' just reads everything and doesn't trigger any writes unless a
read error is detected, in which case the normal read-error handing
kicks in.
"normal error handling" seems to suggest that if the read error is
uncorrectable the drive will be kicked. You don't think so?
Thank you
--
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