Solved

software raid-5 recovery

Posted on 2006-12-01
9
1,687 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
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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now