Solved

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

Posted on 2011-09-05
6
505 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 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Problem: Windows 32bit running out of paging space. Solution: Add additional page files on separate partitions. Background: By default Windows creates only one page file on the partition you install Windows on. You may know that the maximu…
Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 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