Ack, I think I screwed up bad. I had a power failure on a RAID5 array which caused the metadata to be inconsistent between drives.
I followed the advice here except a case of fat fingers caused me to run the --create command without a missing parameter. Running the Perl script that permutates through the various combination leads me unable to mount an array. I have several questions:
Am I totally screwed here, is there anything else I can do? The drives themselves seem to be fine. Does the missing parameter blow out any chance I have of recovering my data?
Is there anyway I can get some data, but mounting the drives? I'm not that familiar with how data is striped across disks so I don't know if it possible to recover some files.
cat /proc/mdstat
?mdadm -D /dev/md0
(replacemd0
bymd255
or whatever the appropriate number is)? What are the original components of the array, which ones went bad?mdadm -E /dev/sdXY
for every member disk of the corresponding array.