LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-20-2008, 11:43 PM   #1
Fordor
Member
 
Registered: Jun 2004
Location: Tallinn
Distribution: Slackware/Crux/SuSE
Posts: 84

Rep: Reputation: 15
RAID - Data Recovery


Hello,

I recently got a server and it had a Linux bootable os installed on it and it was using software raid. I, however accidentally installed a hardware raid through the BIOS onto it and all data was lost. Is there a way to recover the partition? It is completely deleted now.

Thanks...I am panicking already. If there is a way, I need to know.
 
Old 02-21-2008, 01:46 AM   #2
Fordor
Member
 
Registered: Jun 2004
Location: Tallinn
Distribution: Slackware/Crux/SuSE
Posts: 84

Original Poster
Rep: Reputation: 15
I managed to restore the files using testdisk...almost had a heart attack there...


If you get into a situation similar to this you can always use testdisk and it can fix the broken partition table and the partition will be mountable from another computer, so data can be restored.
 
Old 03-29-2008, 01:36 AM   #3
ziegen
Member
 
Registered: May 2003
Posts: 32

Rep: Reputation: 15
Recovery of data off one disk in RAID

I was wondering if this could be done. You have a RAID controller with 4 hard disks working as a RAID. You only have access to one of the hard drives, the others are gone. Can you get any readable data off?
 
Old 03-29-2008, 01:58 AM   #4
Fordor
Member
 
Registered: Jun 2004
Location: Tallinn
Distribution: Slackware/Crux/SuSE
Posts: 84

Original Poster
Rep: Reputation: 15
No, it doesn't work like that. If you have 4 drives in a raid 10 for instance, no single drive holds all the information. I had raid 1, therefore I was able to recover.

With RAID5 I think that is not even possible, as it also uses up space for parity check data, so if you take out 1 drive you will recover even less info, than with radi 10.
 
Old 03-29-2008, 10:12 AM   #5
ziegen
Member
 
Registered: May 2003
Posts: 32

Rep: Reputation: 15
But you might get some data, just not all the data... right? Bits and pieces maybe a whole file etc.
 
Old 04-25-2008, 07:55 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
If you lose 1 disk in a RAID 5 array, you lose no data IF you replace the bad disk AND rebuild the array before you lose another.

W/ RAID 10 (1+0) you can lose half of the disks as long as "no mirror loses both its drives". See the Wikipedia RAID article, especially "4 Nested levels".
 
Old 04-25-2008, 08:43 AM   #7
fyz123
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Fordor View Post
I managed to restore the files using testdisk...almost had a heart attack there...


If you get into a situation similar to this you can always use testdisk and it can fix the broken partition table and the partition will be mountable from another computer, so data can be restored.
Thx, this helps me.
 
  


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
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 12:21 PM
data recovery? xushi Slackware 2 07-04-2005 05:02 PM
need some help about data recovery! belkens Linux - Software 1 05-11-2005 04:16 AM
data recovery aZa.HFN Linux - General 1 02-02-2005 11:58 AM
Knoppix 3.4 and recovery of data on an IDE RAID Controller system smithtodda Linux - Hardware 1 10-21-2004 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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