0871 977 2 999
Bookmark and Share
RAID Data Recovery service
Desktop Data Recovery
3.5″ desktop hard disk drive recovery
Desktop Drive Data Recovery

Laptop Data Recovery
2.5" laptop hard disk drive recovery
Laptop Drive Data Recovery
RAID Data Recovery
RAID system recovery
Emergency recovery on 0, 1, 5 & 10 RAID Systems

External Data Recovery
External hard disk drive data recovery
External hard disk data recovery


Memory Stick Recovery
USB data recovery
USB Memory Stick Data Recovery


SSD Data Recovery
Solid state drive data recovery
SSD recovery using state of the art technology


quality


RAID Data Recovery

RAID 5 Example

RAID 5 Data Recovery

Raid 5 arrays are built for performance and redundancy. Instead of reading/writing 1 file to 1 disk, RAID 5 arrays read/write 1 file to multiple disks in parallel.

They also calculate a parity block when writing so that data can be recovered if a disk fails. The following is a simple example illustrating how RAID 5 works.

Say we have a text file that consists of three characters "ABC" and a RAID 5 array of three disks with a stripe/block size of four bits (equal to one half of a character).

Here's a data representation of our text file:

raid5 example table1

Here's what happens when we save the file:

The first block of four bits (first half of letter A) is written to Disk 1 and the second block of four bits (second half of letter A) is written to Disk 2. Disk 3 is parity for Block 0. Next, the third block (first half of letter B) is written to Disk 1 and the fourth block (second half of letter B) is written to Disk 3. Disk 2 is parity for Block 1. Finally, the fifth block (first half of letter C) is written to Disk 2 and the sixth block (second half of letter C) is written to Disk 3. Disk 1 is parity for Block 2. Notice how the parity is on a different disk for every block. The order of the parity is called the parity order, parity map, or parity rotation. In this example, the parity order is backwards (Disk 3, Disk 2, Disk 1).

raid5 example table2

*Pink data represents the parity calculation for the block

Now consider what happens when Disk 3 fails and all we have left is Disk 1 and Disk 2. Continue reading about RAID Arrays at one of our informational pages listed below.

raid5 example table3

As you can see, the raw data from Disk 1 and Disk 2 represents the string "Dqd" which is nonsense. The data should be the string "ABC". To recover the data from the two remaining disks, we must properly reassemble the stripes and use the XOR operator to recalculate the lost data from Disk 3. The following chart illustrates how to properly reassemble the RAID 5 array:

raid5 example table5

As you can see, the RAID 5 reconstruction process is quite complex. The reconstruction must be done exactly right or the resulting data will be useless.

Call a Data Recovery Expert Now

 

Find out more about your hard drive:

Terms and Conditions