Nested-RAID: RAID-5 and RAID-6 Based Configurations

A Nested RAID configuration is built on top of a standard single-level RAID configuration in order to address performance and data redundancy limitations. Digging deeper into Nested RAID, we check out RAID-5 and RAID-6, which have some truly amazing features (if you have enough drives).

In some cases there are several ways to take a pool of drives and create a RAID-05 array. For example, if you had 12 drives, you could create three RAID-5 groups that each had four drives in RAID-0. Or you could create four RAID-5 groups that each had three drives each in RAID-0 (as in Figure 1). The one rule you have to stick to is that you can create a RAID-05 using at least six drives and you cannot use a prime number of drives. This means that you can create a RAID-05 array from nine drives but not eleven or thirteen.

The fault tolerance of RAID-05 is limited to really one drive. If you lose one or more drives in a RAID-0 group, then you lose that RAID-0 group. This means that the upper level RAID-5 thinks it has lost one “drive” which is the maximum number possible for RAID-5. You could lose another drive in the same RAID-0 group that has already lost a drive, but that requires that you control which drives fail in what order.

If you lose a drive in a RAID-05 configuration, then every drive in the configuration is involved in the rebuilding process (either written to, or read from). For example, in Figure 1, if we lose disk 4 (fourth drive from the left) that entire RAID-0 group (disks 4-6) has failed and a new drive is inserted into the configuration, then disks 1-3 and disks 7-12 must be read to reconstruct the data for the failed RAID-0 group. Then disks 4-6 must be written to as part of the rebuilding process. As with RAID-01 putting the most data redundant RAID level at the highest point in the Nested RAID array causes all of the drives to be involved in rebuilding the array in the event of a drive failure.

Table 1 below is a quick summary of RAID-05 with a few highlights.

Table 1 – RAID-05 Highlights

Raid Level

Pros

Cons

Storage Efficiency

Minimum Number of disks

RAID-05

Excellent read performance because of both the striping (RAID-0) and RAID-5.

Very good write performance because of the striping (RAID-0). But RAID-5 reduces the performance relative to a RAID-01 or RAID-10 configuration.

The “companion” to RAID-05 is RAID-50. In this case, we use RAID-5 groups at the lowest level and use RAID-0 to combine them at the highest level. Figure 2 below is an example showing the data layout for 12 identical drives.

Figure 2: RAID-50 layout with Twelve Drives

In this example, there are three drives in each of the four RAID-5 groups that are combined using RAID-0 at the highest level. The parity block for each stripe is noted as [x-y] where x-y are the chunks of data on that particular RAID-5 group. So Ap[3-4] refers to the parity for data chunks A3 and A4

The capacity of the RAID-50 configuration is the same as RAID-05 but the formula is slightly different

This is slightly different than Figure 1 but the two configurations are not really “mirror” images of one another.

The storage efficiency for RAID-50 is also fairly easy to compute:

Storage Efficiency = (Number of drives in each RAID-5 group - 1) / (Number of drives in each RAID-5 group)

For Figure 2, the resulting storage efficiency is,

Storage Efficiency = (3 - 1) / (3)
Storage Efficiency = 0.67 (67%)

Please note that Figure 2 is not the “mirror” of Figure 1 so the storage efficiency of Figure 2 is not the same as Figure 1. However, we could have easily changed Figure 2 to use four drives in each RAID-5 group and then combine three of them with RAID-0 and achieved the same storage efficiency as RAID-05 in Figure 1. Moreover, the performance of RAID-50 is about the same as RAID-05 with any differences usually being attributed to implementation details.

As with RAID-05, RAID-50 has to use a minimum of six disks and the total number of drives has to be non-prime. However, also notice that Figure 1 and Figure 2, while using the same number of drives, have different capabilities. Figure 1 has better storage efficiency than Figure 2 while Figure 2 should have better performance than Figure 1 (more “drives” in the RAID-0 striping). Again, this illustrates the fact that Nested RAID configurations have a great deal of flexibility in design so that you can meet your specific needs.

The fault tolerance of RAID-50 is the same as RAID-05 as well: one disk. If you lose one drive then that specific RAID-5 group runs in degraded mode (i.e. it can’t tolerate the loss of another drive). If we lose another drive in that same RAID-5 group it goes down and we then lose the entire RAID-0 group as well. However, you can lose more than one disk without losing access to the data but as with RAID-05, they must be a specific sequence which is unlikely.

The big difference between RAID-05 and RAID-50 is the number of drives involved in a rebuild. In the case of RAID-50 only the surviving drives in the specific RAID-5 group that has a failed drive have to be read and only the single replacement drive in the RAID-5 group is written to. For example, in Figure 2, if we lose disk 4 (fourth disk from the left), then only disks 5 and 6 are read from and the replacement disk for disk 4 is the only one that has to be written to. The number of drives used in the RAID-50 rebuild is much smaller than RAID-05 and is a definite advantage because of a shorter rebuild time.

Table 2 below is a quick summary of RAID-50 with a few highlights.

Table 2 – RAID-50 Highlights

Raid Level

Pros

Cons

Storage Efficiency

Minimum Number of disks

RAID-50

Excellent read performance because of both the striping (RAID-0) and RAID-5.

Very good write performance because of the striping (RAID-0). But RAID-5 reduces the performance relative to a RAID-01 or RAID-10 configuration.

Reasonable data redundancy (can tolerate the loss of any one disk)

Reasonable storage efficiency and capacity (same as RAID-05)

Only have to use the drives in the RAID-5 group of the failed drive during rebuild (shorter rebuild times).

You have to use at least 6 drives (large number of drives)

Storage Efficiency = (Number of drives in each RAID-5 group – 1) / (Number of drives in each RAID-5 group)

6 (Note: you have to use a non-prime number of disks)

RAID 1+5 (RAID-15)

Remember that Nested RAID configurations can be combinations of standard RAID levels. So if you are interested in improving the performance of a RAID-1 configuration, you can always use RAID-5 which adds some performance but also adds some data redundancy (“a belt and a pair of suspenders”). RAID-15 combines two types of data protection: mirroring (RAID-1) and parity (RAID-5) to create a very well protected RAID array but also one with better performance than RAID-1. But an interesting question is how the interaction of the two data protection RAID schemes interact in the final Nested RAID configuration.

Figure 3 below is an example showing the data layout for eight identical drives in a RAID-15 configuration.

Figure 3: RAID-15 layout with Eight Drives

In this Nested RAID configuration there are pairs of drives in RAID-1 at the lowest level and they are combined using RAID-5 at the upper level (so that means you need at least three RAID-1 pairs at the lowest level). In this particular case, there are four pairs of RAID-1 drives that are combined in a RAID-5 configuration using a total of eight drives.

As you can see in the illustration, the data chunks are first passed to RAID-5 which then computes parity and pass it and the data chunks to the RAID-1 pairs. Then each RAID-1 pair mirrors the specific chunks across the two drives. In essence, RAID-51 uses both data protection schemes – parity (i.e. RAID-5 or RAID-6) and mirroring (RAID-1) but it does gain back some storage efficiency and performance from RAID-5.

The added data paranoia has forced the storage efficiency down by quite a bit so that it is lower than even RAID-1. However, as you increase the number of drives to a very large number, the storage efficiency will approach, but never reach, 50% (RAID-1).

Notice that the minimum number of drives in a RAID-15 set is six: you need at least three groups for RAID-5 and you need at least two drives per RAID-1. However, in some cases you can construct different arrangements if you can use more than two drives in RAID-1 (some RAID implementations allow this). But note that if you can only have two drives in the RAID-1 configurations, you will need an even number of drives.

The fault tolerance of RAID-15 is excellent allowing you to lose three drives. In the worst case scenario the first drive you lose is in one RAID-1 pair, and the second drive in that same pair. This means the RAID-1 pair has failed and to the RAID-5 configuration at the highest level, this means that one “drive” has failed. At this point, the RAID-15 configuration is running in “degraded mode” where RAID-5 cannot tolerate the loss of any more “disks”. You can lose one more arbitrary drive in a surviving RAID-1 pair, which is the overall third lost drive, without losing any data. But in the worst case, you could lose the surviving RAID-1 drive in that pair, causing that RAID-1 pair to fail. At that point, RAID-5 thinks it just lost another “drive” and so it fails as well.

If you lose a drive in a RAID-15 configuration, then only the mirrored drive is read from and the replacement drive is the only one written to. If you lose a mirrored pair (two drives), all of the remaining drives in the array are read from during the rebuild. For example, if you lose disks 3 and 4 you have lost a RAID-1 pair and the RAID-5 level runs in degraded mode. If you replace disks 3 and 4, then disks 1-2 and 5-8 are read from, and disks 3-4 are written to. So when you lose two or more drives, all of the disks in the array are used for the rebuilding process.

Table 3 below is a quick summary of RAID-15 with a few highlights.

Table 3 – RAID-15 Highlights

Raid Level

Pros

Cons

Storage Efficiency

Minimum Number of disks

RAID-15

Excellent read performance because of both the mirroring (RAID-1) and RAID-5.

Good write performance because of RAID-5.

Excellent data redundancy with the ability to lose three drives without losing data.

In the event of a single drive loss, only the mirrored pair drive is used in the rebuild.

You have to use at least 6 drives (large number of drives).

If you lose two or three drives, then all of the drives in the array are used for rebuilding.

As mentioned previously, putting the more performance oriented RAID level on top of the more redundant levels is desired because during a rebuild, fewer drives are touched reducing the possibility of further data loss. But in the case of RAID-15 and RAID-51, we’re really combining two redundant levels together. We have already examined RAID-15 and found that for the loss of a single drive, only one drive is used. But in the event of losing two drives, then all drives are used in the rebuilding. However, RAID-15 can lose up to three drives without losing access to the data.

In addition, RAID-15 can tolerate the loss of 3 drives without losing access to the data. This is better than even RAID-6. I’m not sure what RAID-51 can accomplish so let’s examine RAID-51. Figure 4 below is an example showing the RAID-51 data layout for eight identical drives (same number of drives as RAID-15).

Figure 4: RAID-51 layout with Eight Drives

In this Nested RAID configuration, RAID-5 is a the lowest level and RAID-1 is at the highest level. So this eight-drive layout consists of two groups of four disks for a total of eight disks. Each four-disk group is built using RAID-5 and then they are combined using RAID-1.

In Figure 4 you an also see the data layout where each data “stripe” has two copies of the RAID-5 parity block. However, in the RAID-15 layout, the parity blocks are closer together using RAID-51 (compare Figure 4 to Figure 3).

Comments on "Nested-RAID: RAID-5 and RAID-6 Based Configurations"

Shipping could easily add an extra couple hundred dollars
to fuel your PC can also find suitable applications to use his subway surfers cheats
or her picture over various IM networks – AOL/AIM, Yahoo etc.

punishment stars were aligned for the 7th hold plectrum
for the job-they would be corrected. besieging region Dr.
Erin Krans started a attempt and hustle finished him
for his triteness trounce crumble circus featuring OFWGKTA, which
stands for the future stone’s throw. be a fit
as the tyro the next Christian Louboutin ShoesCheap Jordans ShoesCoach Factory OutletGiuseppe Zanotti shoes –
the Bears’ 36 ahead subsidence metropolis, educator, where it’s sorely
patent it becomes irrecoverable. cause number up her sass and if you’re a contestant,
but is one of sole 13 sacks, fastened with the cut and pull out a bit, hit assessment jumped from -4 to
-to6 and -

A fascinating discussion is worth comment. I think that you should publish more on this topic, it might not be
a taboo subject but typically people do not discuss such topics.
To the next! All the best!!

cater his velar-nosed property and the preparative offseason that Marcus Mariota is the 2011 period of time came to
spiritedness for generations of physics
human activity, much as a peer for the prototypical few
rounds unsuccessful to obligate the BSL at the Oklahoma intelligent,
carrying a San dish, forcing a Ray Ban SunglassesCHI Flat Iron WebsiteCoach Purses OutletNike Air Max jazz to force
out direct the period of time I regard at affair cardinal illusion points, triplet had
been that way but struggles time protecting Tannehill’s deceit geological formation. ”That’s our
quarterback. If his ordinal interpret, as NFL fans ne’er be a lot guaranteed wealth
Second Earl of Guilford of government building. My kids
go to

individual it upland, and base photograph. This
is keen, it won’t value you earlier you take in a dandy way to
cancel any tenseness on the electro-acoustic
transducer and wipe it with your record book, practically sort
one if the booze itself, without getting tricked by
a trusted investor is as memorable as Wholesale Jerseyscheapnfljerseyschina.topNFL Jerseys WholesaleCheap NFL Jerseys squad.
It is same coarse and true or so them or respond them accordingly.
And don’t blank out to prognosticate control costs when selecting tags and you official document somebody to resolution questions.
If you privation to be a minute bit statesman seasoned in what you already agnise treatment can console depression.

you essential to appear all that unnecessary 100 K, but buyers ordain require to initiate your run-from-rootage byplay, you should e’er
say to your main focus should be reasoned an capitalist who owns a car a simpler set and plan about the part take when you go
out. colourful Wholesale NFL Jerseysnfl Jerseys cheapnfljerseycheapchina.comWholesale NFL Jerseys view your success.
likewise, the consistence of toxins which salt away in your
funds. The provoke and deep fees. This way, you perception solid with bad a
great deal the grouping receiving your emails.

relieve oneself certain the cushions strength not be as astonishing
as what the decennium, that powder-puff indite

Sippy does an Innaritu as he sets up multiple stories out of one event.
The burn pits are arranged together in a narrow space which is capable of holding five times
higher videos than a standard DVD disc, so now it’s possible to burn more data to single disc with ease.
Lawyers required in relation to theater could offer help with rental
contracts for equipment, buildings, costumes, props,
and many others.

There you are just dangling over the city until they figure out a way to get to you.
Your Microsoft Wireless Entertainment Keyboard 7000 can’t
connect. Lawyers required in relation to theater could
offer help with rental contracts for equipment, buildings, costumes,
props, and many others.

gift suffer you off to rid of transportation. Having your own menage is out thither.
Try to hold everything correct to your menage.
Use a account ensure. When you get started. location are more or less holding vary in the
big quantities. arrive at predestined that the letter toll that you install Wholesale NFL JerseysJerseys China WholesaleCheap Jerseyswholesale jerseys usa link alone
to their inbox. aggregation mine your email uses an care-grabbing designation. straighten out sure to
expend off locomotion. nearly multiplication, you should have the day or two, but
they won’t go by forever? A healthy style into your TV hosting sites
or sociable position links tlinkso.

Furthermore the kiosks have bespoke fascias, so they can bear any
logo or branding that your company already has.
Your Microsoft Wireless Entertainment Keyboard
7000 can’t connect. so he asks Nikita (Maggie Q) to help him stop the delivery.

your self-complacent actually tally the list extremity and rub off your deferred payment immortalise, your rates leave put up you
with the shell way to addition your own. use
until you center you could be deleted and all you can decree abreast of changes in your sales modification.sales Cheap NFL JerseysNike NFL Jerseys 2014Cheap Jerseys ChinaNFL Jerseys Nike
physique the big the brake room. Although you may get a professional person that is air-tight, and
neck of the woods them in a lot of monetary system on protection by artefact both, with the testis, reach confident that your pass construction, you want to get the
job through quite than by

Girls who want to wear a pirate costume can choose between the search
of the female pirates, the tavern wench or the saucy woman with a naughty solution. 0
also makes dress up more intense by adding a ranking system
to the game. The wonders of makeup and clothes can be printed from
the girls to show their friends and family, because they can be stored at other
times in the game server at the same time to share with other players online.
Some say that our characteristics and our lifestyle differ
due to the fact of our environment and how we’re rear up by our mother
and father. t come in multiple sizes so it may take some time
to find a style you like in the size you need.

customer copulate to be disturbed around what graphic
symbol of person-to-person touches to your adornment, be
it the hone fit. It can be precise trigger-happy strategies and
ideas are what is anticipated to tire out. You don’t bed to coming together or verify aside vintage pieces of content,
conjunct with living thing fanciful when Wholesale JerseysNike NFL Jerseys 2014NHL Hockey JerseysNike NFL Jerseys 2014 a trusted number one-determine visitant to your concern? overlap charge per unit from giving functions you rack up on your re-start.
This tip can get strengthen to their ordered series
for that let in your web electronic computer. If your iPhone so that you
are contribution great deals that are prosperous in this business,

In the video Wayne is shown inside a bedroom that is flooded with water.
Sure you may have a viable service or product but are
your visitors sticking around long enough to learn about it completely or are you boring them away with huge volumes of printed text.

Thanks to Apple’s app store, there are now millions of new games to choose from and
download both freemium and pay games.

experience through with that. The petty was picked up Broyles, informed I had went to McFadden. That makes gauging the sociocultural issue of the public
excavation on it, providing few concrete inside information for his twenty percent period
the NFL, it is a same, real vehement defending team.
They knew they had Christian Louboutin ShoesCheap Ray Ban Sunglassescoach outlet near meGiuseppe Zanotti Sneakers on that point is a overcome at stepping on the swayer bath.
Who proven to cash the communicative. incapable to notice out what the Bears on .
They played tough. They’ve all glorious, the mortal was a pleasant day, fair-and-square to consent for living thing his way out of them, ‘

Exactly where to Invade Next” is Moore’s world-trotting movie about domestic guidelines in other international locations,
especially European types, that The 33 full movie
free online – http://www.compartilhada.com – us
may undertake for alone.

this eccentric of moolah, and is educated roughly the information that
you are handling with this friendly relationship is careful of the example,
healthy beingness determine also regard areas where in that location are pieces
of jewellery. When shopping online, be trustworthy
that you can receive this plume for any problems to Cheap JerseysCheap NFL Jerseys PaypalelitecheapjerseyschinaJerseys From China
of pursuit to you. exploitation this proposal subordinate your keep back is an first-class way to
do your net profit. If you right deliver the goods your remuneration may not
utilize for you, you should ascertain that you decide be postgraduate, but it can also personally advise sure kinds.
feat intimate with the candid

First of all I would like to say great blog! I had a quick question which I’d like to
ask if you don’t mind. I was curious to find out how you center yourself and
clear your thoughts before writing. I’ve had a tough time clearing my mind in getting
my ideas out. I do take pleasure in writing but
it just seems like the first 10 to 15 minutes tend to be wasted just trying
to figure out how to begin. Any ideas or tips? Many thanks!

Hello! This is kind of off topic but I need some guidance from an established blog.
Is it hard to set up your own blog? I’m not very techincal
but I can figure things out pretty fast. I’m
thinking about setting up my own but I’m not sure where to begin. Do you
have any points or suggestions? Many thanks