Computer Repair

Computer Repair and Laptop PC Repair - To Bookmark or add "Computer Repair London" to my favourite : Press "ctrl + D" on your keyboard.

SEO Specialists

Job Searches

SEO Specialists

International Job Search Service


Save My Job on Facebook

A great service for PC Computer users. Never need to be flummoxed again when your home computer behaves badly. We will visit you at home or at work to troubleshoot and fix any problems; including broadband not working, hardware failure, viruses, email access problems, sluggish systems and installation of software. We can set up any Computer or Notebook PC for you, installing virus software, internet connections and print drives.

Data Recovery From Raid 5

Computer Repair London, Data Recovery London

Retrieving Data from a Broken RAID 5 Array

RAID 5 has at least three drives. Data is stored in stripes of a specified block size. In some ways it is similar in configuration to RAID 0 however Unlike RAID 0 there is redundancy built in to RAID 5. Redundancy means that if a single drive fails, then the data can be recovered from the working hard disks in the array. The redundancy is in the form of a parity block, using a three drive array as an example, redundancy for the first stripe would be calculated by taking each byte from each block from the first two hard disks, then XORing these values to give. It is this value that is stored in the parity block for the current stripe. So, when a hard disk in the array fails, the missing value can be regenerated or rebuilt by XOR-ing the bytes from the remaining good hard disks. This does add a slight overhead to drive writes as the parity needs to be rebuilt.

Problems During Diagnosis

The problem for data recovery company is calculating the original order the drives were in, block size and parity rotation algorithm.

There are many permutations and these are added to by the number of drives in the array. For example if you have a RAID array with 5 drives there are 120 permutations of drive order alone. Then there is the block size to take into account. These are not as complex to calculate, but can be any size from 2048 bytes upwards. However, the most common sizes are 32kb 64kb, 128kb and 256kb.

Once drive order is determined we now needto calculate the parity rotation. Because the parity stripe is 'rotated' this means that for each complete stripe, the parity block moves to the next drive in the sequence. As an Example, if you take 3 drives and number them 0,1 and 2 below is a diagram indicating where the data blocks are (shown as numerics) and the Parity block (P).

Drive 0: 1 3 P 7
Drive 1: 2 P 5 8
Drive 2: P 4 6 P

You can see that the first parity block is on drive 2. The next one is on drive 1 and final one is on drive 0. Then the sequence repeats itself until the end of the array.

Initially this looks fairly straightforward, and in fact the above is the simplest RAID 5 there is.

here is another type of parity (Backward with continuous data)

Drive 0: 1 4 P 7 10
Drive 1: 2 P 5 8 P
Drive 2: P 3 6 P 9

There is a subtle difference where blocks 3 and 4 (and 9 and 10)are inverted. This is because once the first stripe is complete. The first data block of each stripe must go immediately after the parity block so the drive reads the data as 0,1,2,0,1,2... So in this case block 3 is placed after the parity block on the second stripe. This improves read and write speeds so that the same hard disk is not read twice successively. A mistake in determining the parity.

MjM Data Recovery Ltd

When selecting a company to recover your data, make sure they fully understand the technologies employed in RAID of any level. Comprehensive understanding of how data is stored on disk is essential if the data is to be recovered correctly. MjM Data Recovery Ltd have developed their own software that they use for RAID data recovery and have engineers that are able to recover from the most difficult of jobs. If another company has already announced that the data is unrecoverable, it is always worth sending it to another company for a second opinion. Most will not charge for a diagnosis or it will be a relatively small charge if the value of the data warrants the cost.

Related Posts...

USB Data Recovery by Data Recovery
.

How To Choose The Right Data Recovery Company. by Data Recovery
.

What Can Data Recovery Services Do? by Data Recovery
.

Popularity: 9% [?]

1 Comment so far

  1. Strohl on June 14th, 2009

    Hello Guru, what entice you to post an article. This article was extremely interesting, especially since I was searching for thoughts on this subject last Thursday.

Leave a reply


PC Computer Repair Videos



Save My Job on Facebook