LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-12-2005, 01:48 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
Question Should I open source my raid recovery tool?


We had this problem with a raid5 that couldn't be brought back to life at the office. After some research, I found nothing I could use to rebuild the "original" image from the separate images, so I decided to program one, and so I did (with java. Had I used C, I would still be coding. ). It didn't take so long. It's a cli application. It's not bullet proof (just made it for a very straight forward purpose), but it certainly got the job done. I was able to recover 60 gbs of data from a 5-disk raid5 (and then mounting the image as a HD with the help of losetup ).

I guess with some more research it could become a very good recovery tool... and even be used to "mount" broken raid partitions on linux. Don't know.

What do you think? Should I open source it? Maybe post it in sourceforge?

Last edited by eantoranz; 05-12-2005 at 02:20 PM.
 
Old 05-12-2005, 02:08 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Sure thing, I don't see a reason why not.
 
Old 03-30-2009, 09:15 PM   #3
hank42
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Raid Recovery - Hardware

Hi, did you ever publish your raid recovery software?

If not, do you have any advice for someone grappling with piecing together a 12 disk mylex hardware raid5 array after the hardware controller blew up?

I started writing a program in PERL to piece the data back together from a few "key" files I had stored on a disk(floppy). I was able to scan the 12 32Gb images I made of the drives from the array to identify the direction of the stripe, but it's taken me over a year to manually piece that back together by comparing the script output in a HEX editor and guessing at the order of the disks. I've only managed to confirm that One of my keyfiles tdoes exists on the drives and spans two complete stripes. It seems to me that the stripe might be missing data in places, in which case I'll need to compute the missing data using XOR.

I'm stuck on automating this whole mess.

Any suggestions?
 
Old 03-31-2009, 08:04 AM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
Oh, man. A year? :-S

http://www.freesoftwaremagazine.com/.../recovery_raid

It's in the attachments to the article. If you need some help, let me know, ok?

eantoranz at gmail
 
Old 04-01-2009, 07:12 AM   #5
hank42
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Excellent article

Thanks so much for the link. You did EXACTLY what I am trying to do, only with a little more vigor! I'll give your program a shot. I'll have to spend more time on getting the ordering right, and weeding out the two RAID5 sets (I think it was 4 drives were part of one array and 7 drives wer part of the other with a hot spare). I too am missing a drive, so that'll make it even more challenging. But, I do have a rosetta file to work with. I'll let you know how your software works.

Thanks again!
 
Old 04-01-2009, 07:15 AM   #6
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
The program can take care of the missing disk, so no worries on that side. You just need to provide the right ordering of the disks, the right strip size and the right algorithm.
 
Old 02-21-2010, 02:56 AM   #7
raid recovery
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
In case you're still looking for further help on this matter, raid-recovery-online can achieve remote raid 5 recovery solutions 24/7...
 
  


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
non-commercial, open source C or C++ reverse engineering tool tcma Linux - Software 1 12-13-2004 09:11 AM
Data Recovery Tool PhuckFonix Linux - Security 5 06-07-2004 06:24 PM
MS starting to change his attitude (Open source MS tool) moeminhtun General 15 04-09-2004 10:40 AM
Free publicity tool for Open Source Projects Boffy General 4 04-08-2004 03:51 PM
Data Recovery Tool sniff Linux - Software 2 11-29-2003 01:10 PM


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