• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1708
  • Last Modified:

software raid-5 recovery

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
ptur
Asked:
ptur
1 Solution
 
xberryCommented:
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
 
wesly_chenCommented:
> 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
 
pturAuthor Commented:
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
wesly_chenCommented:
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
 
pturAuthor Commented:
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
 
wesly_chenCommented:
Good catch.
Mac G4, PowerPC.... It's Mac OSX (or FreeBsd), not Linux.
0
 
Computer101Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now