Solved

Is there a way to replace RAID card (RAID 5) by software RAID?

Posted on 2011-09-05
6
493 Views
Last Modified: 2013-12-02
Hi there,

We got a Network Attach Storage (NAS) server, which has RAID 1 for OS and RAID 5 for storage using a RAID card (hardware RAID).  Unfortunately the RAID card went bad.  I wonder if it is possible to use software RAID to bring back that RAID 5?

All opinions are welcome.  Thanks.

0
Comment
Question by:asugri
6 Comments
 
LVL 4

Accepted Solution

by:
Ara- earned 100 total points
ID: 36486601
In my oppinion Software RAID isn't really a great idea. I would replace the RAID card.

You could probably set up the disks in RAID 5 with Software RAID, but are you thinking for recovery or just to replace the disk? You should have an external backup anyway..
0
 
LVL 87

Assisted Solution

by:rindi
rindi earned 100 total points
ID: 36486656
Most NAS have a legacy OS which is stripped down to the bare minimum where you don't have many configuration options, so it is unlikely you can change the RAID configuration without data loss. Get another identical NAS and put the current array into the new NAS and you should be able to access the data, but make sure with the manufacturer first...
0
 
LVL 4

Assisted Solution

by:klodefactor
klodefactor earned 200 total points
ID: 36489657
Yes it's possible, but risky.  And remember that it's possible the RAID card scrambled things a bit as it died, so you may need to run data recovery regardless.

As rindi says, getting an identical RAID card is probably safest.  However even that can be risky depending on whether the fir supports importing an existing RAID set.

If you absolutely need to avoid data loss, your first step should be to take a byte-for-byte copy of the hard disks.  That way you can start over again if you make a mistake.  You can copy drive-to-drive to a new set of disks, or as disk images.  Acronis, Ghost, and other disk imaging products support doing this, or use Linux (or other *NIX) if you're conversant.

Now, on to the work...
First conversion step is to learn where your RAID controller stores configuration data: in cylinder 0, at the end of the drive, or something more complicated.  Some RAID cards use one or more cylinders for configuration data, but hide them from the OS.  So if you have a 1000-cylinder drive, and the controller uses one for its configuration data, the BIOS sees a 990-cylinder drive.  If your controller uses that method, and the RAID configuration is at the start of the drive, your recovery just got more complicated.  I'll ignore that case for now but let us know if that's in fact what you have.

Second conversion step is to determine which drive is which: which one was the first drive in the RAID, the second, etc.

Third conversion step is to determine the RAID stripe size.

Fourth conversion step is to determine the parity block order used by the RAID card.  For example, assuming you have three drives, does the parity block move to the right:
data1    data2    parity
parity    data1    data2
data 1    parity    data2
or to the left:
data1    data2    parity
data1    parity    data2
parity    data1    data2
That should be enough information to be able to use the RAID set.  Now all that's left is confirming that the partitions are defined correctly, that the filesystems aren't corrupted, and then rescuing the data onto a new hardware RAID.

--klodefactor
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 4

Expert Comment

by:klodefactor
ID: 36489764
Argh.  "fir supports importing" should be "firmware supports importing".

And it should be a "999-cylinder drive", not 990 cylinders.

--klodefactor
0
 
LVL 2

Assisted Solution

by:McRonis
McRonis earned 100 total points
ID: 36502906
It is not recommended to do that, not sure if it's possible.
Each RAID card brand have it's own "logic" , in few words:
If you have RAID5 with LSI raid card, you can't use those HDD in Areca controller, because Areca controller has other hardware, and your HDD wont work as RAID5 inside that controller. You will need to destroy old raid massive and make new one. The same works with software raid.
0
 
LVL 4

Assisted Solution

by:klodefactor
klodefactor earned 200 total points
ID: 36503221
Of course it's not recommended, but it is possible.  Due to the complexity and risk (and thus the need to create a byte-for-byte copy before starting), this method is not suitable for normal operation.  Sometimes though, it's the only way to recover your data.

BTW if you prefer prefer a simpler approach, you could purchase recovery software that supports a RAID source, such as R-Studio (http://www.r-studio.com/).

One last thing: before connecting the drives to an MS Windows system for recovery, ensure you disable Windows automount (and possible re-signature) of hard drives using diskpart:
automount disable
automount scrub
--klodefactor
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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

9 Experts available now in Live!

Get 1:1 Help Now