I had an Ubuntu installation on RAID1, which was running as degraded for some time without me realizing.
The active disk started to have bad blocks and no longer booted, which is when I realized that the array wasn’t syncing. So I was left with:
Disk 1: does not contain the recent data Disk 2: does not boot or mount but has the data I am trying to recover
I have done few things trying to recover data from disk2, including the stupid one of zeroing the superblock.
Below is mdmadm output.
sudo mdadm --verbose --assemble /dev/md1 /dev/sdb2 --force
mdadm: looking for devices for /dev/md1
mdadm: no recogniseable superblock on /dev/sdb2
mdadm: /dev/sdb2 has no superblock - assembly aborted
With sudo mdadm --examine on the first disk I can see the metadata of the array that I am trying to recover:
ARRAY /dev/md/1 metadata=1.2 UUID=e6d452da:ebb9d8de:a7198201:ba04a3e8 name=lorensimon-htpc:1
I do not really know where to go from here. Any help is very appreciated.