Nested RAID levels explained

Nested RAID levels, also known as hybrid RAID, combine two or more of the standard RAID levels (where "RAID" stands for "redundant array of independent disks" or "redundant array of inexpensive disks") to gain performance, additional redundancy or both, as a result of combining properties of different standard RAID layouts.[1] [2]

Nested RAID levels are usually numbered using a series of numbers, where the most commonly used levels use two numbers. The first number in the numeric designation denotes the lowest RAID level in the "stack", while the rightmost one denotes the highest layered RAID level; for example, RAID 50 layers the data striping of RAID 0 on top of the distributed parity of RAID 5. Nested RAID levels include RAID 01, RAID 10, RAID 100, RAID 50 and RAID 60, which all combine data striping with other RAID techniques; as a result of the layering scheme, RAID 01 and RAID 10 represent significantly different nested RAID levels.[3]

(RAID 0+1)

RAID 01, also called RAID 0+1, is a RAID level using a mirror of stripes, achieving both replication and sharing of data between disks. The usable capacity of a RAID 01 array is the same as in a RAID 1 array made of the same drives, in which one half of the drives is used to mirror the other half.

(N/2)Smin

, where

N

is the total number of drives and

Smin

is the capacity of the smallest drive in the array.[4]

At least four disks are required in a standard RAID 01 configuration, but larger arrays are also used.

(RAID 0+3)

RAID 03, also called RAID 0+3 and sometimes RAID 53, is similar to RAID 01 with the exception that byte-level striping with dedicated parity is used instead of mirroring.[5]

(RAID 1+0)

RAID 10, also called RAID 1+0 and sometimes RAID 1&0, is similar to RAID 01 with an exception that the two used standard RAID levels are layered in the opposite order; thus, RAID 10 is a stripe of mirrors.

RAID 10, as recognized by the storage industry association and as generally implemented by RAID controllers, is a RAID 0 array of mirrors, which may be two- or three-way mirrors,[6] and requires a minimum of four drives. However, a nonstandard definition of "RAID 10" was created for the Linux MD driver; Linux "RAID 10" can be implemented with as few as two disks. Implementations supporting two disks such as Linux RAID 10 offer a choice of layouts.[7] Arrays of more than four disks are also possible.

According to manufacturer specifications and official independent benchmarks, in most cases RAID 10[8] provides better throughput and latency than all other RAID levels[9] except RAID 0 (which wins in throughput).[10] Thus, it is the preferable RAID level for I/O-intensive applications such as database, email, and web servers, as well as for any other use requiring high disk performance.[11]

(RAID 5+0)

RAID 50, also called RAID 5+0, combines the straight block-level striping of RAID 0 with the distributed parity of RAID 5. As a RAID 0 array striped across RAID 5 elements, minimal RAID 50 configuration requires six drives. On the right is an example where three collections of 120 GB RAID 5s are striped together to make 720 GB of total storage space.

One drive from each of the RAID 5 sets could fail without loss of data; for example, a RAID 50 configuration including three RAID 5 sets can tolerate three maximum potential simultaneous drive failures (but only one per RAID 5 set). Because the reliability of the system depends on quick replacement of the bad drive so the array can rebuild, it is common to include hot spares that can immediately start rebuilding the array upon failure. However, this does not address the issue that the array is put under maximum strain reading every bit to rebuild the array at the time when it is most vulnerable.[12] [13]

RAID 50 improves upon the performance of RAID 5 particularly during writes, and provides better fault tolerance than a single RAID level does. This level is recommended for applications that require high fault tolerance, capacity and random access performance. As the number of drives in a RAID set increases, and the capacity of the drives increase, this impacts the fault-recovery time correspondingly as the interval for rebuilding the RAID set increases.

(RAID 6+0)

RAID 60, also called RAID 6+0, combines the straight block-level striping of RAID 0 with the distributed double parity of RAID 6, resulting in a RAID 0 array striped across RAID 6 elements. It requires at least eight disks.[14]

(RAID 10+0)

RAID 100, sometimes also called RAID 10+0, is a stripe of RAID 10s. This is logically equivalent to a wider RAID 10 array, but is generally implemented using software RAID 0 over hardware RAID 10. Being "striped two ways", RAID 100 is described as a "plaid RAID".[15]

Comparison

The following table provides an overview of some considerations for nested RAID levels. In each case:

m

in place of

n

due to the inherent nature of the configuration (of use in RAID 10). Fault tolerance uses

m

for representation, in place of

n

, in certain Nested RAID levels (see below for fault tolerance calculation).

m

is the number of disks in each mirror, rather than the total number of disks.

n

(or the number of disks

m

in each mirror, in some cases), and the drive failure rate,

r

(which is assumed identical and independent for each drive) and can be seen to be a Bernoulli trial. For example, if each of three drives has a failure rate of 5% over the next three years, and these drives are arranged in RAID 3, then this gives an array failure rate over the next three years of:

\begin{align}1-(1-r)n-nr(1-r)n&=1-(1-5\%)3-3 x 5\% x (1-5\%)3\\ &=1-0.953-0.15 x 0.952\\ &=1-0.857375-0.135375\\ &=0.00725\\ &0.7\%\end{align}

LevelDescriptionMinimum number of drivesSpace efficiencyFault tolerance
MinMax
RAID 01Block-level striping, and mirroring without parity4
RAID 03Block-level striping, and byte-level striping with dedicated parity6
RAID 10Mirroring without parity, and block-level striping4
RAID 1+6Mirroring without parity, and block-level striping with double distributed parity8
RAID 50Block-level striping with distributed parity, and block-level striping6
RAID 60Block-level striping with double distributed parity, and block-level striping8
RAID 100Mirroring without parity, and two levels of block-level striping8

See also

Further reading

Notes and References

  1. Book: Delmar, Michael Graves. The Complete Guide to Networking and Network+. 2003. Cengage Learning. 1-4018-3339-X. 448. Data Recovery and Fault Tolerance.
  2. Book: Mishra. S. K.. Vemulapalli. S. K.. Mohapatra. P.. Proceedings of the 1995 International Conference on Parallel Processing: Volume 1. 1995. CRC Press. 0-8493-2615-X. I-146ff. Dual-Crosshatch Disk Array: A Highly Reliable Hybrid-RAID Architecture.
  3. Web site: Intro to Nested-RAID: RAID-01 and RAID-10 . https://web.archive.org/web/20110110035813/http://www.linux-mag.com/id/7928 . usurped . January 10, 2011 . 2011-01-06 . 2015-02-01 . Jeffrey B. . Layton . . Linux-Mag.com.
  4. Web site: RAID Levels 0+1 (01) and 1+0 (10) . The PC Guide . Kozierok . Charles . 17 August 2018 . May 28, 2019.
  5. Web site: RAID Levels 0+3 (03 or 53) and 3+0 (30) . The PC Guide . Kozierok . Charles . 5 September 2018 . May 28, 2019.
  6. Web site: Common RAID Disk Data Format Specification . 1.2 . https://web.archive.org/web/20090824050602/http://www.snia.org/tech_activities/standards/curr_standards/ddf/SNIA-DDFv1.2.pdf . SNIA.org . . Bill . Dawkins . Arnold . Jones . 2006-07-28 . 2009-08-24 . 2015-01-31 .
  7. Web site: RAID10 in Linux MD driver . 27 August 2004 . Neil . Brown . 17 April 2009 . https://web.archive.org/web/20130912065741/http://neil.brown.name/blog/20040827225440 . 12 September 2013 . dead .
  8. Web site: Intel Rapid Storage Technology: What is RAID 10? . . 16 November 2009.
  9. Web site: IBM and HP 6-Gbps SAS RAID Controller Performance . Demartek . October 2009 . dead . https://web.archive.org/web/20110605162202/http://www-03.ibm.com/systems/resources/Demartek_IBM_LSI_RAID_Controller_Performance_Evaluation_2009-10.pdf . 2011-06-05 .
  10. Web site: Summary Comparison of RAID Levels . The PC Guide . Kozierok . Charles . 15 August 2018 . May 28, 2019.
  11. Book: Gupta, Meeta . Storage Area Network Fundamentals . . 1-58705-065-X . 268 . 2002.
  12. Web site: Cisco UCS Servers RAID Guide, Chapter 1: RAID Overview . 2015-02-01 . . Cisco.com . PDF . 1-14, 1-15.
  13. Web site: RAID 50 offers a balance of performance, storage capacity, and data integrity . 2010-07-09 . 2015-02-01 . Scott . Lowe . TechRepublic.com.
  14. Web site: Which RAID Level is Right for Me: RAID 60 (Striping and striping with dual party) . https://web.archive.org/web/20150710143140/http://www.adaptec.com/en-US/_common/compatibility/_education/RAID_level_compar_wp.htm#2.8 . dead . 2015-07-10 . 2015-02-03 . . Adaptec.com .
  15. Web site: Server Management: Questions and Answers . https://web.archive.org/web/20080119125114/http://www.samag.com/documents/s=9365/sam0013h/0013h.htm . 19 January 2008 . Jim . McKinstry . SAMag.com .