Restoring a software raid
Distro: Fedora 4 core
My primary harddrive recently died upon me. I was uploading files to it via ftp when it suddently stopped. I logged in via ssh and every command (eg. ls, less, umount) gave an "input/output error". I had no other choice than to unplug the power. The harddrive had died.
I got a new hd and installed Fedora 4 again and updated it with yum. Now on the old install I had a software raid (RAID 0) on two USB disks (yes, I know, don't tell me...) I have moved this array from one installation to another before, no issues. But now.. I have made the same raidtab file as I had before, but when trying to "mkraid /dev/md0" I get the following error:
handling MD device /dev/md0
disk 0: /dev/sdb1, 58605088kB, raid superblock at 58604992kB
/dev/sdc1 appears to be already part of a raid array -- use -f to
force the destruction of the old superblock
Now how do I get around this with out destroying the data that is on the disk?
I have bought a new 300GB disk to replace the RAID, but I _really_ need the data on the RAID.. What to do?
My raidtab looks like this:
I have thought about dding the two RAID disks onto two new disks (identical to the original ones), so I have an extra set of disks to mess with, but does dd keep the correct partition table?