Solved

software raid-5 recovery

Posted on 2006-12-01
9
1,683 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Linux: disable vim auto-comment 7 64
Open Camera IP 8 94
How to setup xrdp on Redhat? 2 66
Anti-virus for Linux Server 15 86
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

760 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