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

Tuesday 11 December 2012

0 QNAP RAID Recovery & NAS

Hello everyone! I've talked about RAID 5 data recovery in one of my earlier posts. I've mentioned that if more than one drive fails in a RAID 5 array, it won't be possible to recover data, and that's the way it works. But lately, I've come accross something while I'm browsing the web. It's a service called by a company called QNAP, and they allow you to recover your RAID (works with RAID 0,1 and 6 as well) even though more than the allowed number of disks are crashed.


The reason why I give credit to this company in my post is because before looking on their website, I didn't know such a thing existed. It always makes me happy to learn new stuff that I haven't known about before. I don't know if other companies offer services like QNAP RAID recovery, but it's definitely worth taking a look. I will keep you updated if I find anything else about other companies. (maybe a comparison post)

From what I've understood, this system works with a NAS. (Network-attached storage) For those who don't know, a NAS is a data storage which is connected to a network. Although, unlike hard drives, a NAS isn't just a file server, as it has its simply a computer by itself. It has its own parts and its own Operating System, and the RAID array drives are attached in it.

Using a NAS for your RAID array has many advantages such as being able to change the hard drives in your RAID array without too much hassle, better and easier volume management, better back up options (such as a cloud back up or a NAS replica), and a higher performance than a DAS on a network.

Finally, the main reason for me to write this article, the recovery of RAID arrays. Thanks to the QNAP RAID recovery software in the NAS, you can recover your RAID array even more than the expected amount of disks crash. Note that this isn't guaranteed, but I've heard good things about QNAP RAID recovery after reading about it on the internet. I haven't tried it myself, but I've heard many people had success with it.

They offer a variety of NAS drives which you can see on their website. It would be unfair to an extent for me to recommend QNAP & QNAP raid recovery right off the bat, as I haven't done much research about other companies and see if they offer services like this & their success rates, but I can only say that I've heard good things about it. So if you're looking for a NAS drive, make sure that you check their website out. Personally, back ups are really important in my view, (I'm sure it's the same for everyone) and this can save your life one day.

I usually write about the things I know about, but today was different for me as well. I hope you enjoy the post and find something which suits your needs!

You can learn more about QNAP RAID recovery in this page.

Thursday 29 November 2012

0 RAID 5 Data Recovery

Hello everyone! After a long break, today's topic is RAID 5 data recovery! First things first, let's start off with what RAID is. RAID (redundant array of independent disks) is a storage system where more than one disk is used. The data is distributed into those disks to prevent data loss in a case where one or more disks malfunction depending on which RAID level is used. There are different RAID levels from RAID 0 to RAID 6 (and RAID 10), each with different attributes.

Today, I will be specifically talking about RAID 5 since it's the most popularly used, (although being replaced slowly by RAID 6) and the safest RAID level.

Image from Wikipedia.

First things first, let's start with how storage space works in RAID 5. Let's assume we have 4 disks for this example, and our disks are 2 TB each. In this case, we would have 6 TB of space in this array, which is calculated by the formula X * ( Y - 1 ), where X is the smallest disk in this array, and Y is the number of disks. A minimum of 3 disks are needed for a RAID 5 array.

As you can see in the picture, the data is divided into 4 disks, which allows data on the different disks to be accessed simultaneously, which is an upside of the RAID 5 array.

With all that being said, now we can talk about the main point, which is RAID 5 data recovery. In RAID 5, the data is striped between multiple disks like we have talked before, and a parity bit is added to each disk (which are calculated between the cylinders) , which is the reason why we see a decrease in total storage space in the array. For those who don't know what parity is, I will explain really quick.

Parity in RAID 5, in simplest terms, are digits which contain information (calculated by XOR of data). But how does that help in order to recover lost data incase one of the disks malfunction? The answer to this is the XOR function. Using the XOR function on the undamaged disks' parity bits give you the parity bit of the damaged drive, which can be used to reconstruct all the data on the damaged disk. Since we brought that up, let's also see how XOR works.

XOR is the principle where if there's a difference between numbers, then the result is 1, and if they're same, the result is 0. Therefore 1 xor 1 would be 0, 0 xor 0 would be 0, 1 xor 0 would be 1, and 0 xor 1 would be 1.

Since we know how XOR works now, let's see an example. 

Drive 1: 010111001
Drive 2: 110011100
---------------------
Drive 3: 100100111 is found by using the XOR function. This means the damaged drive's parity bit is 100100111, and can be used to reconstruct the data on the disk. The same method can be used over and over for each disk, given that only ONE disk in the array is damaged. If more than one disk is damaged, then the XOR function cannot be used, which means RAID 5 will be ineffective.

Of course, there are billions of numbers and calculations being made in a real life case, and this is just a stripped down example in order to learn how RAID 5 data recovery works.

According to the things we talked until now, you can see RAID 5 has a big advantage in the name of data recovery, and is also a good system if the disks are being read more than written on (which I've mentioned earlier)

RAID 5 also comes with its disadvantages like everything else, and that's no surprise. Writing on a RAID 5 system will surely be slow, since the parity data should be kept updated all the time. Therefore, RAID 5 shouldn't be used in places where constant writing to the disks is applied. RAID 5 will also require more RAM, and it makes you lose some part of your storage space.

All in all, I believe RAID 5 data recovery is one of the most miraculous things to happen in computer history, since everything is being stored in computers in this age, and losing important data could be a matter of life and death for a company or a business owner. I'm sure many of you heard the term RAID and wondered how it worked, so I hope this article made you understand it in a better way!




 

Computer Repository 2012 |- Template created by O Pregador - |- Powered by Blogger Templates