LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Closed Thread
 
Search this Thread
Old 05-21-2008, 02:56 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 have 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
 
Old 05-21-2008, 06:47 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here: http://www.linuxquestions.org/questi...t-data-643681/
 
  


Closed Thread


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
gutsy + mdadm + raid1 => hardy = 1TB of lost (corrupt?) data! LeeSimpson Ubuntu 0 05-21-2008 02:55 AM
mdadm error creating raid1 Ezplan Fedora 7 07-26-2007 11:35 AM
Software RAID1 with mdadm bujecas Debian 0 10-26-2006 10:56 AM
Problems with setting up raid1 with mdadm on slackware kikola Slackware 0 08-21-2006 06:29 AM
raid1 using mdadm? help plz akadidm Linux - Hardware 3 06-09-2005 05:58 AM


All times are GMT -5. The time now is 06:15 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