Quick DELL Server Search

Типи RAID масивів, переваги та недоліки Server Solutions

RAID array types, advantages and disadvantages

Best prices for Official DELL PowerEdge R760 Servers.

Free Professional Server Equipment Consultation.

Tel: +38 (067) 819-38-38 / E-mail: server@systemsolutions.com.ua 

Online DELL Server Configurator

RAID (Redundant Array of Independent Disks) is a technology used to improve data storage performance and/or reliability. The acronym stands for "redundant array of independent disks".

A RAID system consists of two or more disks working in parallel. These can be hard drives, but recently there has been a trend toward using SSD (solid-state drive) technology. There are different RAID levels, each optimized for a specific situation. They are not standardized by an industry group or standardization committee. This explains why companies sometimes come up with their own unique numbers and implementations.

This article examines the following RAID levels:

RAID 0 - Striping

RAID 1 - Mirroring

RAID 5 - Striping with Parity

RAID 6 - Striping with Double Parity

RAID 10 - Mirroring and Striping Combination

Software for performing RAID functions and managing disks can be located on a separate controller board (hardware RAID controller) or simply be a driver. Some versions of Windows, such as Windows Server 2012, as well as Mac OS X, include software RAID functionality. Hardware RAID controllers cost more than pure software, but they also offer better performance, especially with RAID 5 and 6.

RAID systems can be used with several interfaces, including SCSI, IDE, SATA, or FC (Fibre Channel). There are systems that use SATA drives for internal use but have a FireWire or SCSI interface for the host system.

Sometimes disks in a storage system are defined as JBOD, which means "just a bunch of disks". This means that these disks do not use a specific RAID level and act as independent disks. This is often done for disks that contain swap files or spooling data.

RAID Level 0 - Striping

In a RAID 0 system, data is divided into blocks that are written to all disks in the array. When using several disks simultaneously (at least 2), this provides excellent I/O performance. This performance can be increased by using several controllers, ideally one controller per disk.

 

Advantages

RAID 0 provides high performance in both read and write operations. There is no overhead caused by parity checking.
The entire memory capacity is used, with no overhead.
The technology is simple to implement.
Disadvantages

RAID 0 is not fault-tolerant.
In the event of a single disk failure, all data in the RAID 0 array will be lost.
It should not be used for critical systems.
Best use case:

RAID 0 is ideal for non-critical data storage that needs to be read/written at high speed, such as for image retouching or a video editing station.

If you want to use RAID 0 solely to combine storage capacity into a single volume, consider connecting one disk to the path of another disk's folder. This is supported in Linux, OS X, and Windows, and has the advantage that a single disk failure does not affect the data on the other disk or SSD.

 

RAID Level 1 - Mirroring

Data is stored twice, written to both a data disk (or set of data disks) and a mirror disk (or set of disks). In the event of a disk failure, the controller uses the data disk or mirror disk to recover the data and continues operation. You need at least 2 disks for a RAID 1 array.

 

Advantages

RAID 1 offers excellent read speed and write speed comparable to a single disk.
In the event of a disk failure, the data does not need to be rebuilt; it just needs to be copied to a new disk.
RAID 1 is a very simple technology.
Disadvantages

The main disadvantage is that the effective storage capacity is only half of the total disk capacity, as all data is written twice.
RAID 1 software solutions do not always allow for hot-swapping a failed disk. This means that the failed disk can only be replaced after turning off the computer to which it is connected.
For servers used by many people simultaneously, this may be unacceptable. Such systems usually use hardware controllers that support hot-swapping.
Ideal use

RAID-1 is ideal for critical storage, such as for accounting systems. It is also suitable for small servers that will use only two data disks.

RAID Level 5

RAID 5 is the most common secure RAID level. At least 3 disks are required, but it can work with up to 16. Data blocks are distributed across the disks, and a checksum of parity for all data in the block is written to one disk. Parity data is not written to a fixed disk; it is spread across all disks, as shown in the image below. Using the parity checking data, the computer can recalculate the data of one of the other data blocks if that data is no longer available. This means that a RAID 5 array can withstand the failure of one disk without losing data or access to it. Although RAID 5 can be implemented in software, a hardware controller is recommended. Additional cache memory is often used on these controllers to improve write performance.

 

Advantages

Data read transactions are very fast, while data write transactions are somewhat slower (due to the parity that needs to be calculated).
In the event of a disk failure, you still have access to all data, even while the failed disk is being replaced and the storage controller rebuilds the data on the new disk.
Disadvantages

Disk failures affect throughput, although this is still acceptable.
This is a complex technology. If one of the disks in an array using 4 TB disks fails and is replaced, data recovery (rebuild time) can take a day or more, depending on the load on the array and the speed of the controller. If another disk fails during this time, the data will be lost forever.
Ideal use

RAID 5 is a good general-purpose system that combines efficient storage with excellent security and decent performance. It is ideal for file servers and application servers with a limited number of data disks.

RAID Level 6 - Striping with Double Parity

RAID 6 is similar to RAID 5, but parity data is written to two disks. This means that it requires at least 4 disks and can withstand 2 disks failing at the same time. The probability of two disks failing at the exact same moment is, of course, very small. However, if a disk in RAID 5 systems fails and is replaced with a new one, rebuilding the replaced disk takes hours or even more than a day. If another disk fails during this time, you still lose all your data. When using RAID 6, the RAID array will survive even this second failure.

 

Advantages

As with RAID 5, data read operations are performed very quickly.
If two disks fail, you will still have access to all data, even while the failed disks are being replaced. Thus, RAID 6 is safer than RAID 5.
Disadvantages

Data write operations are performed slower than RAID 5 due to the additional parity data that needs to be calculated. Write performance can theoretically be 20% lower.
Disk failures affect throughput, although this is still acceptable.
This is a complex technology. Rebuilding an array in which one disk has failed can take a long time.
Ideal use

RAID 6 is a good general-purpose system that combines efficient storage with excellent security and decent performance. It is better than RAID 5 on file servers and application servers that use many large disks for data storage.

RAID Level 10 - RAID 1 and RAID 0 Combination

The advantages (and disadvantages) of RAID 0 and RAID 1 can be combined in one system. This is a nested or hybrid RAID configuration. It provides security by mirroring all data on secondary disks while using striping across each set of disks to speed up data transfer.

Advantages

If something goes wrong with one of the disks in a RAID 10 configuration, the recovery time is very fast, as all that needs to be done is copy all data from the surviving mirror to the new disk. This can take only 30 minutes for 1 TB disks.

Disadvantages

Half of the storage capacity goes to mirroring, so compared to large RAID 5 or RAID 6 arrays, this is an expensive way to provide redundancy.

What about RAID levels 2, 3, 4, and 7?

These levels exist, but they are not common (RAID 3 is essentially similar to RAID 5, but parity data is always written to the same disk). This article only describes the general classification of RAID systems, and general information about the technology of combining storage devices is shown.

RAID is no substitute for a backup!

All RAID levels except RAID 0 provide protection against a single disk failure. The RAID 6 system will continue to work even in the event of 2 disks failing simultaneously. For complete security, you still need to perform a backup of the data from the RAID system.

This backup will come in handy if all disks fail simultaneously due to a power surge.
This is protection against the theft of the storage system.
Backups can be stored outside the server room or data center, in another location. This can come in handy in the event of an emergency, a large-scale system failure, a fire, etc.
The most important reason for backing up data across generations is user error. If someone accidentally deletes some important data, and this goes unnoticed for several hours, days, or weeks, a good set of backups guarantees that you can still save those files.

 

How can we help?

Server Solutions sells servers Dell PowerEdge R760 and Dell PowerEdge R760xs throughout Ukraine, among our clients are small, medium, and large businesses. If you or your company need a consultation and the purchase of high-quality server equipment, you should contact us.

 

Leave a comment

Please note, comments need to be approved before they are published.