LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2010, 02:30 PM   #1
buzza_2004
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: Disabled
mdadm help for a linux newbie.


Hi guys,

I'm looking to recover a RAID1 array hopefully using mdadm. Ive not really used Linux much befor but I'm keen to learn to get my data back. Basically one of the disks in my Maxtor Shared Storage II (2x500GB sata) died and I could do with either rebuilding the array or getting the data off another way.

I have a spare machine I could use for recovery process. It has a spare drive but its only 120Gig, I also have a bigger 320gig disk but thats IDE not SATA. Do I need to purchase another 500GB sata drive or can I use either of my spares? If i do need to buy a new drive could I use a 1TB or 1.5TB or will it have to be 500?

Next question is what is that best version of linux to use, I have knoppix 6.2 and Ubuntu (not sure on version) already. I noticed that mdadm isn't installed by default on Ubuntu.

Thanks for any help in getting this project going.

Buzza.
 
Old 05-13-2010, 09:08 AM   #2
esaym
Member
 
Registered: Nov 2006
Distribution: Lots of Debian
Posts: 165

Rep: Reputation: 32
What does the Maxtor Shared Storage II have to do with mdadm? The Maxtor Shared Storage II doesn't appear to use any kind of raid at all, even though it says it does on the box. It appears that the drives are formatted with ext3. So the only way to recover would be to try to read the drive and copy any data off of it. There is a good tool for this called ddrescue. http://www.google.com/search?source=...=Google+Search

If you don't have any linux machines to install ddrescue on then knoppix would probably be your best bet. Take a machine and pull the hard drives out of it and install the bad hard drive and a new hard drive that is greater than or equal to the size of the old bad hard drive into this machine. Put knoppix cd in and start up the computer. Run the ddrescue commands (see google link) from the knoppix console to copy the old drive to the new one.

The drives will probably be at /dev/sda or /dev/sdb. Use smartctl -a /dev/sda to see info about a drive to make sure you will know which drive is the old one and which one is the new one. (the last thing you would want to do is copy the blank drive on to the bad drive and wipe all data)
 
  


Reply



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
MDADM screws up the LVM partitions? Can't mount the LVMs after mdadm stopped alirezan1 Linux - Newbie 3 11-18-2008 04:42 PM
unable to load MDADM module BUT mdadm works?!?!?! alirezan1 Linux - Software 2 09-08-2008 07:58 PM
mdadm says "mdadm: /dev/md1 not identified in config file" when booting FC7 raffeD Linux - Server 1 08-11-2008 11:47 AM
Linux raid with mdadm eyt Linux - Newbie 6 02-07-2006 05:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration