LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   gutsy + mdadm + raid1 => hardy = 1TB of lost (corrupt?) data! (https://www.linuxquestions.org/questions/ubuntu-63/gutsy-mdadm-raid1-%3D-hardy-%3D-1tb-of-lost-corrupt-data-643681/)

LeeSimpson 05-21-2008 01:55 AM

gutsy + mdadm + raid1 => hardy = 1TB of lost (corrupt?) data!
 
Hi,

I had Ubutnu Gutsy Gibbon installed with 3 SATA HDD's.

/dev/sda (500GB Drive)
/dev/sdb (1TB Drive)
/dev/sdc (1TB Drive)
/dev/md0 is a device created with mdadm using /dev/sdb and /dev/sdc

All devices were mounted and functioning perfectly.

I upgraded to hardy, and suddenly the md0 device isn't even listed in /dev/md0.

I tried to (re)assemble the array (mdadm /dev/md0 --assemble --level=1 --raid-devices=2 /dev/sd[bc] ), which then started re-syncing the drives. At this point I decided to halt the machine, woried that the 're-syncing' was wiping out the actual data.
Perhaps my assertion is wrong though. After about 10min it had only re-synced about 1% of the drive which sounds like its re-copying all the data from one drive to another.

I'm worried here that I have now corrupted both my 1TB HDD's. What is the recommended solution for determining if the data is still there?
Can I somehow attempt to mount the drives as a read only raid-1 volume? Or can I mount an individual drive seperate from the array?
One final option may even be to run a data recovery tool to extract the data (mainly avi files and the like). The drives were formatted with ext3.

What I'm looking for here is advice on how to proceed. I don't mind shuffling data off the drives. Onto a new HDD (even if it means I need to buy /another/ 1TB drive). I just don't want to loose all my data here.

Thanks in advance for any and all help.
Lee Simpson


All times are GMT -5. The time now is 12:15 AM.