md raid 5 not working
Kanwar Ranbir Sandhu
m3freak at thesandhufamily.ca
Sat Dec 26 20:28:34 UTC 2009
Hello All,
I clean installed Fedora 12 on my PC which was previously running Fedora
11. In F11, I had three md RAID devices: two were configured as RAID 1,
and the third was RAID 5.
/dev/md0 and /dev/md1 came up fine. But, /dev/md3 (yes, that's what I
called it), did not. So, before I did anything else, I booted up with a
recovery CD. Strangely, the recovery CD saw all the raid devices and
brought them all up without any problem! At least I know my RAID 5 set
is ok.
My Linux RAID skills/experience aren't that deep, so I'm not sure how to
fix this. I'd appreciate any pointers.
Some details:
[ranbir at master Downloads]$ sudo fdisk -l /dev/sd[a-e]
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c9149
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 fd Linux raid autodetect
/dev/sda2 14 121601 976655610 fd Linux raid autodetect
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf61d63b2
Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 fd Linux raid autodetect
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a00c1
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 13 104391 fd Linux raid autodetect
/dev/sdc2 14 121601 976655610 fd Linux raid autodetect
Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8fa9253e
Device Boot Start End Blocks Id System
/dev/sdd1 1 60801 488384001 fd Linux raid autodetect
Disk /dev/sde: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf6ee8946
Device Boot Start End Blocks Id System
/dev/sde1 1 60801 488384001 fd Linux raid autodetect
[ranbir at master Downloads]$ sudo mdadm --examine /dev/sdb
/dev/sdb:
Magic : a92b4efc
Version : 0.90.00
UUID : 3a191f31:ba633013:ae9dbec1:62cec51b
Creation Time : Sat Aug 15 23:22:40 2009
Raid Level : raid5
Used Dev Size : 488386496 (465.76 GiB 500.11 GB)
Array Size : 976772992 (931.52 GiB 1000.22 GB)
Raid Devices : 3
Total Devices : 2
Preferred Minor : 2
Update Time : Tue Oct 13 13:03:16 2009
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 1
Spare Devices : 0
Checksum : 618de7ea - correct
Events : 13144
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 8 16 0 active sync /dev/sdb
0 0 8 16 0 active sync /dev/sdb
1 1 0 0 1 faulty removed
2 2 8 64 2 active sync /dev/sde
[ranbir at master Downloads]$ sudo mdadm --examine /dev/sdd
/dev/sdd:
Magic : a92b4efc
Version : 0.90.00
UUID : 3a191f31:ba633013:ae9dbec1:62cec51b
Creation Time : Sat Aug 15 23:22:40 2009
Raid Level : raid5
Used Dev Size : 488386496 (465.76 GiB 500.11 GB)
Array Size : 976772992 (931.52 GiB 1000.22 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 2
Update Time : Tue Oct 13 08:56:02 2009
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0
Checksum : 618da50d - correct
Events : 11958
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 48 1 active sync /dev/sdd
0 0 8 16 0 active sync /dev/sdb
1 1 8 48 1 active sync /dev/sdd
2 2 8 64 2 active sync /dev/sde
[ranbir at master Downloads]$ sudo mdadm --examine /dev/sde
/dev/sde:
Magic : a92b4efc
Version : 0.90.00
UUID : 3a191f31:ba633013:ae9dbec1:62cec51b
Creation Time : Sat Aug 15 23:22:40 2009
Raid Level : raid5
Used Dev Size : 488386496 (465.76 GiB 500.11 GB)
Array Size : 976772992 (931.52 GiB 1000.22 GB)
Raid Devices : 3
Total Devices : 2
Preferred Minor : 2
Update Time : Tue Oct 13 13:04:10 2009
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 1
Spare Devices : 0
Checksum : 618de85f - correct
Events : 13146
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 8 64 2 active sync /dev/sde
0 0 0 0 0 removed
1 1 0 0 1 faulty removed
2 2 8 64 2 active sync /dev/sde
Regards,
Ranbir
More information about the fedora-list
mailing list