Our website use cookies to improve and personalise your experience and to display advertisements (if any). Our website may also include cookies from third parties like Google Adsense, Google Analytics, Youtube. By using the website, you consent to the use of cookies.

Blog Post

What is RAID?

I’ve had a number of emails asking me to provide details about RAID well here goes I think I’ve covered everything.

RAID is a group of independent physical disks that provides high performance by increasing the number of drives used for saving and accessing data. A RAID disk subsystem improves I/O performance and data availability. The physical disk group appears to the host system either as a single storage unit or multiple logical units. Data throughput improves because several disks are accessed simultaneously. RAID systems also improve data storage availability and fault tolerance. Data loss caused by a physical disk failure can be recovered by rebuilding missing data from the remaining physical disks containing data or parity. RAID is not a backup solution. It does not replace a good data backup solution for data retention and security.

RAID Levels

  • RAID 0 uses disk striping to provide high data throughput, especially for large files in an environment that requires no data redundancy.
  • RAID 1 uses disk mirroring so that data written to one physical disk is simultaneously written to another physical disk. RAID 1 is good for small databases or other applications that require small capacity, but also require complete data redundancy.
  • RAID 5 uses disk striping and parity data across all physical disks (distributed parity) to provide high data throughput and data redundancy, especially for small random access.
  • RAID 6 is an extension of RAID 5 and uses an additional parity block. RAID 6 uses block-level striping with two parity blocks distributed across all member disks. RAID 6 provides protection against double disk failures, and failures while a single disk is rebuilding. If you are using only one array, deploying RAID 6 is more effective than deploying a hot spare disk.
  • RAID 10 a combination of RAID 0 and RAID 1, uses disk striping across mirrored disks. It provides high data throughput and complete data redundancy. RAID 10 can support up to eight spans, and up to 32 physical disks per span.
  • RAID 50 is a combination of RAID 0 and RAID 5 where a RAID 0 array is striped across RAID 5 elements. RAID 50 requires at least six disks.
  • RAID 60 is a combination of RAID 0 and RAID 6 where a RAID 0 array is striped across RAID 6 elements. RAID 60 requires at least eight disks.

RAID Terminology


RAID 0:  RAID 0 allows you to write data across multiple physical disks instead of just one physical disk. RAID 0 involves partitioning each physical disk storage space into 64 KB stripes. These stripes are interleaved in a repeated sequential manner. The part of the stripe on a single physical disk is called a stripe element. For example, in a four-disk system using only RAID 0, segment 1 is written to disk 1, segment 2 is written to disk 2, and so on. RAID 0 enhances performance because multiple physical disks are accessed simultaneously, but it does not provide data redundancy
Disk1
Fault Tolerance – None
Advantage – Improved performance, Additional storage
Disadvantage – Should not be used for critical data Data Loss will occur with any drive failure.

RAID 1:  With RAID 1, data written to one disk is simultaneously written to another disk. If one disk fails, the contents of the other disk can be used to run the system and rebuild the failed physical disk. The primary advantage of RAID 1 is that it provides 100 percent data redundancy. Because the contents of the disk are completely written to a second disk, the system can sustain the failure of one disk. Both disks contain the same data at all times. Either physical disk can act as the operational physical disk

Disk2
Fault Tolerance – Disk errors, Single disk failure
Advantage – High read performance, Fast recovery after drive failure, Data redundancy
Disadvantage – High disk overhead, Limited capacity

RAID 5 and 6:  Parity Data Parity data is redundant data that is generated to provide fault tolerance within certain RAID levels. In the event of a drive failure the parity data can be used by the controller to regenerate user data. Parity data is present for RAID 5, 6, 50, and 60. The parity data is distributed across all the physical disks in the system. If a single physical disk fails, it can be rebuilt from the parity and the data on the remaining physical disks. RAID level 5 combines distributed parity with disk striping.  Parity provides redundancy for one physical disk failure without duplicating the contents of entire physical disks.  RAID 6 combines dual distributed parity with disk striping. This level of parity allows for two disk failures without duplicating the contents of entire physical disks.

RAID 5 (below)

  DISK3

Fault Tolerance – Disk errors, Single disk failures
Advantage – Efficient use of drive capacity, High read performance, Med-to-High write performance
Disadvantage – Disk failure medium impact, Longer re-build due to parity re-calculation

RAID 6 (below)
  Disk4
Fault Tolerance – Disk errors, Dual disk failures
Advantage – Data redundancy, High read performance
Disadvantage – Write performance decrease due to dual parity calculations, Extra cost due to 2 disk equivalent devoted to parity

RAID 10: 
RAID 10 requires two or more mirrored sets working together. Multiple RAID 1 sets are combined to form a single array. Data is striped across all mirrored drives. Since each drive is mirrored in RAID 10, no delay is encountered because no parity calculation is done. This RAID strategy can tolerate the loss of multiple drives as long as two drives of the same mirrored pair do not fail. RAID 10 volumes provide high data throughput and complete data redundancy (Figure 5 (English only)).
DISK5

Fault Tolerance – Disk errors, One disk failure per mirrored set
Advantage – High read performance, Supports largest RAID group of 192 drives
Disadvantage – Most expensive

Related Posts