Jump to content

Nested RAID levels

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Monkbot (talk | contribs) at 02:16, 31 January 2021 (Task 18 (cosmetic): eval 16 templates: hyphenate params (14×);). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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") 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 01 (RAID 0+1)

A nested RAID 01 configuration

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.[3] 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. , where is the total number of drives and 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 03 (RAID 0+3)

A typical RAID 03 configuration

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 10 (RAID 1+0)

A typical RAID 10 configuration

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

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 50 (RAID 5+0)

A typical RAID 50 configuration. A1, B1, etc. each represent one data block; each column represents one disk; Ap, Bp, etc. each represent parity information for each distinct RAID 5 and may represent different values across the RAID 5 (that is, Ap for A1 and A2 can differ from Ap for A3 and A4).

RAID 50, also called RAID 5+0, combines the straight block-level striping of RAID 0 with the distributed parity of RAID 5.[3] 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.[12][13]

RAID 60 (RAID 6+0)

A typical RAID 60 configuration consisting of two sets of four drives each

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 100 (RAID 10+0)

A typical RAID 100 configuration

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:

  • Space efficiency is given as an expression in terms of the number of drives, n; this expression designates a fractional value between zero and one, representing the fraction of the sum of the drives' capacities that is available for use. For example, if three drives are arranged in RAID 3, this gives an array space efficiency of 1 − 1/n = 1 − 1/3 = 2/3 ≈ 67%; thus, if each drive in this example has a capacity of 250 GB, then the array has a total capacity of 750 GB but the capacity that is usable for data storage is only 500 GB. It is sometimes necessary to use in place of due to the inherent nature of the configuration (of use in RAID 10). Fault tolerance uses for representation, in place of , in certain Nested RAID levels (see below for fault tolerance calculation). is the number of disks in each mirror, rather than the total number of disks.
  • Fault tolerance is the number of drive failures allowed, where min is the guaranteed number of failures the RAID can handle and max is the maximum possible without guaranteed failure.
  • Failure rate is given as an expression in terms of the number of drives, (or the number of disks in each mirror, in some cases), and the drive failure rate, (which is assumed identical and independent for each drive) and can be seen to be a Bernoulli trial.[citation needed] 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:
Level Description Minimum number of drives[a] Space efficiency Fault tolerance
Min Max
RAID 01 Block-level striping, and mirroring without parity 4 1 / strips per stripe strips per stripe − 1 nn / strips per stripe
RAID 03 Block-level striping, and byte-level striping with dedicated parity 6 1 − 1 / strips per stripe 1 n / strips per stripe
RAID 10[b] Mirroring without parity, and block-level striping 4 1 / strips per stripe strips per stripe − 1 (strips per stripe − 1) × strips per stripe
RAID 1+6 Mirroring without parity, and block-level striping with double distributed parity 8 (1 - 2 / strips per stripe) / 2 2 × strips per stripe 2 x strips per stripe + (n / strips per stripe) - 2
RAID 50 Block-level striping with distributed parity, and block-level striping 6 1 - (1 / strips per stripe 1 n / strips per stripe
RAID 60 Block-level striping with double distributed parity, and block-level striping 8 1 - (2 / strips per stripe) 2 2 × n × strips per stripe
RAID 100 Mirroring without parity, and two levels of block-level striping 8 1 / strips per stripe strips per stripe − 1 (strips per stripe − 1) × (strips per stripe)

See also

Notes

  1. ^ Assumes a non-degenerate minimum number of drives
  2. ^ Theoretical maximum read performance can be represented as n×. However this may be as low as (n / spans)× in practice, depending on configuration and implementation; theoretical maximum write performance can be represented as (n / spans)×, which is close to observed values in practice; See "Performance comparison" section above for explanation of n.

References

  1. ^ Delmar, Michael Graves (2003). "Data Recovery and Fault Tolerance". The Complete Guide to Networking and Network+. Cengage Learning. p. 448. ISBN 1-4018-3339-X.
  2. ^ Mishra, S. K.; Vemulapalli, S. K.; Mohapatra, P. (1995). "Dual-Crosshatch Disk Array: A Highly Reliable Hybrid-RAID Architecture". Proceedings of the 1995 International Conference on Parallel Processing: Volume 1. CRC Press. pp. I-146ff. ISBN 0-8493-2615-X.
  3. ^ a b c d Layton, Jeffrey B. (2011-01-06). "Intro to Nested-RAID: RAID-01 and RAID-10". Linux-Mag.com. Linux Magazine. Retrieved 2015-02-01.
  4. ^ Kozierok, Charles. "RAID Levels 0+1 (01) and 1+0 (10)". The PC Guide. Retrieved May 28, 2019.
  5. ^ Kozierok, Charles. "RAID Levels 0+3 (03 or 53) and 3+0 (30)". The PC Guide. Retrieved May 28, 2019.
  6. ^ Dawkins, Bill; Jones, Arnold (2006-07-28). "Common RAID Disk Data Format Specification" (PDF). SNIA.org (1.2 ed.). Storage Networking Industry Association. Archived from the original (PDF) on 2009-08-24. Retrieved 2015-01-31.
  7. ^ Brown, Neil (27 August 2004). "RAID10 in Linux MD driver". Archived from the original on 12 September 2013. Retrieved 17 April 2009.
  8. ^ chipsets/imsm/sb/CS-020655.htm "Intel Rapid Storage Technology: What is RAID 10?". Intel. 16 November 2009.
  9. ^ "IBM and HP 6-Gbps SAS RAID Controller Performance" (PDF). Demartek. October 2009. Archived from the original (PDF) on 2011-06-05.
  10. ^ Kozierok, Charles. "Summary Comparison of RAID Levels". The PC Guide. Retrieved May 28, 2019.
  11. ^ Gupta, Meeta (2002). Storage Area Network Fundamentals. Cisco Press. p. 268. ISBN 1-58705-065-X.
  12. ^ a b "Cisco UCS Servers RAID Guide, Chapter 1: RAID Overview" (PDF). Cisco.com. Cisco Systems. pp. 1–14, 1–15. Retrieved 2015-02-01.
  13. ^ a b Lowe, Scott (2010-07-09). "RAID 50 offers a balance of performance, storage capacity, and data integrity". TechRepublic.com. Retrieved 2015-02-01.
  14. ^ "Which RAID Level is Right for Me: RAID 60 (Striping and striping with dual party)". Adaptec.com. Adaptec. Archived from the original on 2015-07-10. Retrieved 2015-02-03.
  15. ^ McKinstry, Jim. "Server Management: Questions and Answers". SAMag.com. Archived from the original on 19 January 2008.

Further reading