dcsimg

Intro to Nested-RAID: RAID-01 and RAID-10

In the last article we reviewed the most basic RAID levels. In this article, we take things to the next level and discuss what is called "Nested RAID Levels". These concepts can provide both performance and redundancy for a data-rich world. We then look at RAID-01 and RAID-10; two of the most common Nested RAID configurations.

This particular example was taken from wikipedia. There are a total of six drives that are all the same size (120GB). This RAID-01 array has two sets of three drives each. Each set of three drives is built with RAID-0 (the lowest level) and then they are combined using RAID-1 (mirroring).

The capacity of a RAID-01 array are the fairly simple to compute. The capacity is computed as,

Capacity = (n/2) * min(disk sizes)

where n is the number of disks in the array and min(disk sizes) is the minimum common capacity across the drives (this indicates that you can use drives of different sizes). This equation also means that RAID-01 is not very capacity efficient since you lose half of the drives to gain better data redundancy (mirroring).

Examining the RAID layout for data redundancy and failures is very enlightening. In particular what happens when a drive is lost? Let’s assume drive 2 is lost (second drive from the left). Immediately the RAID-0 group that it belongs to fails. However, since we have a mirror of the RAID-0 group, we don’t lose any data (always a good thing). We can even tolerate losing disks 1 and 3 while disk 2 is down without losing any data because they are part of the first RAID-0 group. However, after losing disk 2, we cannot tolerate losing any disk in the second RAID-0 group (disk 4, disk 5, disk 6). So the redundancy of RAID-01 is one disk (worst case) and n/2 in the best case (but not likely to happen).

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

Table 1 – RAID-01 Highlights

Raid Level Pros Cons Storage Efficiency Minimum Number of disks
RAID-01

  • Very good performance (read and write) with the exact level of performance depending upon how many drives in a RAID-0 stripe. RAID-1 results in very good read performance.
  • Reasonable data redundancy (can tolerate the loss of any one disk)
  • Number of disks lost with no loss of data access varies from 1 to n/2. However, the n/2 is unlikely to happen.

  • Very poor storage efficiency (50%)
  • With Nested RAID levels, more data redundancy is desired beyond the loss of one disk.
  • All disks have to be used in rebuild (more on that later in article).

50% assuming the drives are the same size 4 (Note: you have to use an even number of disks)



RAID 1+0 (RAID-10)

RAID-10 is one of the most popular Nested RAID configurations and builds the configuration in the opposite sequence of RAID-01. In Figure 3 below, a minimum configuration of four disks is shown.

RAID_10.png
Figure 3: RAID-10 layout with Four Drives

For RAID-10 the configuration begins with two groups of RAID-1 pairs (we’re assuming that RAID-1 is done with only two disks). Then RAID-0 is used to combine the RAID-1 groups. Compared to RAID-01 we are using a data redundant standard RAID level first (at the lowest level), and then using a performance standard RAID level at the highest level.

The data flow for RAID-10 is fairly simple to follow. The data in chunk “A” is first striped across the two RAID-1 pairs using RAID-0 (the highest RAID level). Then each RAID pair mirrors their particular block across the two disks (RAID-1). So mirrored data blocks are closer to one another in RAID-10 than in RAID-01.

To compare directly to RAID-01 let’s look at the same six-drive configuration as Figure 2. Figure 4 below shows the RAID-10 configuration using the same six drives.

800px-RAID_10_6Drives.svg.png
Figure 4: RAID-10 layout with Six Drives

In this case there are three pairs of RAID-1 disks that are combined with RAID-0. Comparing to RAID-01, RAID-10 first stripes the data using RAID-0 and then uses RAID-1 for data redundancy. RAID-01 does the opposite – data is mirrored first and then stripped.

The capacity of a RAID-10 array is the fairly simple to compute and is exactly the same as RAID-01. The capacity is computed as,

Capacity = (n/2) * min(disk sizes)

where n is the number of disks in the array and min(disk sizes) is the minimum common capacity across the drives (this indicates that you can use drives of different sizes). This equation also means that RAID-10 is not very capacity efficient since you lose half of the drives to gain better data redundancy (mirroring).

But what happens in RAID-10 if you lose a disk? For example, let’s again assume we lose disk 2 (second disk from the left). You can now tolerate the loss of another disk as long as it is not disk 1. You can actually lose one disk in each RAID-1 pair without losing data. However, if you lose both disks in a RAID-1 pair the RAID-0 configuration is lost. So, just like RAID-01, you can lose one disk with out losing access to the data. But you can lose up to n/2 disks without losing access to the data, IF they are correct disks (very unlikely to happen). So just like RAID-01, the redundancy of RAID-10 is one disk (worst case) and n/2 in the best case (but not likely to happen).

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

Table 2 – RAID-10 Highlights

Raid Level Pros Cons Storage Efficiency Minimum Number of disks
RAID-10
  • Very good performance (read and write) with the exact level of performance depending upon how many pairs in a RAID-0 stripe. RAID-1 results in very good read performance.
  • Reasonable data redundancy (can tolerate the loss of one disk)
  • Number of disks lost with no loss of data access varies from 1 to n/2. However, the n/2 is unlikely to happen.
  • Only one disk is involved in rebuild (more on that later in article).
  • Very poor storage efficiency
  • With Nested RAID levels, more data redundancy is desired beyond the loss of one disk.
50% assuming the drives are the same size 4 (Note: you have to use an even number of disks)



Comments on "Intro to Nested-RAID: RAID-01 and RAID-10"

Check beneath, are some absolutely unrelated web-sites to ours, however, they are most trustworthy sources that we use.

Every after in a when we select blogs that we study. Listed below are the newest internet sites that we select.

Just beneath, are a lot of entirely not related web sites to ours, however, they’re surely worth going over.

Just beneath, are quite a few absolutely not related internet sites to ours, on the other hand, they may be certainly worth going over.

Here is an excellent Weblog You may Uncover Exciting that we encourage you to visit.

The data talked about in the report are several of the most effective obtainable.

Although internet websites we backlink to below are considerably not related to ours, we feel they are truly worth a go via, so have a look.

Always a huge fan of linking to bloggers that I really like but do not get a great deal of link really like from.

Check below, are some entirely unrelated web sites to ours, even so, they’re most trustworthy sources that we use.

Here are several of the internet sites we suggest for our visitors.

Wonderful story, reckoned we could combine several unrelated data, nonetheless truly really worth taking a search, whoa did one particular learn about Mid East has got far more problerms too.

One of our guests recently suggested the following website.

Here are some hyperlinks to web-sites that we link to because we feel they may be worth visiting.

Although web-sites we backlink to beneath are considerably not related to ours, we really feel they’re really worth a go via, so have a look.

Usually posts some incredibly fascinating stuff like this. If you?re new to this site.

Although web-sites we backlink to below are considerably not related to ours, we feel they’re basically really worth a go by means of, so possess a look.

Here are some hyperlinks to web pages that we link to mainly because we think they may be really worth visiting.

We came across a cool website that you simply could possibly love. Take a search in case you want.

Here are some hyperlinks to internet sites that we link to since we believe they’re worth visiting.

We prefer to honor many other web web-sites on the web, even if they aren?t linked to us, by linking to them. Underneath are some webpages really worth checking out.

Wonderful story, reckoned we could combine a number of unrelated information, nevertheless actually worth taking a search, whoa did 1 study about Mid East has got extra problerms too.

Usually posts some quite interesting stuff like this. If you?re new to this site.

Below you?ll uncover the link to some web-sites that we consider you ought to visit.

Please take a look at the websites we stick to, like this a single, because it represents our picks through the web.

Please visit the web pages we comply with, like this 1, because it represents our picks from the web.

Very handful of web-sites that transpire to become in depth beneath, from our point of view are undoubtedly properly really worth checking out.

Just beneath, are various entirely not related web pages to ours, having said that, they are certainly really worth going over.

Just beneath, are quite a few absolutely not connected web sites to ours, nevertheless, they may be surely really worth going over.

Here are some links to sites that we link to for the reason that we think they’re really worth visiting.

Here are some hyperlinks to web sites that we link to due to the fact we believe they are really worth visiting.

That may be the end of this article. Here you will locate some sites that we assume you?ll enjoy, just click the hyperlinks.

We came across a cool web-site that you simply may well take pleasure in. Take a appear if you want.

Below you?ll uncover the link to some websites that we consider it is best to visit.

Here are some links to web sites that we link to mainly because we consider they are worth visiting.

Check below, are some totally unrelated web sites to ours, even so, they are most trustworthy sources that we use.

Every once in a when we select blogs that we read. Listed beneath are the most current internet sites that we decide on.

Check below, are some absolutely unrelated internet websites to ours, having said that, they are most trustworthy sources that we use.

We prefer to honor several other net web-sites around the internet, even though they aren?t linked to us, by linking to them. Underneath are some webpages worth checking out.

Below you will uncover the link to some web pages that we believe you must visit.

One of our visitors not long ago proposed the following website.

Please visit the websites we stick to, like this one particular, because it represents our picks through the web.

One of our visitors not too long ago proposed the following website.

Always a big fan of linking to bloggers that I enjoy but really don’t get a great deal of link enjoy from.

Very couple of websites that come about to be comprehensive below, from our point of view are undoubtedly properly worth checking out.

Wonderful story, reckoned we could combine several unrelated information, nonetheless genuinely worth taking a look, whoa did one particular find out about Mid East has got more problerms also.

Always a major fan of linking to bloggers that I like but don?t get quite a bit of link like from.

We prefer to honor a lot of other world-wide-web websites on the internet, even when they aren?t linked to us, by linking to them. Under are some webpages really worth checking out.

Leave a Reply