On Wed, 9 Oct 2013, Guillaume Betous wrote:
Now, should I add the other drives ? How ?
Depends on what the problem is.
Is the initial drive that failed now totally unusable?
In that case, just do mdadm --manage /dev/md0 --add /dev/sd<whatever> with
a new drive.
But you said you received a second error, was this a read error on one of
good working drive (see other threads in archive) and so you don't have
any read errors (the information on those bad sectors will now be lost),
then you can resync properly.
I strongly recommend going to RAID6 to solve this problem in the future.
I recommend having
for x in /sys/block/sd[a-z] ; do echo 180 > $x/device/timeout ; done
in rc.local (or equivalent) to make sure you can handle timeouts properly
even for consumer drives.
--
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