RAID disk array details

Source: Internet
Author: User
RAID disk array details-Linux Enterprise Application-Linux server application information. The following is a detailed description. RAID is the abbreviation of Redundant Array of Independent Disks ).

To put it simply, RAID combines multiple independent hard disks (physical hard disks) in different ways to form a hard disk group (logical hard disks ), this provides higher storage performance than a single hard disk and Data Backup technology.

We usually have five common RAID levels, which are not intentionally divided, but by function. Different RAID levels provide different performance. The validity and integrity of data depend on the specific I/oenvironment. No RAID level is perfect for any user.

Summary:

RAID 0 is the fastest and most efficient array type, but does not support fault tolerance.

RAID 1 is suitable for arrays with high performance requirements and fault tolerance. In addition, RAID 1 is the only option that supports Fault Tolerance in environments with only two disks.

RAID 3 is used to enhance data transmission and accelerate the continuous and long records of a single user.

RAID 5 is the best choice for multi-user environments with low data writing performance requirements. However, it requires at least three disks, usually five disks.

RAID 10 combines high reliability and performance.



RAID 0

RAID array details


RAID 0 splits data into multiple disks without any redundant information. Data is split into blocks and distributed to the disk. This level is also regarded as a pure data shard. One or more disks are required to create RAID 0. That is to say, a single disk can be considered as a RAID 0 array. Unfortunately, data entries reduce data availability. If a disk error occurs, the entire array will be paralyzed.

Advantages:

Easy to implement
No capacity loss-All buckets are available

Disadvantages:

No fault tolerance capability
A disk error causes loss of data in all Arrays



RAID 1


RAID 1 must contain at least two (only two) hard disks. Therefore, RAID 1 is also called Mirroring. The so-called image means that the content of each two hard disks is identical, but only one hard disk is displayed for the operating system to facilitate management. It can be seen that RAID 1 completely backs up data, and its reliability is the highest. Of course, the data write time may be a little longer, but because the two mirror hard disks can read data at the same time, the data read is the same as the RAID 0. The total capacity of the disk array is N/2 hard disks in the RAID level. RAID 1 provides the highest information availability through data mirroring. In addition, if the array supports simultaneous reading of data and images, the performance of reading information will be improved.

Advantages:

Reading performance is higher than that of a single disk

Disadvantages:

Requires 2 times of storage space



RAID 3

RAID 3 is the most commonly used hard disk array technology. RAID 3 requires at least three hard disks. The total capacity of RAID 3 is the sum of hard disk capacity minus the capacity of one hard disk.

With this technology, data is stored in multiple disks in different entries. In addition, parity is generated and stored in the disk. when RAID 3 is used, the data knowledge block is much smaller than the average I/O size, and the disk spindle is synchronized to increase the bandwidth of data transmission. Due to the use of parity, RAID 3 data strip can prevent one of the disk errors without losing any information.

Advantages:

Good data availability
Excellent Performance in strengthening data transmission applications
Economical and practical-only one additional disk is required for parity

Disadvantages:

Low Random storage performance
Disk errors may have a major impact on performance.



RAID 5


RAID 5 is very similar to RAID 3, which is divided into data entries. parity checks generate redundancy. However, it does not use a fixed hard disk to store parity values. All data and parity values are distributed across all hard disks.

Advantages:

Highest read rate of Information Processing
Economical and practical-only one additional disk is required

Disadvantages:

The transfer of independent information blocks is the same as that of a single disk.
Requires specific hardware



RAID 10


RAID 10 requires at least four memories.

Features:

RAID 10 is executed as a strip array, and its segments are RAID 1 arrays.
The Fault Tolerance function of RAID 10 is the same as that of RAID 1.
Use RAID 1 segment to obtain a high I/O rate.

In this case, RAID 10 can prevent multiple disks from errors at the same time.

Disadvantages:

Expensive/costly
All memory must be installed in parallel according to specific methods
It has inherent high value, but has extremely limited testability.

Applicable:

Database servers with high performance and fault tolerance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.