Moving bad software RAID 5 from Suse to Fedora
I've been through the mdadm man page 10 times now, and tried every combination I can think of to get this done, but had no luck. I built a software RAID 5 array (md) on SUSE 11, comprised of 3x1TB Seagate SATA drives. (SUSE was installed on a separate, dedicated drive, not the RAID) I loaded it up with my media collection, and it ran solid for about a month. Then one drive failed. As a result, I could not get SUSE to boot (which I now attribute to a fstab problem), so I tried running fsck from a ubuntu live CD on the Suse root partition- and somehow ended up with my entire root directory being placed under lost+found with no directory structure. I've been thinking about switching to Fedora anyways, so I decided to install it on the old root partition. I did however make a backup copy of lost+found to another drive in case I need to recover files later. My problem is I can't get mdadm to re-assemble my RAID 5 under Fedora (service is enabled). The array is still missing 1 of the 3 drives, but my impression is that with the -R option mdadm can still run the array under degraded mode. Every time I've tried to run mdadm, I either get 'no superblock found' or '/dev/sdd1 not found in config file'. What is the command that I should be using? My 2 remaining RAID drives are /dev/sdc1 & /dev/sdd1 . I believe they were under device /md1 (had another RAID 0 configuration that was md0). While I'm at it, could somone tell me what the command will be to re-build the array after I get the replacement drive installed?
Thanks a lot for any help
Paul
|