LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-18-2008, 06:17 AM   #1
drphat
LQ Newbie
 
Registered: Nov 2008
Location: Palm Bay, FL
Distribution: Ubuntu and RedHat/Fedora/CentOS
Posts: 4

Rep: Reputation: 0
OS on single drive, RAID 5 on 3 others - user lost OS drive


I just got a call from a buddy down in central america, apparantly some people he was working with had an old machine that lost the OS drive, but the data partitions were still there, so he rebuilt the os to find that they had a RAID 5 config on the other 3 drives. I haven't had much experience with software raid on linux so I told him i would ask around on how to fix this. Is there a way to reclaim that metadevice even though the OS drive (holding the info) was lost to failure? I am not really thinking there is but I had to ask. thanks for any help, google and other searches have turned up nothing so far.
 
Old 12-18-2008, 10:51 PM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
http://www.chiark.greenend.org.uk/~p...x/raidextract/

You do need the RAID metadata. But you could treat it as a broken RAID and use recovery tools.
 
Old 12-19-2008, 08:19 PM   #3
drphat
LQ Newbie
 
Registered: Nov 2008
Location: Palm Bay, FL
Distribution: Ubuntu and RedHat/Fedora/CentOS
Posts: 4

Original Poster
Rep: Reputation: 0
Excellent, I will forward off this data to him, I will try to let you all know the outcome.
 
Old 12-30-2008, 09:18 PM   #4
DarkFlame
Member
 
Registered: Nov 2008
Location: San Antonio, TX, USA
Distribution: Ubuntu Server 8.10 & SAMBA 3.2.3
Posts: 158
Blog Entries: 1

Rep: Reputation: 30
Simon,

Is it not enough to just remount the array? I'm not trying to be obtuse, or to muddy the water. I'm still newbie in this, but am trying to be pedantic in my self-education (thank you for the new word!).

The reason I'm asking is because I had a 4 drive RAID5 array with a separate OS drive. I wiped out the OS drive & did a clean install (like recovering from a physically crashed OS drive - doing an OS install on it's own drive & then re-attaching the data drives), and then reassembled the raid array and remounted it at the same point. Is that [mount point, drive order, etc.] the metadata to which you're referring?
 
Old 01-01-2009, 07:10 AM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Is it not enough to just remount the array?
Try it and find out. Note - drphat indicated that the metadata for the array was on a different drive. If it was just the mount info then, yeah ... the whole point is supposed to be that the parity data is across all the disks.

Quote:
am trying to be pedantic in my self-education (thank you for the new word!)
"pedantic" a new word?
Quote:
I'm getting closer, Konquering one issue at a time.
That's "conquering", surely, or, possibly, "googling"? I have heard things about Texas education but I never thought... Hmmm... San Antonio, I know that one, it's where the Alamo is! You guys are supposed to have the best Mexican food - but I've never been. Now I'm OT...
 
  


Reply

Tags
md, raid, software


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
mdadm RAID 5 single drive failure atarghe1 Linux - Server 7 12-14-2012 06:20 PM
Single drive to RAID howto fw12 Linux - General 1 10-11-2007 06:08 PM
will not boot X/GDM with RAID, but will with single drive Astol Linux - Hardware 1 09-20-2007 05:14 PM
Sata Raid 1 and Single Sata drive drive order issue Kvetch Linux - Hardware 5 03-19-2007 06:50 PM
Migrating single drive to RAID / LVM? joadoor Linux - Hardware 3 10-14-2005 07:01 AM


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

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