ArticleslgStudy

science

Non-standard RAID levels

Non-standard RAID levels is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Non-standard RAID levels rather than just read about it. In short: Although all RAID implementations differ from the specification to some extent, some companies and open-source projects have developed non-standard RAID implementations that differ substantially from the standard. Additionally, there are non-RAID drive architectures, providing configurations of multiple hard drives not referred to by RAID acronyms.

Non-standard RAID levels — main illustration
Non-standard RAID levels — illustration

Key takeaways

  • Non-standard RAID levels belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Non-standard RAID levels to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Non-standard RAID levels from memory before moving on to harder problems.

Reference excerpt

Although all RAID implementations differ from the specification to some extent, some companies and open-source projects have developed non-standard RAID implementations that differ substantially from the standard. Additionally, there are non-RAID drive architectures, providing configurations of multiple hard drives not referred to by RAID acronyms.

RAID-DP Row diagonal parity (RDP) is a scheme where one dedicated disk of parity is in a horizontal "row" like in RAID 4, but the other dedicated parity is calculated from blocks permuted ("diagonal") like in RAID 5. The parity themselves can be laid out on fully dedicated disks (like double RAID 4) or in a distributed way (like in RAID 5). RDP is invented by NetApp, which also uses it in an unusual system of parity storage called RAID-DP (RAID Double Parity). The "row" parity is stored on a dedicated disk like in RAID 4, but the "diagonal" parity is stored on a distributed way like in RAID 5. The technique can be considered RAID 6 in the broad SNIA definition and has the same failure characteristics as RAID 6. RDP is very CPU-efficient compared to earlier schemes (Reed-Solomon with or without Anvin's optimization, EVENODD). The performance penalty of RAID-DP is typically under 2% when compared to a similar RAID 4 configuration.

RAID 7, RAID N+M RAID 7.m has been used to describe an erasure coding system with m extra drives and able to tolerate the loss of m drives. In this scheme, RAID 5 would be RAID 7.1 and RAID 6 would be RAID 7.2. Alternatively, RAID N+M refers to N regular data drives with M redundancy drives, being able to recover all the data when any M drives fail.

General parity system It is possible to support a far greater number of drives by choosing the parity function more carefully. The issue we face is to ensure that a system of equations over the finite field ℤ2 has a unique solution. To do this, we can use the theory of polynomial equations over finite fields. Consider the Galois field GF(m) with m=2k. This field is isomorphic to a polynomial field F2[x]/(p(x)) for a suitable irreducible polynomial p(x) of degree k over ℤ2. We will represent the data elements D as polynomials 𝐃=dk−1xk−1+dk−2xk−2+...+d1x+d0 in the Galois field. Let 𝐃0,...,𝐃n−1∈GF(m) correspond to the stripes of data across hard drives encoded as field elements in this manner. We will use ⊕ to denote addition in the field, and concatenation to denote multiplication. The reuse of ⊕ is intentional: this is because addition in the finite field ℤ2 represents to the XOR operator, so computing the sum of two elements is equivalent to computing XOR on the polynomial coefficients. A generator of a field is an element of the field such that gi is different for each non-negative i<m−1. This means each element of the field, except the value 0, can be written as a power of g. A finite field is guaranteed to have at least one generator. Pick one such generator g, and define 𝐏 and 𝐐 as follows:

As before, the first checksum 𝐏 is just the XOR of each stripe, though interpreted now as a polynomial. The effect of gi can be thought of as the action of a carefully chosen linear feedback shift register on the data chunk. Unlike the bit shift in the simplified example, which could only be applied k times before the encoding began to repeat, applying the operator g multiple times is guaranteed to produce m=2k−1 unique invertible functions, which will allow a chunk length of k to support up to 2k−1 data pieces. If one data chunk is lost, the situation is similar to the one before. In the case of two lost data chunks, we can compute the recovery formulas algebraically. Suppose that 𝐃i and 𝐃j are the lost values with i≠j, then, using the other values of D, we find constants A and B:

We can solve for Di in the second equation and plug it into the first to find Dj=(gm−i+j⊕1)−1(gm−iB⊕A), and then Di=A⊕Dj. Unlike P, The computation of Q is relatively CPU intensive, as it involves polynomial multiplication in F2[x]/(p(x)). This can be mitigated through a hardware implementation (ASIC or FPGA). Alternatively, a cleaver choice of polynomials by Anvin allow fast calculation on CPUs: k=8, 𝐐=⨁i2i𝐃i. This construction allows for efficient implementation using only addition and multiplication by two in GF(28) and opens the possibility of using SSSE3, AVX2, or other SIMD methods to implement efficiently. Similarly, one could define 𝐑=⨁i2−i𝐃i or 𝐑=⨁i4i𝐃i. Unfortunately Anvin's Vandermonde matrix solutions only work up to triple parity; for beyond, a Cauchy matrix construction is required. SSSE3, AVX2, and other SIMD methods remain applicable.

RAID 5E, RAID 5EE, and RAID 6E RAID 5E, RAID 5EE, and RAID 6E (with the added E standing for Enhanced) generally refer to variants of RAID 5 or 6 with an integrated hot-spare drive, where the spare drive is an active part of the block rotation scheme. This spreads I/O across all drives, including the spare, thus reducing the load on each drive, increasing performance. It does, however, prevent sharing the spare drive among multiple arrays, which is occasionally desirable.

Intel Matrix RAID

Intel Matrix RAID (a feature of Intel Rapid Storage Technology) is a feature (not a RAID level) present in the ICH6R and subsequent Southbridge chipsets from Intel, accessible and configurable via the RAID BIOS setup utility. Matrix RAID supports as few as two physical disks or as many as the controller supports. The distinguishing feature of Matrix RAID is that it allows any assortment of RAID 0, 1, 5, or 10 volumes in the array, to which a controllable (and identical) portion of each disk is allocated. As such, a Matrix RAID array can improve both performance and data integrity. A practical instance of this would use a small RAID 0 (stripe) volume for the operating system, program, and paging files; second larger RAID 1 (mirror) volume would store critical data. Linux MD RAID is also capable of this.

Linux MD RAID 10 The software RAID subsystem provided by the Linux kernel, called md, supports the creation of both classic (nested) RAID 1+0 arrays, and non-standard RAID arrays that use a single-level RAID layout with some additional features. The standard "near" layout, in which each chunk is repeated n times in a k-way stripe array, is equivalent to the standard RAID 10 arrangement, but it does not require that n evenly divides k. For example, an n2 layout on two, three, and four drives would look like:

… excerpt ends here. Continue reading the full article.

Illustrations

Non-standard RAID levels: Diagram of a RAID 1E setup
Diagram of a RAID 1E setup

Worked examples

Example 1 — a first encounter with Non-standard RAID levels

Start with the simplest possible case. Write down what Non-standard RAID levels claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Non-standard RAID levels before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Non-standard RAID levels ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Non-standard RAID levels

In research
Non-standard RAID levels appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Non-standard RAID levels in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Non-standard RAID levels is common in secondary-school and first-year university syllabi. It links to neighbouring topics RAID, so understanding it makes those chapters shorter.
In everyday life
Look for Non-standard RAID levels outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Non-standard RAID levels” →

How to study Non-standard RAID levels in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Non-standard RAID levels means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Non-standard RAID levels out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Non-standard RAID levels in simple terms?

Although all RAID implementations differ from the specification to some extent, some companies and open-source projects have developed non-standard RAID implementations that differ substantially from the standard. Additionally, there are non-RAID drive architectures, providing configurations of mul…

Why does Non-standard RAID levels matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Non-standard RAID levels?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Non-standard RAID levels.

Tags

  • RAID

Keep exploring