Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MDADM rebuild crashing
#1

After a recent power outage, my mdadm raid5 array will now lock up my machine when i try to rebuild it. I use this command:

 



Code:
/sbin/mdadm --assemble --force /dev/md0 /dev/sda /dev/sdc /dev/sdd




 

When i do an mdadm --examine i get this:

 



Code:
[root@localhost realms]# /sbin/mdadm --examine /dev/sda
/dev/sda:
      Magic : a92b4efc
    Version : 00.90.00
       UUID : 0b5156a9:a5f3a4ef:3262aff4:7e565f58
Creation Time : Thu Jun 12 14:12:07 2008
Raid Level : raid5
Used Dev Size : 156290816 (149.05 GiB 160.04 GB)
Array Size : 312581632 (298.10 GiB 320.08 GB)
  Raid Devices : 3
Total Devices : 3
Preferred Minor : 0

Update Time : Mon Aug 25 18:19:29 2008
      State : active
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0
   Checksum : a57fc0d4 - correct
     Events : 0.15

     Layout : left-symmetric
Chunk Size : 64K

  Number   Major   Minor   RaidDevice State
this     0       8        0        0      active sync   /dev/sda

  0     0       8        0        0      active sync   /dev/sda
  1     1       8       32        1      active sync   /dev/sdc
  2     2       8       48        2      active sync   /dev/sdd
[root@localhost realms]# /sbin/mdadm --examine /dev/sdc
/dev/sdc:
      Magic : a92b4efc
    Version : 00.90.00
       UUID : 0b5156a9:a5f3a4ef:3262aff4:7e565f58
Creation Time : Thu Jun 12 14:12:07 2008
Raid Level : raid5
Used Dev Size : 156290816 (149.05 GiB 160.04 GB)
Array Size : 312581632 (298.10 GiB 320.08 GB)
  Raid Devices : 3
Total Devices : 3
Preferred Minor : 0

Update Time : Mon Aug 25 18:19:29 2008
      State : active
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0
   Checksum : a57fc0f6 - correct
     Events : 0.15

     Layout : left-symmetric
Chunk Size : 64K

  Number   Major   Minor   RaidDevice State
this     1       8       32        1      active sync   /dev/sdc

  0     0       8        0        0      active sync   /dev/sda
  1     1       8       32        1      active sync   /dev/sdc
  2     2       8       48        2      active sync   /dev/sdd
[root@localhost realms]#
[root@localhost realms]# /sbin/mdadm --examine /dev/sdd
/dev/sdd:
      Magic : a92b4efc
    Version : 00.90.00
       UUID : 0b5156a9:a5f3a4ef:3262aff4:7e565f58
Creation Time : Thu Jun 12 14:12:07 2008
Raid Level : raid5
Used Dev Size : 156290816 (149.05 GiB 160.04 GB)
Array Size : 312581632 (298.10 GiB 320.08 GB)
  Raid Devices : 3
Total Devices : 3
Preferred Minor : 0

Update Time : Mon Aug 25 18:19:29 2008
      State : active
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0
   Checksum : a57fc108 - correct
     Events : 0.15

     Layout : left-symmetric
Chunk Size : 64K

  Number   Major   Minor   RaidDevice State
this     2       8       48        2      active sync   /dev/sdd

  0     0       8        0        0      active sync   /dev/sda
  1     1       8       32        1      active sync   /dev/sdc
  2     2       8       48        2      active sync   /dev/sdd
[root@localhost realms]#




 

In my /etc/mdadm.conf i have this:

 



Code:
DEVICE /dev/sda /dev/sdc /dev/sdd
ARRAY /dev/md0 level=raid5 devices=3 UUID=0b5156a9:a5f3a4ef:3262aff4:7e565f58




 

When i type /sbin/mdadm --assemble --scan -v i get this

 



Code:
[root@localhost realms]# /sbin/mdadm --assemble --scan -v
mdadm: looking for devices for /dev/md0
mdadm: /dev/sda is not one of 3
mdadm: /dev/sdc is not one of 3
mdadm: /dev/sdd is not one of 3
mdadm: no devices found for /dev/md0




 

Any help on this matter would be greatly appreciated. If there is any other info you need, please let me know. I have some very important data i need to get off these drives. I have recently purchased an Adaptec RAID controller to put in but haven't had a chance to do it yet. Thanks in advance for your help.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)