RAID improves the fail safety of data storage devices. Developed for use in HDD hard drives, it’s still used today in server en­vi­ron­ments. What exactly does the structure of a RAID system look like and what are the dif­fer­ences between the in­di­vid­ual levels?

$1 Domain Names – Register yours today!
  • Simple reg­is­tra­tion
  • Premium TLDs at great prices
  • 24/7 personal con­sul­tant included
  • Free privacy pro­tec­tion for eligible domains

RAID: de­f­i­n­i­tion and history

The term “RAID” was first used in 1988 in a pub­li­ca­tion written by computer sci­en­tists at the Uni­ver­si­ty of Cal­i­for­nia at Berkeley entitled “A case for redundant arrays of in­ex­pen­sive disks (RAID)”. In their thesis, the authors discussed the pos­si­bil­i­ty of combining in­ex­pen­sive PC hard disks into a network and operating them as one large logical drive as an al­ter­na­tive to expensive SLED hard disks (Single Large Expensive Disks) of mainframe computers. Since this increased the risk of hardware failure, the concept focused on redundant data storage.

Over the coming years, RAID was stan­dard­ized and developed – its suit­abil­i­ty to server ap­pli­ca­tions in­creas­ing­ly coming to the fore. As a result, it became less about saving money and more about ex­chang­ing hard disks without causing op­er­a­tional errors. It’s all in the name: Redundant Array of In­de­pen­dent Disks. The RAID tech­nol­o­gy is specif­i­cal­ly tailored to the prop­er­ties of classic HDD hard drives. Modern SSDs can tech­ni­cal­ly be bundled, but at the loss of per­for­mance and lifespan due to the missing TRIM func­tion­al­i­ty in RAID.

De­f­i­n­i­tion

A RAID (Redundant Array of In­de­pen­dent Disks) is a com­bi­na­tion of at least two different storage media in a single large logical drive. The central principle of a RAID system is the redundant storage of data, which ensures that the integrity and func­tion­al­i­ty of the overall network are not jeop­ar­dized if in­di­vid­ual hard drives fail.

The role of RAIDs in today’s server en­vi­ron­ments

RAID systems are still important com­po­nents in server en­vi­ron­ments today. Their most important role is the re­dun­dan­cy of the stored data. This shouldn’t be confused for the concept of data backups. As part of a server structure, RAIDs ensure that the failure of a single hard drive doesn’t have severe con­se­quences, because its data is stored elsewhere in the RAID system. Other ad­van­tages of RAID are an increase in storage capacity and faster read and write speeds when accessing the hard disk space.

Note

From a user per­spec­tive, a RAID system, which always consists of at least two storage media, cannot be dis­tin­guished from a single logical data carrier.

How in­di­vid­ual storage media of a RAID system interact, and which function a network should ul­ti­mate­ly fulfill in a server network varies widely. However, there are various stan­dard­ized setups that are defined in so-called RAID levels. In addition, a dis­tinc­tion is made between software and hardware RAIDs, depending on whether the in­ter­ac­tion of the network is organized on the software or hardware side.

What is the dif­fer­ence between hardware and software RAIDs?

Cat­e­go­riza­tion into hardware and software RAIDs can lead to the wrong im­pres­sion of what these two types of hard disk drives are all about. Both variants require software to operate – the terms only refer to the type of im­ple­men­ta­tion.

With hardware RAID, the or­ga­ni­za­tion of the in­di­vid­ual storage media is performed by special, high-per­for­mance hardware, also known as a RAID con­troller. This con­troller is installed either in a computer or a disk array that also houses the hard disks. Disk arrays are commonly used in data centers, whereby the external systems are often referred to as DAS (Direct Attached Storage), SAN or NAS. The great advantage of hardware-based or­ga­ni­za­tion of RAIDs is excellent per­for­mance in the form of high data transfer rate.

In a software RAID, the storage quota is managed by software that runs directly on a host’s CPU, also referred to as host-based RAID system. Common operating systems such as Windows (as of NT) or Linux dis­tri­b­u­tions include the necessary com­po­nents. Compared to the hardware al­ter­na­tive, a software RAID is set up much faster and cheaper. Dis­ad­van­tages are high CPU for the host and the lack of platform in­de­pen­dence. Since disk access cannot be regulated as elegantly as with a RAID con­troller, per­for­mance also tends to be worse.

  Software RAID Hardware RAID
Costs Low High
CPU demands (host) High Low
Per­for­mance Low High
Platform in­de­pen­dence No Yes
Operating system dependent Yes Yes

Common RAID levels at a glance

The manner in which hard disks are combined in a RAID is called a “level”. However, this can cause some mis­un­der­stand­ings, because hard drive setups don’t build upon one another in levels. The in­di­vid­ual levels are not connected and only char­ac­ter­ize the different struc­tur­al ap­proach­es and functions of the RAID. Common levels include RAID 0, RAID 1, RAID 5 and RAID 6. Com­bi­na­tions of two RAID levels are also possible. RAID 10, for example, des­ig­nates a RAID 0 system that has been combined from several RAID 1 systems.

Note

The RAID levels presented here char­ac­ter­ize stan­dard­ized RAID systems es­tab­lished by the RAID Advisory Board (RAB). At the same time, numerous man­u­fac­tur­er-specific RAID setups with in­di­vid­ual names or des­ig­na­tions exist, but they are beyond the scope of this article.

RAID 0: Striping

Strictly speaking, hard disk groups under a RAID 0 label don’t count as RAID systems at all, as they don’t rely on re­dun­dan­cy for storage. The only purpose of RAID 0 is to ac­cel­er­ate access to data by combining two or more hard drives into a single logical drive. To this end, data is evenly dis­trib­uted across the in­di­vid­ual data carriers in suc­ces­sive blocks that are called stripes. That’s why RAID 0 is also known as “striping”. While the network provides more storage capacity and a higher through­put rate, it lowers security: if a hard drive fails, all data is lost. You can find out more about striping in our detailed guide to RAID 0.

RAID 1: Mirroring

RAID level 1 is also known as “mirroring”. Here, all hard disks always have the same data status providing for excellent re­dun­dan­cy and data safety in case of failing storage media. As such, the capacity of the RAID is always as high as the capacity of the smallest hard drive installed. The write speed in a RAID 1 is as fast as that of a single drive. By con­nect­ing the com­po­nents to their own channels, such as SATA, reading speed can be doubled. Find out more about “mirroring” as a storage method in our article on RAID 1.

RAID 5: Striping with dis­trib­uted parity in­for­ma­tion

RAID 5 describes a network of three or more hard disks, the number of which is typically uneven – three, five, seven, etc. The storage concept uses the striping of RAID 0 and dis­trib­utes the data in blocks across the various data carriers. Together with the data blocks, parity in­for­ma­tion is evenly dis­trib­uted across the in­te­grat­ed hard drives, which can be used to restore lost data if a storage medium fails. Thus, RAID 5 ensures a higher read speed and also more security than a single drive. Due to the constant need to re­cal­cu­late the parity blocks, the writing speed is com­par­a­tive­ly slow. Read more about the concept in our separate RAID 5 article.

RAID 6: Striping with doubly dis­trib­uted parity in­for­ma­tion

RAID level 6 follows a similar approach to RAID 5: data is dis­trib­uted evenly and in blocks to the in­te­grat­ed storage com­po­nents, and parity in­for­ma­tion makes for higher security. However, recovery data is generated in duplicate, which means the RAID type can cope with the si­mul­ta­ne­ous failure of up to two hard disks (when a minimum of four are installed). The network therefore offers a high level of data security and good read access. Since cal­cu­lat­ing the parity blocks is even more time-consuming than with RAID 5, the write speed is slower. In our guide on RAID 6 we discuss the strengths and weak­ness­es of striping with doubly dis­trib­uted parity in­for­ma­tion.

RAID 10: RAID 0 across multiple RAID 1

RAID 10 or RAID 1+0 combines the features of RAID level 0 and RAID level 1: an increased data through­put rate and higher data security. For this purpose, several RAID 1 systems are combined in a RAID 0 array – at least four hard drives are required. Find out when this com­bi­na­tion is a good idea and what its dis­ad­van­tages are in our article on RAID 10.

Note

You can find out more about the most important standard setups and view a detailed com­par­i­son of their different operating modes, ad­van­tages, and dis­ad­van­tages, and use cases in our com­par­i­son of RAID levels.

What to watch out for when setting up and adapting RAIDs?

There are a few things to consider when setting up and operating a RAID system. Firstly, you need to decide what type of network you want to set up. For example, if you’re only looking to increase data through­put, you could use a level 0 system or al­ter­na­tive­ly opt for an SSD. If you want to boost data security, you could choose between mirroring (e.g., level 1) or storage with parity in­for­ma­tion (e.g., level 5).

When selecting hard drives, choosing identical models is prefer­able. In many RAID setups, the maximum storage volume depends on the smallest disk, which is why storage potential may be lost when mixing hard drives of different sizes. More im­por­tant­ly, rely on hardware such as NAS that are designed for endurance and a longer life. The size of the data carrier also plays an important role when defective hardware is replaced later or when the RAID is enlarged: new or added com­po­nents must be at least the size of the smallest existing or defective data carrier.

Here’s an important reminder when using RAID systems: while the in­ter­ac­tion of hard drives improves the security of the stored data through re­dun­dan­cy, it cannot replace a good backup solution.

Tip

Looking for a simple and secure backup solution for your smart­phone, computer, or cloud in­fra­struc­ture? The Cloud Backup from IONOS offers com­pre­hen­sive pro­tec­tion for all your data and devices!

Go to Main Menu