LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 05-21-2008, 01:55 AM   #1
LeeSimpson
LQ Newbie
 
Registered: May 2008
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid1 MDADM, root volume weirdness SanRamonCA Linux - Server 17 07-25-2010 07:57 AM
mdadm error creating raid1 Ezplan Fedora 7 07-26-2007 10:35 AM
Software RAID1 with mdadm bujecas Debian 0 10-26-2006 09:56 AM
Problems with setting up raid1 with mdadm on slackware kikola Slackware 0 08-21-2006 05:29 AM
raid1 using mdadm? help plz akadidm Linux - Hardware 3 06-09-2005 04:58 AM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration