I had the raid1 (mirror) mdadm working array /dev/md1 with one failed disk, so /dev/sda5 is active and /dev/sdb5 is missing (partition is deleted), and I try to mark second drive as failed.
But I do the mistake: create new array over old data instead of run:
Code:
# mdadm --stop /dev/md1
# mdadm --create /dev/md1 /dev/sda5 ...
instead of
# mdadm --assemble /dev/md1
or
# mdadm --run /dev/md1
So, this create command overwrite the superblock and other info about old md1 array.
How can I recover data from old md1 array now?