Assuming that your drives are still in good condition, then you probably need to spend some time determining exactly how your array was configured. By using mdadm --examine
and --detail
against the individual partitions and volumes.
Then you might be able to re-create the array using the --assume-clean
option, which will create a new array without doing anything to the data. If you re-create the array using the correct parameters, then you might be able to mount your volume depending on exactly how it failed, and the level of corruption from the failure.
If you are able to get it up, you will want to force a resync, and it would probably be a good idea to verify that your data hasn't been corrupted.
If you are not familiar with the process though, it might be easier to just rebuild your array now and then restore. Spending time on trying to rebuild the volume is a bit of a gamble. If you are unlucky then your volume could be in a state where it simply cannot be fixed and you have to restore anyway. It might be better to start the restore now.
In an ideal world you would have a second set of disks that you could be restoring to while you try and recover the original. If you can be restoring and trying to recover the volume in parallel, I suggest you do that.