Article 5CBX2 Recover Data from failed RAID1

Recover Data from failed RAID1

by
lorensimon
from LinuxQuestions.org on (#5CBX2)
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.
Quote:
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.latest?d=yIl2AUoC8zA latest?i=AyWeql8iioY:sNL9UTolW1U:F7zBnMy latest?i=AyWeql8iioY:sNL9UTolW1U:V_sGLiP latest?d=qj6IDK7rITs latest?i=AyWeql8iioY:sNL9UTolW1U:gIN9vFwAyWeql8iioY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments