Re: RAID 10 with 2 failed drives

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

 



Liviu> Please let me know if in this situation detailed below, there
Liviu> are chances of restoring the RAID 10 array and how I can do it
Liviu> safely.  Thank you!

It depends.  Do you have either of the two missing disks (/dev/sdc and
/dev/sdd) available at all?  Have you tried doing a badblocks recovery
of either of those disks onto a replacement disk and then trying to
re-assemble your array?

What happens if you do:

  mdadm --assemble --scan

or instead

  mdadm --assemble md99 /dev/sd[abcdef]1

Can you post the output message(s) you get when you try this?

I'm not an export on how the 0.90 version of the metadata mirrors data
across pairs, and then stripes across the pairs.  But if you've lost
both halves of a pair, then you're probably out of luck.

Have you looked at the raid wiki as well?  There's a bunch of good
advice there.

 https://raid.wiki.kernel.org/index.php/Linux_Raid

Good luck!  And post more details of your system as well.

Liviu> Liviu Petcu

Liviu> # mdadm --examine /dev/sd[abcdef]2

Liviu> /dev/sda2:
Liviu>           Magic : a92b4efc
Liviu>         Version : 0.90.00
Liviu>            UUID : df4ee56a:547f33ee:32bb33b1:ae294b6e
Liviu>   Creation Time : Fri Aug 14 12:11:48 2015
Liviu>      Raid Level : raid10
Liviu>   Used Dev Size : 1945124864 (1855.02 GiB 1991.81 GB)
Liviu>      Array Size : 5835374592 (5565.05 GiB 5975.42 GB)
Liviu>    Raid Devices : 6
Liviu>   Total Devices : 6
Liviu> Preferred Minor : 1

Liviu>     Update Time : Thu Sep 19 21:05:15 2019
Liviu>           State : active
Liviu>  Active Devices : 4
Liviu> Working Devices : 4
Liviu>  Failed Devices : 2
Liviu>   Spare Devices : 0
Liviu>        Checksum : e528c455 - correct
Liviu>          Events : 271498

Liviu>          Layout : offset=2
Liviu>      Chunk Size : 256K

Liviu>       Number   Major   Minor   RaidDevice State
Liviu> this     5       8        2        5      active sync   /dev/sda2

Liviu>    0     0       8       18        0      active sync   /dev/sdb2
Liviu>    1     1       0        0        1      faulty removed
Liviu>    2     2       0        0        2      faulty removed
Liviu>    3     3       8       66        3      active sync   /dev/sde2
Liviu>    4     4       8       82        4      active sync   /dev/sdf2
Liviu>    5     5       8        2        5      active sync   /dev/sda2
Liviu> /dev/sdb2:
Liviu>           Magic : a92b4efc
Liviu>         Version : 0.90.00
Liviu>            UUID : df4ee56a:547f33ee:32bb33b1:ae294b6e
Liviu>   Creation Time : Fri Aug 14 12:11:48 2015
Liviu>      Raid Level : raid10
Liviu>   Used Dev Size : 1945124864 (1855.02 GiB 1991.81 GB)
Liviu>      Array Size : 5835374592 (5565.05 GiB 5975.42 GB)
Liviu>    Raid Devices : 6
Liviu>   Total Devices : 6
Liviu> Preferred Minor : 1

Liviu>     Update Time : Thu Sep 19 21:05:15 2019
Liviu>           State : active
Liviu>  Active Devices : 4
Liviu> Working Devices : 4
Liviu>  Failed Devices : 2
Liviu>   Spare Devices : 0
Liviu>        Checksum : e528c45b - correct
Liviu>          Events : 271498

Liviu>          Layout : offset=2
Liviu>      Chunk Size : 256K

Liviu>       Number   Major   Minor   RaidDevice State
Liviu> this     0       8       18        0      active sync   /dev/sdb2

Liviu>    0     0       8       18        0      active sync   /dev/sdb2
Liviu>    1     1       0        0        1      faulty removed
Liviu>    2     2       0        0        2      faulty removed
Liviu>    3     3       8       66        3      active sync   /dev/sde2
Liviu>    4     4       8       82        4      active sync   /dev/sdf2
Liviu>    5     5       8        2        5      active sync   /dev/sda2
Liviu> /dev/sde2:
Liviu>           Magic : a92b4efc
Liviu>         Version : 0.90.00
Liviu>            UUID : df4ee56a:547f33ee:32bb33b1:ae294b6e
Liviu>   Creation Time : Fri Aug 14 12:11:48 2015
Liviu>      Raid Level : raid10
Liviu>   Used Dev Size : 1945124864 (1855.02 GiB 1991.81 GB)
Liviu>      Array Size : 5835374592 (5565.05 GiB 5975.42 GB)
Liviu>    Raid Devices : 6
Liviu>   Total Devices : 6
Liviu> Preferred Minor : 1

Liviu>     Update Time : Thu Sep 19 21:05:16 2019
Liviu>           State : clean
Liviu>  Active Devices : 4
Liviu> Working Devices : 4
Liviu>  Failed Devices : 2
Liviu>   Spare Devices : 0
Liviu>        Checksum : e52ce91f - correct
Liviu>          Events : 271499

Liviu>          Layout : offset=2
Liviu>      Chunk Size : 256K

Liviu>       Number   Major   Minor   RaidDevice State
Liviu> this     3       8       66        3      active sync   /dev/sde2

Liviu>    0     0       8       18        0      active sync   /dev/sdb2
Liviu>    1     1       0        0        1      faulty removed
Liviu>    2     2       0        0        2      faulty removed
Liviu>    3     3       8       66        3      active sync   /dev/sde2
Liviu>    4     4       8       82        4      active sync   /dev/sdf2
Liviu>    5     5       8        2        5      active sync   /dev/sda2
Liviu> /dev/sdf2:
Liviu>           Magic : a92b4efc
Liviu>         Version : 0.90.00
Liviu>            UUID : df4ee56a:547f33ee:32bb33b1:ae294b6e
Liviu>   Creation Time : Fri Aug 14 12:11:48 2015
Liviu>      Raid Level : raid10
Liviu>   Used Dev Size : 1945124864 (1855.02 GiB 1991.81 GB)
Liviu>      Array Size : 5835374592 (5565.05 GiB 5975.42 GB)
Liviu>    Raid Devices : 6
Liviu>   Total Devices : 6
Liviu> Preferred Minor : 1

Liviu>     Update Time : Thu Sep 19 21:05:16 2019
Liviu>           State : clean
Liviu>  Active Devices : 4
Liviu> Working Devices : 4
Liviu>  Failed Devices : 2
Liviu>   Spare Devices : 0
Liviu>        Checksum : e52ce931 - correct
Liviu>          Events : 271499

Liviu>          Layout : offset=2
Liviu>      Chunk Size : 256K

Liviu>       Number   Major   Minor   RaidDevice State
Liviu> this     4       8       82        4      active sync   /dev/sdf2

Liviu>    0     0       8       18        0      active sync   /dev/sdb2
Liviu>    1     1       0        0        1      faulty removed
Liviu>    2     2       0        0        2      faulty removed
Liviu>    3     3       8       66        3      active sync   /dev/sde2
Liviu>    4     4       8       82        4      active sync   /dev/sdf2
Liviu>    5     5       8        2        5      active sync   /dev/sda2




[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