Re: RAID 5 : recovery after failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is the 2nd message I received.
For now my RAID has restarted with only sdc, sde and sdf.

I don't know if /dev/sdb is still usable, or if this was only a
desynchro failure.
How to know ?

------------------------------------------------------------------------------------------

This is an automatically generated mail message from mdadm
running on sam

A FailSpare event had been detected on md device /dev/md127.

It could be related to component device /dev/sdb1.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md127 : active raid5 sde1[2] sdb1[5](F) sdc1[0](F) sdd1[6] sdf1[4]
      5860535808 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/2] [__UU]
      [============>........]  recovery = 62.0%
(1212358192/1953511936) finish=854.7min speed=14451K/sec

2013/10/9 Mikael Abrahamsson <swmike@xxxxxxxxx>:
> 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



-- 
Pour la santé de votre ordinateur, préférez les logiciels libres.
Lire son mail : http://www.mozilla-europe.org/fr/products/thunderbird/
Browser le web : http://www.mozilla-europe.org/fr/products/firefox/
Suite bureautique : http://www.libreoffice.org/download/
--
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




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux