for anyone who reads this.... Software RAID on fedora Core 5 using CLI.
ok, so let's break down the cat /proc/mdstat first
Code:
[root@phoenix-nest /]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[0]
104320 blocks [2/1] [U_]
md1 : active raid1 sdb2[0] sda2[1]
4192896 blocks [2/2] [UU]
md2 : active raid1 sdb3[0]
308271168 blocks [2/1] [U_]
unused devices: <none>
ok, so there are two raid arrays here missing a drive/partition. md0 and md2. How can you tell? well, notice md1 where there are two U's? [UU] That means it's working. I have two hard drives. sda and sdb. You'll notice that both drives with both partitions are listed. i.e.
active raid1 sdb2[0] sda2[1]
(If the hdd had actually died and needed to be replaced, you would have had to manually mark them as failed following the steps provided in the link above. Thanks Falco! Mine was just missing the drive in the first place.)
The other two, (md0 and md2) only have one drive and partition listed. All I had to do was re-add these using:
Code:
[root@phoenix-nest /]# mdadm --manage /dev/md0 --add /dev/sda1
mdadm: re-added /dev/sda1
[root@phoenix-nest /]# mdadm --manage /dev/md2 --add /dev/sda3
mdadm: re-added /dev/sda3
and I got this:
Code:
[root@phoenix-nest /]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[1] sdb1[0]
104320 blocks [2/2] [UU]
md1 : active raid1 sdb2[0] sda2[1]
4192896 blocks [2/2] [UU]
md2 : active raid1 sda3[2] sdb3[0]
308271168 blocks [2/1] [U_]
[>....................] recovery = 0.1% (544896/308271168) finish=122.3min speed=41915K/sec
unused devices: <none>
Ta da. I hope this helps someone.
Recent comments
1 day 6 hours ago
1 day 11 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 7 hours ago
2 days 7 hours ago
2 days 12 hours ago
2 days 19 hours ago
2 days 20 hours ago
2 days 21 hours ago