LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Should I open source my raid recovery tool? (https://www.linuxquestions.org/questions/programming-9/should-i-open-source-my-raid-recovery-tool-322819/)

eantoranz 05-12-2005 01:48 PM

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. :D). 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?

jtshaw 05-12-2005 02:08 PM

Sure thing, I don't see a reason why not.

hank42 03-30-2009 09:15 PM

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?

eantoranz 03-31-2009 08:04 AM

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

hank42 04-01-2009 07:12 AM

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!

eantoranz 04-01-2009 07:15 AM

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.

raid recovery 02-21-2010 02:56 AM

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


All times are GMT -5. The time now is 11:10 PM.