Software RAID 1 problems
Quoted 1 line · Ninti Systems
After a ride a car, bingo, suddenly it would boot again.
I hope that prompted you to unplug and reseat all cabling, controllers, etc?
If you have equivalent replacement cables or controllers, handy I'd replace 'em.
Quoted 3 lines
It appears that two out of five md devices have disappeared. md0 was the /boot partition, and md2 was the swap partition, they are no longer present it seems.
Well, swap you don't need to worry about; just recreate it. BTW, it's often not needed:
http://www.tldp.org/HOWTO/Software-RAID-HOWTO-2.html#ss2.3
Quoted 6 lines
md1, md3 and md4 are all present but degraded I think (see output of mdadm below).
Basically, I'm wondering where to go from here:
- Does this look like a sudden-power-off issue or a broken HDD issue?
Check if the system fans are working.
Were you monitoring the system? It was running OK, and now 5 drives are bad? Wow.
Post your config files (e.g. /etc/raidtab or mdadm.conf) (Hopefully you have one!)
If not, look into the mdadm -E command (and installing mdadm if needed).
Quoted 3 lines
- Any advice on how to resolve this issue (get back the missing md devices and restore full arrays?
You may want to use raidhotadd (or the mdadm equivalent) to restore the partially functioning devices (1,3,4) to normal function before working on 0 - IF you know where their 'other halves' were. Otherwise, I'd say hold off 'till you get 0 back.
Quoted 18 lines
Raid Devices:
Personalities : [linear] [raid0] [raid1] [raid5]read_ahead1024 sectors md1 : active raid1 hdc2[1] 9767424 blocks [2/1] [_U] md3 : active raid1 hdc5[1] 58596992 blocks [2/1] [_U] md4 : active raid1 hdc6[1] 8297472 blocks [2/1] [_U] unused devices: <none>Raid Array Status:
[dev 9, 1]
/dev/md10403E3A6.F7F2F6AD.76F1F7FF.76CF2410 online [dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing [dev 22, 2]/dev/hdc20403E3A6.F7F2F6AD.76F1F7FF.76CF2410 good
[dev 9, 3]/dev/md30FD423CD.D4C229D1.9321323A.273CDDEB online [dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing [dev 22, 5]/dev/hdc50FD423CD.D4C229D1.9321323A.273CDDEB good
[dev 9, 4]/dev/md4EC8BAB76.40CC4FA6.C9FB44E3.1A8DE26A online [dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing [dev 22, 6]/dev/hdc6EC8BAB76.40CC4FA6.C9FB44E3.1A8DE26A good