RAID6 Advantages Over RAID0 and RAID5
By Gabriel Torres on April 15, 2006


RAID (Redundant Array of Independent Disks) systems are used to increase the performance and/or reliability of the hard disk drives of the system. In this article we will explain the basics about RAID0, RAID1, RAID5 and the advantages of RAID6 over them.

There are two basic ideas behind RAID: data stripping (a.k.a. RAID0), used to increase performance, and mirroring (a.k.a. RAID1), used to increase reliability.

On RAID1 the data stored at one hard drive is automatically copied to another. In a two-disk system, data found on the second disk will be an exact copy of the data stored on the first disk. If the first hard drive goes defective, you will still have your data, since the second disk will have an updated copy of all data stored on disk 1. This process is also known as mirroring.

RAID0, on the other hand, is targeted to increase the disk performance, by dividing the files between all available disks. For example, on a RAID0 system with two disks, a 100 KB file to be stored on the hard disk is split into two 50 KB data chunks, each one stored in one different disk, increasing the disk performance, since it is faster to store half the file than to store the full file. In other words, it is faster for a hard drive to store a 50 KB file than to store a 100 KB file.

The problem with RAID0 is to increase its reliability, since if one of the disks go defective, all data is lost.

Several RAID systems were created to increase the reliability of data stripping, like RAID3, which uses an extra hard disk drive to store parity and data correction information, and RAID5, which is similar to RAID3 but stores parity and data correction information inside the disks found on the system, thus not requiring an extra hard disk drive. Keep in mind that since RAID5 will store parity and data correction information inside each "data" hard disk drive of the system, less space is left on those drives for data storage.

If there is any read error, the RAID system automatically starts a data recover operation, using the parity and error correction information to restore the data being read.

Inside RAID5

The problem with RAID5 is that if one of the hard disk drives fails in the exact moment that a data recovery operation is being conducted, the system fails and there is data loss, i.e., the system isnt capable of recovering the data that started the data recovery operation and also data is lost because one of the hard disk drives is defective.
While for small RAID systems the probability of such scenario to happen is very little, for big RAID systems such situation isnt so remote. During IDF Spring 2005 Intel provided a study pictured in Figure 1. It shows the probability of failure on a RAID5 system for three different configurations:

click to enlarge
Figure 1: Data loss probability on RAID5 systems.

As you can see, the probability of data loss during a data recovery operation increases with both the number of hard disk drives in the system and the capacity of each hard disk drive.

RAID6 Advantages

RAID6 systems instead of storing only one parity and error correction information store two, which are arranged in such a way that even if one of the hard disk drives fails during the data recovery process, the systems continues operational, with no data loss.

In Figure 2, you can see the probability of data loss during a data recovery procedure on RAID0 (in blue), RAID5 (in yellow the probability of hard disk drive failure and in pink the probability of a system failure) and RAID6 (in light blue).

click to enlarge
Figure 2: RAID0, RAID5 and RAID6 comparison.

The y axis shows the number of months until a unrecoverable failure while the x axis shows the system capacity, in GB.

As you can see on the graph, RAID6 only has the same failure probability of RAID5 on systems starting at 23 TB, below this point RAID6 presents a failure probability far lower than RAID5, being the recommended system for storage systems where reliability is the key word.

Originally at

2004-15 Clube do Hardware, all Rights Reserved.

Total or partial reproduction of the contents of this site, as well as that of the texts available for downloading, be this in the electronic media, in print, or any other form of distribution, is expressly forbidden. Those who do not comply with these copyright laws will be indicted and punished according to the International Copyrights Law.

We do not take responsibility for material damage of any kind caused by the use of information contained in Hardware Secrets.