ads

Showing posts with label raid recovery. Show all posts
Showing posts with label raid recovery. Show all posts

Data Recovery from RAID 5 to Computers failure

Introduction

So, you've ignored SAM and gone and run on a RAID 5. Then, through some elder gods' handiwork, two of your disks drop off the RAID at the same time rendering your RAID 5 inaccessible. Your skin pales as you realise your last backup was *coughcough* months ago and close to useless. What to do? WHAT TO DO!?!
First things first - stop. Stop everything. Well, keep breathing, but stop everything else. Slow your mind and calm down.
Two disks dropping out of a RAID 5 simultaneously is odd. It's unlikely to be a hardware issue on both drives, so it could be a software issue.. possibly an incorrectly referenced or corrupt RAID config. If so, things may not be as bad as they seem and indeed, you may be able to recover everything.
This How-To addresses recovering data from failed RAID 5 arrays on Desktop PCs, a situation we all dread (and should avoid by running OBR 10). It is generic, and where assumptions are made they are stated.
Failing to have a recent backup is going to be expensive. Hopefully you already have the necessary hardware available to recover but if not, you'll need to make a few purchases.
Depending on how the following steps pan out, you may not be successful in data recovery and you should accept that is a possibility. A lot of variables have to align to allow you to recover, but before admitting defeat stick your chin up, take a deep breath, and ... switch your PC off.

Steps (10 total)

1

Shut it off!

First things first, shut your PC down.
Reason: your existing PC is a plague to your RAIDed disks at the moment, the controller can likely still access your disks and thinks it's in its old raid config. While like this, there is the potential for extra writes to occur on those disks and this risk needs to be eliminated.
Keep it shut off. Don't switch it back on until you can pass the next step. Where possible, the entire RAID recovery needs to be performed in one long period without interruption.
2

Here.. just take my card.

To enable you to recover the data, you'll need to have the necessary hardware.
1. A NAS or spare PC with significantly large network storage share.
Reason: an equal amount of space available somewhere else. If you had 3 x 1TB disks in RAID 5, you will need at least 3TB storage elsewhere. Likewise, if you had 5 x 3TB drives, you'll need 15TB storage available on the network. This How To assumes you have a NAS with enough spare storage available, and is accessible on the network and ready for writing. Ka-ching!
2. An alternative disk connection. This can be a spare PC with spare disk ports, or an external HDD mount. This How To assumes you use a USB HDD dock
Reason: Since the RAID controller is the interface between your OS and the disks, your OS can only see the corrupted RAID, and may not even see the individual disks depending on the RAID corruption. Your disks will need to be removed from the existing controller and attached via an alternate means to a bootable Windows OS. If you're plugging them into a different PC, ensure the disk controller isn't the same model as the one controlling your failed RAID (which basically means ensure it's a significantly different motherboard model). An external USB3 HDD dock is a safe bet, and not too expensive.
3. UPS me up, Scotty!
Reason: You'll need enough UPS's for all components during recovery. It/they need to be able to power a PC, a NAS, a switch/router and a USB HDD Dock in the event of a decent power failure. You know it'll happen during this process (damn you elder gods!) so best protect against it.
4. R-Studio Network Edition. Prepare to buy it, but not yet. Get the trial for now.
site: http://www.r-tt.com/
download: http://www.data-recovery-software.net/Data_Recovery_Download.shtml
store: https://secure.r-tt.com/cgi-bin/Store?id=1
Reason: It's the most stable, assured, and fastest RAID reconstruction/recovery tool I've encountered (from recent experience, Jan 2013). There are other tools such as Zero Assumption Recovery that will probably suffice, but my personal recommendation is R-Studio. Since this How-To assumes you're recovering to and from a NAS or network share, the Network Edition is required. If you have uber space locally, the standard version is fine.
If you make it through to seeing your files later in this process, you'll need to then purchase R-Studio, but in the meantime just download the trial. Install it.
5. ReclaiMe Free RAID Recovery
site: http://www.freeraidrecovery.com/
download: http://www.freeraidrecovery.com/download.aspx
Reason: This automates finding the correct parameters for reconstructing a virtual RAID, and gives clear and concise R-studio instructions when finished. And it's free! If you're handy with a hex editor, you can ignore this program and follow the R-Studio tutorials on finding RAID parameters (http://www.r-tt.com/Articles/Finding_RAID_parameters/). This How To assumes you're using this program, so install it.
3

Disassemble number 5!

You're about to pull your PC apart and take those failed drives out. At this point, I recommend documenting everything and labeling cables and drive placements. It's not entirely necessary but it's good to know what connected to what and where if you ever want to escalate this to a forensic Data Recovery Center. The more info the better.. and the cheaper.
Once documented, anti-static yourself and carefully remove your failed RAID drives.
4

Check your integrity at the door

One by one you'll need to verify the physical integrity of your drives by running your vendor's checking utilities.. e.g:
IBM/Hitachi -- Drive Fitness Test
SeaGate -- SeaTools
Western Digital -- WD Diagnostics/Lifeguard
So, plug in each drive to the dock and run the tests. DO NOT ATTEMPT ANY REPAIRS, run this in read-only mode ONLY. A random write to the could wipe out your chances of recovery. We just want to make sure your drives are physically OK.
If two disks fail because of a mechanical issue or your drives are dead, unfortunately you're hosed. Nothing to do except take it to a Data Recovery Centre. You're probably looking at around $1,000 per recovered disk to get the experts to do it. Sorry, but this is by and large your only shot from here.
If one disk fails and the rest are fine you still have a shot. Continue.
If none fail and all your disks are fine, great! Continue!
5

Snap that image

One by one, assuming your disks are physically fine, you need to use R-studio to take disk images of your failed RAID drives. If any disks failed the integrity check in Step 4, don't image those as it can corrupt the overall integrity of the virtual RAID later on - only image your physically OK disks.
To do this:
- ensure you have a Mapped Drive to your NAS or network storage share. This How To will assume you labeled it S: (R-Studio didn't like using UNC paths to take images)
- attach a HDD to the USB dock and ensure it's powered up and visible in Windows (if not readable).
- open R-Studio
- in the drive list on the left, right-click your failed drive and select "Create Image"
- in the popup window, Main Tab, select Byte-to-Byte image, and for the Image Filename, rename it to be unique and on the mapped network share (e.g. "S:\disk-01.dsk")
- click OK and wait until finished (could be hours to days)
- repeat for all disks, uniquely naming each image file on the file share.
6

ReclaiM your RAID parameters

So, you've physcially checked your disks and they're OK. You've successfully created images of those disks and they're ready on the network. Now the clincher - you need to find if the RAID is able to be deciphered.
Close R-Studio
Open ReclaiMe Free RAID Recovery.
- Click on the drop-down arrow on the Disks icon up the top and select "Open disk image"
- Navigate to your NAS share and select all your uniquely named .dsk files you just made in R-Studio.
- back at the main screen, tick the checkboxes next to each of your disk images.
- click the big green Start RAID 5 icon up the top.
- let it do it's thing. This step can take hours or days, or even weeks. For 4 x 2TB images it took 2 days on my system. Let it be and try to keep anything away from the PC and NAS and router/switch while it runs.
There is a "Confidence" meter shown during analysis. If this gets to 100% before the "Progress" meter then things are looking good. If the Progress meter gets to 100% while Confidence is low, the amount of data you can recover is diminished, if any. For RAID data recovery, as in life, high Confidence is what you're after.
When finished, ReclaiMe will give you instructions for R-studio. Copy it into a document and save/print it for reference later.
7

Peek a boo, I see you

Using the instructions given to you by ReclaiMe, follow them exactly. And by exactly, I mean exactly.
Here's an example what you're likely to have:
-------------------------------------------------------
These instructions are provided for R-Studio version 5.1
1. Launch R-Studio
2. On the toolbar, click "Open image". Enter "S:\ST2000DM001-9YN164CC4C-Disk3.dsk" as the file name, click "Open"
3. On the toolbar, click "Open image". Enter "S:\ST2000DM001-9YN164CC4C-Disk1.dsk" as the file name, click "Open"
4. On the toolbar, click "Open image". Enter "S:\ST2000DM001-9YN164CC4C-Disk2.dsk" as the file name, click "Open"
5. On the toolbar, click "Create Virtual RAID". Then, select "Create Virtual Block RAID" from the dropdown menu.
6. Right click the disk list on the right, select "Add S:\ST2000DM001-9YN164CC4C-Disk3.dsk" from the pop-up menu.
7. Right click the disk list on the right, select "Add S:\ST2000DM001-9YN164CC4C-Disk1.dsk" from the pop-up menu.
8. Right click the disk list on the right, select "Add S:\ST2000DM001-9YN164CC4C-Disk2.dsk" from the pop-up menu.
9. On the right side of the R-Studio window, set "RAID type" to "RAID5".
10. Below that, set "Block size" to "64 KB".
11. Below that, set "Block order" to "Left Asynchronous".
12. In the "Parents" table, enter "0 Sectors" as "Offset" in all rows.
13. Below the RAID diagram, click "Apply".
14. On the left panel, "Virtual Block RAID 1" is the newly created RAID. Double click it to start recovery.
Generated by ReclaiMe Free RAID Recovery build 889, www.FreeRaidRecovery.com
-------------------------------------------------------
Notice that the order in which you load drive images is not sequential, nor is it when you add the images to the Virtual Block RAID. Perform the steps as instructed in the order it advises.
Also, the last step (14) is slightly misleading. Double-click on the "Basic data partition" listed beneath the root Virtual Block RAID (rather than the "Virtual Block RAID 1" itself), and that will begin recovery.
The process of mapping the Virtual Block RAID is quite fast in comparison to what you've done so far, just a few minutes after beginning you'll be presented with a data recovery screen that lists all the folders/files that it could find.
8

Test recovery

In the R-Studio "File View" window, the folder list on the left, expand the Basic Data Partition, expand the Root.
This lists all the folders/files that it could find. Hopefully for you, it lists a lot.. maybe even everything!
Time to test a single file recovery:
- navigate your folder list and find a file you'd really like but that isn't too big,
- select it by ticking the checkbox beside it
- click the "Recover Marked" icon up the top and follow the prompts as to where you'd like to save the file.
Sometimes recovering files can take some time. For me I recovered about 1.5TB per day across the network, but it could differ for you.
Test the recovered file - if it's complete and satisfactory, make sure you've saved the instructions from ReclaiMe on how to set up the Virtual Block RAID for R-Studio.
If successful, it's time for you to purchase R-Studio Network Edition.
store: https://secure.r-tt.com/cgi-bin/Store?id=1 
It's also time for some semi-drastic, but highly recommended action....
9

Lose your FakeRAID, lose your RAID 5. We have the technology.

You're ready to recover your data from the NAS to your PC, so you'll need your disks back in your PC.
So to start off, close everything and shut down cleanly.
At this stage you should reconsider using a RAID 5 - it is inherently fragile for current drives (read up on some of Spicework's SAM's posts on this). Where possible grab yourself an even number of disks, buy another one if you have an odd amount, and rebuild your RAID as a RAID 10.
So, take all your disks to the original PC, plug them all back (I do it in order that I took them out, but it's of no consequence now), and start 'er up.
Jump into your RAID config and remove all existing RAID settings and create a new RAID 10 with all drives. RAID 10 is really the way to go. It's highly recommended.
This will destroy all data on your disks so just in case, keep your NAS running to minimise risk of corruption on restarts.
Also, if you've been using FakeRAID (RAID run by the motherboard controller) consider getting yourself a proper RAID card and running your drives from there. If the controller goes on the fritz, you could be paddling without a .. paddle ..
Wait until the new RAID 10 is configured and initialised and boot into Windows.
Following Step 7, get back into R-Studio and rebuild the Virtual Block RAID so that you can see all your files again.
Restore at will to your PC, back to whence they came.
10

Three rules of storage - backup, backup, backup

Now that you have all the data you want back, time to do some housecleaning.
If you have the space, perform a backup now. If you need, you can delete the images of your disks off the NAS first, but only if absolutely necessary and you're confident that you won't lose anything.
Get a backup system in place, preferably automated. That means if you lose a RAID again it's of no consequence due to having recent backups. Check your backups often to ensure they're being taken successfully.
You maybe used to think you didn't need backups. I hope you've learned this is not the case.
So, in the wise words of every moderator in Spiceworks, "Backup, backup, backup"
"And ... backup"

RAID recovery software comparison

RAID recovery software comparison

 

We tested the most well-known RAID recovery software to see how they perform in an almost real-life environment. The following tools were tested:
  • DiskInternals - DiskInternals Raid Recovery version 2.7
  • Runtime - Runtime RAID Reconstructor version 4.02
  • ReclaiMe RAID - ReclaiMe Free RAID Recovery build 301
  • R-Studio - R-Studio version 5.1
  • ZAR - Zero Assumption Recovery version 8.5
There were a couple of others which did not make it to our RAID recovery review because we were not able to make them work at all.
It should be noted that R-Studio is not a RAID recovery software. R-Studio can only work with healthy arrays or if you provide the RAID configuration parameters. Considering that the RAID-capable recovery tools are few and far between, we still decided to include R-Studio into our RAID recovery software test.
ParameterDiskInternalsRuntimeReclaiMe
RAID
R-StudioZAR
RAID types1RAID 0,
RAID 5
RAID 0,
RAID 5
RAID 0,
RAID 5
RAID 0,
RAID 5,
RAID 4,
RAID 6
RAID 0,
RAID 5
Maximum number of disks2No dataUp to 14UnlimitedUnlimitedUnlimited
Missing disk in RAID 5?No3YesYesYesYes
Delayed parity support?No dataNoYesYesNo
Ease of useComplicatedEasyEasyComplicatedModerate
EfficiencyLow. We were not able to rebuild any but the very basic test disk sets.Good4GoodN/AGood but slow
Output capabilities5
  • Array parameters6
  • Write array to disk
Recovered filesRecovered files
List price$249.95$99Free$79.99$59.95 ($29.95 on weekends)
Notes
Note 1
RAID 10 and RAID 01 are supported in all cases as a special case of RAID 0.
Note 2
Vendor-provided information, not actually tested.
Note 3
Surprisingly true.
Note 4
Requires certain non-default settings to work effectively. It is often required to increase the number of sectors to scan or probe at least by the factor of ten.
Note 5
All the software is capable of creating the array image files, although maybe through a complicated procedure.
Note 6
Runtime RAID Reconstructor provides array parameters as a textual description.
ReclaiMe Free RAID Recovery provides array parameters as an XML file to use with ReclaiMe data recovery software, or as instructions to use with either R-Studio or ZAR.

DIY Approaches to RAID 10 Recovery

DIY Approaches to RAID 10 Recovery


If the controller has failed

You can try to connect the disks to the identical controller. If you have a Linux-based software RAID 10 array in a NAS device, try using Linux as described on the manual NAS recovery page.
However, it is recommended to create disk image files first to prevent the data loss situation if you accidentally mix up the disks. If the controller initializes the array based on this wrong disk order, you lose exactly half of the array data.
If you cannot use an identical controller or you accidentally deleted your array and it is not accessible despite the controller is fine, you need to disconnect disks from the failed controller and connect the disks to a PC separately. Then you should pick out RAID 0 from RAID 10.

How to get RAID 0 from the member disks of RAID 10

A typical RAID10 array consists of two identical disk sets (due to mirroring) of RAID0 arrays. Therefore you should have one full set of disks belonging to RAID 0 before you start the recovery. To get such a set you need to exclude one disk from each pair.
  • The resultant set must contain exactly N/2 disks. If there are less than N/2 disks in the set, the array is unrecoverable.
  • If the controller has failed but disks are OK, you can use any one disk from each pair in the set.
  • If one of the disks in the pair is mechanically damaged then you should exclude this failed disk.
Once you got the full set of disks, all you need is to recover RAID 0 using disks from this set.
To determine the disks forming RAID 0, you can use any disk editor tool to analyze and compare the disks contents. For example you can try WinHex or ZAR. The demo version of either will do. When using such a tool, pay attention to the disk names and to how these names correlate to the real devices. For this you need to take into account the following:
In the Disk Management (right click on the Computer - Manage - Disk Management) disks are displayed as Disk 0, Disk 1 and so on. In various tools you can meet different names, like \\.\PhysicalDrive 0 (in R-Studio) or HD0: (in WinHex) or Disk 0 - Model (in ZAR data recovery software).
Disk Management
R-Studio
WinHex
ZAR
Disk 0
\\.\PhysicalDrive0
HD0:
Disk 0 - [Model Name]
Disk 1
\\.\PhysicalDrive1
HD1:
Disk 1 - [Model Name]
Disk 2
\\.\PhysicalDrive2
HD2:
Disk 2 - [Model Name]
To get the actual port number, see the detailed information on the device in the Disk Management (right click on the disk - select Properties).
For SATA disks you need to know a number of physical port on the motherboard (see Location Channel) and then compare with a port number printed on the motherboard (typically, all the ports are labeled).
In the photo above, two SATA port labels, Port 0 and Port 5 are clearly visible; also, one can make out parts of labels for ports 1 and 4. The cable is plugged into port 3.
As a last resort there is always the option of connecting the disks one by one.
Once you connect the disks to a computer separately and have got the disks set as for RAID 0, you should set about the RAID recovery. Read more on how to recover RAID 0.

RAID 5 recovery

RAID 5 recovery

In order to recover RAID 5 first you need to determine RAID 5 configuration parameters and then recover data.
RAID 5 array configuration consists of:
  • how many disks were in the RAID 5
  • what was the disk sequence
  • what block size was used in the array
  • at what offset the array data began
  • what the parity pattern was used in the RAID5
  • in you deal with RAID 5 with delayed parity you need to know the parity delay pattern as well
  • in case of RAID5E and RAID5 EE you need to know how spare blocks are located on the array
All these parameters can be determined both manually and automatically. However, if you decide to recover the RAID 5 configuration manually you should be aware that this will be a very long and tedious process which requires special techincal skills.

Manual RAID 5 recovery

The information on how to determine the array parameters manually is given on a RAID 0 recovery page. Unlike RAID 0, RAID 5 is a redundant array and stores the parity data. You need to determine the parity position and rotation as well to get the full configuration of your array.
The parity placement is controlled by two parameters, parity position and rotation as illustrated below. To determine the parity position you should look over each of array blocks. A block that looks most unlike data is the parity block.
RAID 5 parity placement, sample 1 RAID 5 parity placement, sample 2

RAID 5 recovery with software

If the manual option seems too complex and time-consuming, try ReclaiMe Free RAID Recovery software.
  1. Download and launch ReclaiMe Free RAID Recovery tool.
  2. If it is needed, open or create disk image files of the RAID 5 member disks using the Disks button.
  3. Select all the available member disks and click Start RAID 5. You should select at least two disks. Note that ReclaiMe Free RAID Recovery software is capable of recovering a RAID 5 with one disk missing.
  4. The RAID 5 recovery finishes when either Scan or Confidence progress is completely filled.
  5. When the RAID 5 configuration parameters are restored, you should select one of the following:
    • Run ReclaiMe to recover data. If ReclaiMe data recovery software has been already installed on the computer, then it is launched in RAID recovery mode and displays the partitions on the array. If you do not have ReclaiMe, you will be offered to download ReclaiMe data recovery software.
    • Save layout to the XML file. Save the recovered array parameters to the file in XML format. Note that you can open this file in ReclaiMe and start to recover data off the array using ReclaiMe RAID recovery mode.
    • Use with other data recovery software. Provides step-by-step instructions on how to transfer the recovered parameters to certain well-known data recovery tools. Note that the instructions are created for each particular case of RAID and you should follow them exactly. Should the need arise, the instructions can be copied to the clipboard using Copy to the clipboard button.
More info on what to do before you start to recover your RAID 5 and more detailed instructions are provided on the how to recover RAID tutorial page.
If you want to try something else, there are other tools capable of automatically recovering RAID 5 on the market (check the RAID recovery software comparison). These software utilize different algorithms (not necessary such as described above) and usually such tools are relatively expensive. We offer a fully automated and free solution for the RAID 5 recovery situations. Our software ReclaiMe Free RAID Recovery determines the array configuration parameters for RAID 0, RAID 01/10, and RAID 5 using only the data contained on the member disks. Just download ReclaiMe Free RAID Recovery then select all the available member disks (don't forget to connect them to the PC separately), start RAID 5 recovery and get the recovered RAID 5 configuration. More instructions on how to recover RAID tutorial page.

How to recover RAID

Before you start your RAID recovery

Consider the following:
  • If one of the member disks of RAID 5, RAID 6, RAID 1E, RAID 5E or RAID 0+1 is physically damaged (produces unusual sounds, e.g. clicking or repeated spin-up and spin-down sounds), don't use this disk for recovery.
  • If you cannot avoid using a physically damaged disk, say, for RAID 0 recovery, try to create the disk image file - use Create disk image under Disks on the toolbar in ReclaiMe Free RAID Recovery software.
  • If you have a hardware RAID, you should
    1. Clearly label the member disks, the cables, and the controller ports, so that the original setup can be reassembled if need be.
    2. Disconnect the array member disks from the RAID controller and then attach them as separate/standalone disks to a non-RAID controller. ReclaiMe Free RAID Recovey needs to access the disks separately to be able to reconstruct RAID parameters.
  • If you plan to recover data once the RAID parameters are restored, prepare a free disk space equal to the amount of data which you are going to recover.

How to recover RAID

  1. Download, install, and launch ReclaiMe Free RAID Recovery software.
  2. If it is needed, open or create disk image files of the member disks using the Disksbutton.
  3. Decide on the type of your array
    • For RAID 0 select a minimum of two devices from the list and click Start RAID 0.
    • For RAID 5, select all the available member disks and click Start RAID 5. Minimum of two disks is required. ReclaiMe Free RAID Recovery software can recoverRAID 5 with one disk missing.
    • For RAID 0+1, 1+0, RAID 5E or RAID 6, select all the available member disks and pick the appropriate RAID type under Other RAIDs.
  4. Wait until the program completes detecting the parameters. It can take from a couple of minutes to several hours (learn why). The process completes when either Scan progress or Confidence is completely filled. Note that Scan progress always grows whileConfidence may decrease.
  5. At the step all the parameters have been already restored. Then you can select:
    • Run ReclaiMe to recover data. If ReclaiMe File Recovery software has been already installed on the computer, then it is launched in RAID recovery mode and displays the partitions on the array. If you do not have ReclaiMe, you will be offered to download ReclaiMe File Recovery software.
    • Save layout to the XML file. Save the recovered array parameters to the file inXML format. Note that you can open this file in ReclaiMe File Recovery software and start to recover data off the array using ReclaiMe RAID recovery mode.
    • Use with other data recovery software. Provides step-by-step instructions on how to transfer the recovered parameters to certain well-known data recovery tools. Note that the instructions are created for each particular case of RAID and you should follow them exactly. Should the need arise, the instructions can be copied to the clipboard using Copy to the clipboard button.

RAID 1E Recovery


RAID 1E Recovery

There are several subtypes of RAID 1E: near, far, and interleaved (see the RAID 1E diagrams). Regardless of the subtype, the RAID 1E metadata includes number of member disks, disk order, block size, and start offset on the disks. ReclaiMe Free RAID Recovery can detect RAID1E far parameters automatically. However, first you need to turn your RAID 1E to RAID 0 by truncating a half of the array using HPA and then recover the array as described below.
Before you start RAID 1E recovery consider creating disk image files (sector-by-sector copy of the disk content) if you suspect that one or several member disks are physically damaged.
  1. Download and start ReclaiMe Free RAID Recovery software.
  2. Select all the availbale RAID 1E member disks or disk image files. You can create or load disk image files using Disks button. Note that ReclaiMe Free RAID Recovery can only recover a RAID 1E with all disks present.
  3. Click Start RAID 0.
  4. Wait until ReclaiMe Free RAID Recovery detects the RAID 1E configuration.
  5. The restored RAID 1E configuration parameters will be displayed and then you can select any of the offered output options to finish recovery:
    • Run ReclaiMe to recover data. Selecting this option you launch ReclaiMe data recovery software which will investigate filesystem structure and recover files and folders based on the restored RAID 1E configuration.
    • Save layout to file (RAID XML). The recovered RAID 1E configuration parameters will be written to the file in XML format. This file can then be opened in ReclaiMe data recovery software to recover data off the array.
    • Create the array image file, for later use with some other data recovery software, if you suspect there is a filesystem damage as well.
    • Write array to disk, so that you can just plug it to the system and access the data. In some cases, however, the partition table has to be reconstructed before data can be accessed.
    • Use with other data recovery software. This option allows you to transfer the recovered RAID1E configuration to most common data recovery tools. Note that the transferring instructions useRAID0 layout rather than RAID1E.
Instead of using HPA to reduce RAID1E far member disks, you can create regions on the disks in professional data recovery software like ReclaiMe Pro and then try different recovery options.

RAID 6 Recovery

RAID 6 Recovery

RAID 6 parameters

RAID 6 layout utilizes two different parity functions which helps a RAID 6 array survive up to double disk failure. Despite of the fact that RAID6 is perceived to be more reliable than a RAID 5, the probability of a controller failure is the same. So if your RAID6 fails, this will most likely be due to a controller failure. To recover a RAID6 from a controller failure, you need to know or recover the following parameters:
  • number of member disks
  • disk order and which disk was the first in the array
  • block size
  • start offset on the member disks
  • positions of each parity function
  • rotation of parity functions
  • algorithm used to calculate the second parity function
  • pattern of parity functions
You should know all these parameters to reconstuct RAID 6 successfully. Our software ReclaiMe Free RAID Recovery (download) can recover RAID6 configuration automatically. See the step-by-step RAID Recovery instructions.

RAID 6 variations

RAID 6 is significantly more complex than RAID 5.
  • The first parity function (XOR, denoted as P on the diagrams) naturally comes from RAID5. However, there is no widely accepted standard for the second parity function (Q). Typically, a Reed-Solomon code or some variation thereof is used.
  • Reed-Solomon code depends on the order in which input is provided. This produces four more variations: left-to-right or right-to-left and if P or Q is calculated first.
  • There are several variations of layout accomodating two parity functions.
RAID6 P-bottom and P-top layouts
RAID 6 WidePace (Promise hardware setup)

Missing disk limitations

Maximum of one missing disk is allowed. Although RAID 6 should be recoverable with two disks missing, the implementation of ReclaiMe Free RAID Recovery cannot work with two disks missing.
With Promise hardware RAID 6, no missing disks are allowed at all (as of build 381).

RAID10 recovery

RAID10 recovery

Despite of the fact that RAID 10 has most overhead among standard RAID layouts, it is subject to various breakdowns like disk failure, controller failure, and operator errors.
To recover RAID10 array you need to either pick up the disks forming RAID0 and then proceed with a RAID0 recovery, or to use ReclaiMe Free RAID Recovery software and get the array configuration parameters automatically.

Manual RAID10 recovery

In order to reconstruct the parameters for a RAID10 (start offset, block size, disk order, and first disk) first you need to exclude member disks which contain the same data. To get rid of the excessive disks you can use any disk editor software which helps you to compare content on disks.
The remaining disks form a RAID0 array; therefore you need to proceed with recovery as described in theRAID0 recovery page.

RAID10 recovery with software

Nowadays, ReclaiMe Free RAID Recovery is the only software which is capable of recovering RAID 10 configuration automatically. All you need to do is to connect all the available RAID10 member disks to a PC directly, launch RAID10 recovery and follow the instructions below.
  1. Download and install ReclaiMe Free RAID Recovery software.
  2. Select all the available RAID10 member disks.
  3. Click Other RAIDs button and select Start RAID10 or 01.
  4. Once RAID recovery is completed, select one of the following output options depending on what you want to get:
    • If you want to recover data files by files from the RAID10 array, then click Run ReclaiMe to recover data button.
    • If you want to save the recovered array parameters in order to recover data later click Save layout to file (RAID XML) button.
    • If you want to extract data using some other data recovery software see at the Use with other data recovery software section. Note that the instructions are provided only for the software which is capable of recovering data from RAIDs. Otherwise you need to click Create the array image file first and then feed it to data recovery software.
    • If you are sure that the filesystem on the RAID10 array is not damaged you can try to get access to the array data. To do this click Write array to disk. However, in some cases you might have to reconstruct a partition table before accessing the data.

ADS