Solved

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

Posted on 2011-09-05
6
508 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 88

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
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

 
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Have you ever stumbled upon a software that is so great that you just love? It happened to me. Love at first sight. Filezilla Server.   Ok its not the most advanced ftp server I've came across. But its a fairly simple piece of software to get the …
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

761 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