Solved

software raid-5 recovery

Posted on 2006-12-01
9
1,699 Views
Last Modified: 2013-12-15
hello, i have a raid-5 array i pulled out of my buffalo terastation NAS (linux based). i've been told it's possible to simply attach the array to a PC, boot linux (live ubuntu was being used by the person who acomplished that) and rebuild and recover files from the array. can someone explain me the steps needet to be able to faind the array, mount it and access the data?

thanks
0
Comment
Question by:ptur
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 14

Expert Comment

by:xberry
ID: 18059387
Please, for a first step if you don't mind to see if you can
get sopme help out of this reference:

http://tldp.org/HOWTO/Software-RAID-HOWTO.html

Sorry that I cant' provide you for more at this moment in time ; )
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 18062301
> raid-5 array i pulled out of my buffalo terastation NAS (linux based).
Are you sure the Buffalo file server using the software RAID-5?
It's Linux based file server doesn't mean it uses software RAID. I would recommend that you check with their technical support about it.

Because for hardware raid, the RAID information is stored at the hard disks and corresponding to the RAID controller and you need to use the same RAID controller for better chance to make it work.

For software RAID, please login to Buffalo terminal console and copy the following files (please post here):
/etc/raidtab
/etc/fstab
/etc/mntab

0
 

Author Comment

by:ptur
ID: 18068671
that would be nice if that model of buffalo actually HAD terminal access --> there's ony 1 way to access it , by the network port. (there's a mod to make "ups comm port" server as a telnet access but it's beyond my capacity atm --> it requires some motherboard modification)

there's a post by a user who was able to recover his raid array using linux, maybe that will give some clues:

" finally managed to get my data out of the box. I attached the drives with 4 USB>IDE cables to a Mac G4, used a live Ubuntu CD and the raids were recognized at once:

md0 1 drive 8of four) 3 spare
md1 raid not clean - reconstructed in the background

LVM started
Enterprise Volume Management System

After that I was able to mount md1 (though it took some time)
Since the Mac has only USB 1.1 I am copying data for days now. but it worked.
Seems as if the raid 1 on md0 has gone."
0
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 38

Expert Comment

by:wesly_chen
ID: 18070782
In that case (it seems soft RAID to me), then
Put all the IDE (or SATA) disks into a motherboard (make sure the master/slave jumper setting are right for IDE disks).

Use externel USB CD-ROM to boot from Live Ubuntu CD (make sure your motherboard support boot from USB CD-ROM).
Then see if Ubuntu can recognize your RAID and see the data........ good luck.
0
 

Author Comment

by:ptur
ID: 18071109
duh... just got more info about that raid:

" Please keep in mind that the Linux softraid (MD) needs a big-endian (e.g. PowerPC) system to be able to detect and activate the RAID"

if i knew that a week ago it'd save me a lots of time....
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 18072892
Good catch.
Mac G4, PowerPC.... It's Mac OSX (or FreeBsd), not Linux.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 18424182
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question