FC5 S/W Raid Rebuilding to Infiinity(and beyond!)

Gilboa Davara gilboad at gmail.com
Tue Nov 21 11:55:35 UTC 2006


On Mon, 2006-11-20 at 19:37 -0800, Sean Bruno wrote:
>  
> And finally(if responding to my own post wasn't annoying enough!), if I
> rebuild md0 and md1(skipping md2 for now), then reboot the machine, the
> machine comes backup with all three devices as failed!
> 
> I start the rebuild on /dev/md0 and /dev/md1 thusly:
> 
> [root at home-desk ~]# mdadm --manage --add /dev/md0 /dev/sdb1
> mdadm: re-added /dev/sdb1
> [root at home-desk ~]# mdadm --manage --add /dev/md1 /dev/sdb2
> mdadm: re-added /dev/sdb2
> 
> Before reboot(cat /proc/mdstat):
> [root at home-desk ~]# cat /proc/mdstat
> Personalities : [raid1]
> md0 : active raid1 sdb1[0] sda1[1]
>       1052160 blocks [2/2] [UU]
> 
> md1 : active raid1 sdb2[0] sda2[1]
>       4192896 blocks [2/2] [UU]
> 
> md2 : active raid1 sda3[1]
>       151043008 blocks [2/1] [_U]
> 
> All is well with md0 and md1 for now.  I will work on recovering md2
> later.  But if I reboot, sdb1 and sdb2 disappear from my raid
> configuration, as if I hadn't added them somewhere?
> 
> Personalities : [raid1]
> md0 : active raid1 sda1[1]
>       1052160 blocks [2/1] [_U]
> 
> md1 : active raid1 sda2[1]
>       4192896 blocks [2/1] [_U]
> 
> md2 : active raid1 sda3[1]
>       151043008 blocks [2/1] [_U]
> 
> unused devices: <none>
> 
> 
> Any ideas on how to make this 're-add' stick?
> 
> Sean
> 

Locate the kernel log and check for MD errors.
I would guess that one of your drives is slowly dieing.

- Gilboa




More information about the fedora-list mailing list