Solved

software raid-5 recovery

Posted on 2006-12-01
9
1,686 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

911 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

20 Experts available now in Live!

Get 1:1 Help Now