Hi,
----- Original Message -----
From: "Mikael Abrahamsson" <swmike@xxxxxxxxx>
To: "Janos Haar" <janos.haar@xxxxxxxxxxxx>
Cc: <linux-raid@xxxxxxxxxxxxxxx>
Sent: Thursday, April 22, 2010 5:00 PM
Subject: Re: Suggestion needed for fixing RAID6
On Thu, 22 Apr 2010, Janos Haar wrote:
My question is, there is any way, to force the array to keep the members
in even if have some reading errors?
What version of the kernel are you running? If it's running anywhere
recent kernel it shouldn't kick drives upon read error but instead
recreate from parity. You should probably send "repair" to the md device
(echo repair > /sys/block/mdX/md/sync_action) and see if that fixes the
bad blocks. I believe this came in 2.6.15 or something like that (google
if you're in that neighbourhood, if you're in 2.6.26 or alike then you
should be fine).
The kernel is. 2.6.28.10.
I am just tested one of the badblock-hdds, and the bad blocks comes
periodicaly, like a little and short scratch, and the drive can't correct
these by write.
Maybe this is why the kernel kicsk it out...
But anyway, the problem is still here, i want to rebuild the missing disk
(prior to replace the badblocked drives one by one), but the kernel kicks
out more 2 drive during the rebuild.
Thanks for the idea,
Janos
--
Mikael Abrahamsson email: swmike@xxxxxxxxx
--
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