So I've been handed these 2 drives that were part of a RAID0 (eek!) array in a NAS. One of the drives had failed. Turns out, the drive had a bad controller card. What I've done is copied the information from the good drive to another good drive (dd if=/dev/sda of=/dev/sdb) then swapped the controller card to the bad drive. The bad drive now spins up and I can see bits on it.
I'm trying to rebuild the array but it's failing. For some reason, there's no superblock information on either drive. I'm not sure why that's the case. The drives came out of an Iomega Storcenter, so maybe it did something weird to create the array. I've tried rebuilding the array like this:
mdadm --assemble --scan
and this:
mdadm --create /dev/md0 --assume-clean --raid-level=0 --raid-devices=2 /dev/sda4 /dev/sdb4
That second one creates the RAID and I can pick out certain data when reading it with a hex editor, but the filesystem still won't mount.
Anybody have any tips for what I should be trying next?