Re: Help raid10 recovery from 2 disks removed

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

 



On Thu, 24 Oct 2013, yuji_touya@xxxxxxxxxxxxxxxxxxxx wrote:

Hi all,

Unfortunately my raid10 array (2TB x 4 disks, total 4TB) stopped working and
mdadm command reports State "removed" and "faulty removed" disks are there.
Could someone advise me how to recover the raid10 array?

I read this page and jumped into here.
https://raid.wiki.kernel.org/index.php/RAID_Recovery

Your help is appreciated,

# mdadm --examine /dev/sd[b-z] | egrep 'Event|/dev/sd'
/dev/sdb:
        Events : 34220
this     0       8       16        0      active sync   /dev/sdb
  0     0       8       16        0      active sync   /dev/sdb
  2     2       8       48        2      active sync   /dev/sdd
  3     3       8       64        3      active sync   /dev/sde
/dev/sdc:
        Events : 8
this     1       8       32        1      active sync   /dev/sdc
  0     0       8       16        0      active sync   /dev/sdb
  1     1       8       32        1      active sync   /dev/sdc
  2     2       8       48        2      active sync   /dev/sdd
  3     3       8       64        3      active sync   /dev/sde
/dev/sdd:
        Events : 34224
this     2       8       48        2      active sync   /dev/sdd
  2     2       8       48        2      active sync   /dev/sdd
  3     3       8       64        3      active sync   /dev/sde
/dev/sde:
        Events : 34224
this     3       8       64        3      active sync   /dev/sde
  2     2       8       48        2      active sync   /dev/sdd
  3     3       8       64        3      active sync   /dev/sde

Try doing --stop and then do --assemble --force with sdb, sdd and sde. Whatever you do, don't include sdc because it looks like sdc has been out of the array for a long time (the event count is 8 when all the others are around 34220).

You need to figure out what happened to get sdb kicked out of the array, check logs and "dmesg". Also use smartctl to check sdb and see if it's failing.

From what I can see, sdc was kicked out a long time ago and you haven't
hard redundancy for most of the lifetime of the array.

--
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




[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