There is an inconsistancy here. Your raidtab says "nr-raid-disks 2",
but mdstat shows there is only 1 raid-disk in the array.
You will need to recreate the array using "mkraid -R /dev/md0"
with a raidtab of
> raiddev /dev/md0
> raid-level 1
> nr-raid-disks 2
> device /dev/hdc2
> raid-disk 0
> device /dev/hdb2
> failed-disk 1
or with
mdadm -C /dev/md0 --level=1 -n 2 /dev/hdc2 missing
Then "raidhotadd /dev/md0 /dev/hdb2" or "mdadm /dev/md0 -a /dev/hdb2"
should add the other drive in.
Ofcourse you will need to unmount /usr and "raidstop -a" or "mdadm -Ss"
first.
mdadm is available at
http://www.cse.unsw.edu.au/~neilb/source/mdadm/
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/