All of lore.kernel.org
 help / color / mirror / Atom feed
* 2nd Faulty drive while rebuilding array on RAID5
@ 2015-10-24 22:27 Guillaume ALLEE
  2015-10-25 23:38 ` Phil Turmel
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume ALLEE @ 2015-10-24 22:27 UTC (permalink / raw)
  To: linux-raid

Hi all,


Context:
On my RAID5 sdc was faulty. I bought a new HD, format it and add it to
my raid array. However during the rebuilding sda was detected as
faulty. Now I am not sure what to do...

I followed the steps from the wiki. See at the end my question ;-)

Thanks for your help.

$ uname -a
Linux htpc 3.8.0-35-generic #52~precise1-Ubuntu SMP Thu Jan 30
17:27:28 UTC 2014 i686 i686 i386 GNU/Linux

$ mdadm --version
mdadm - v3.2.5 - 18th May 2012

$ sudo mdadm --detail /dev/md1
/dev/md1:
        Version : 0.90
  Creation Time : Sun Jan  2 08:47:01 2011
     Raid Level : raid5
     Array Size : 5842101312 (5571.46 GiB 5982.31 GB)
  Used Dev Size : 1947367104 (1857.15 GiB 1994.10 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Sat Oct 24 23:36:30 2015
          State : clean, FAILED
 Active Devices : 2
Working Devices : 3
 Failed Devices : 1
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : 426d71a2:5b25a168:a4e2eff2:d305f1c1
         Events : 0.20213

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       1       8       19        1      active sync   /dev/sdb3
       2       0        0        2      removed
       3       8       51        3      active sync   /dev/sdd3

       4       8       35        -      spare   /dev/sdc3
       5       8        3        -      faulty spare   /dev/sda3



$ mdadm --examine /dev/sd[abcdefghijklmn]3 >> raid.status
http://pastebin.com/qaP8bvna

$ sudo mdadm --examine /dev/sd[a-z] | egrep 'Event|/dev/sd'
/dev/sda:
/dev/sdb:
/dev/sdc:
/dev/sdd:
/dev/sde:

I seems that some blocks of sda are not readable.Cf from dmesg
"[17852.126321] end_request: I/O error, dev sda, sector 1958539264"
Full dmesg available at:
http://pastebin.com/bBfcYjkg

Is there some way to re-add this disk (sda) in the array without mdadm
thinging it is a new one ?

I have seen from the wiki that I could try to recreate the array with
--assume-clean but I want to do that only in last resort.

Thanks,

Guillaume

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-29 12:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-24 22:27 2nd Faulty drive while rebuilding array on RAID5 Guillaume ALLEE
2015-10-25 23:38 ` Phil Turmel
2015-10-28 20:35   ` Guillaume ALLEE
2015-10-29 12:21     ` Phil Turmel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.