Linux hardware RAID detailed system function diagram

Source: Internet
Author: User

RAID-0 (stripe mode)

Characteristics:

Concurrency can be achieved while reading and writing, so it is best to read and write, each disk holds part of the complete data, and reads in parallel, with more disks and faster reads and writes.

Because there is no redundancy, one hard disk loses all data loss.

At least two hard disks can form a RAID0 array.

Capacity:

The sum of all hard drives. Disk Utilization is 100%

Production Application Scenarios

1. Multiple identical RS node servers under load Balancer cluster

2. Distributed file storage The following master node

3, MySQL master-slave replication of multiple slave server

4, high performance requirements, low redundancy requirements of the relevant business

RAID-1: Mirroring (mirrored volume)

Characteristics:

Requires at least two drives

The raid size is equal to the smallest capacity in two raid partitions (preferably dividing the partition size into one)

The data is redundant, simultaneously writes two hard disks in the storage, realizes the data backup;

Disk utilization is 50%, that is, 2 100G of disk composition RAID1 can only provide 100G of free space.

RAID-5

Characteristics:

The use of parity check, high reliability

The disk checksum is hashed to a different disk, increasing the read and write rate.

Data cannot be restored only if two disks are lost at the same time

At least three hard drives and the hard disk size should be equal to make up the RAID5 array.

Capacity:

The sum of all HDD capacity minus the capacity of one of the hard drives

The subtracted capacity is allocated to different areas of the three hard drives to hold data validation information.

RAID10 (RAID1+RAID0)

Characteristics:

is now a more common type of disk array level,

It is a good fault-tolerant, high efficiency of reading and writing data, but relatively high funding.

Backup and concurrent access to data, strong reliability.

D1, D2 constitute an array Raid1, wherein the D1 is the data disk, D2 is the backup disk;

D3, D4 also form an array Raid1, wherein the D3 is a data disk, D4 is a backup disk;

On this basis, D1, D2 as a whole, will D3, D4 also as a whole

A RAID0 array is formed between the two whole.

This will not only read the data very quickly, but also the speed of concurrent writes will increase as the disk grows faster.

At least four hard drives and each hard disk size should be equal to make up the RAID10 array.

Capacity

Half of all hard drive capacity (half write data, half to back up data).

RaidSummary

(from node) RAID0

Read and write fast, without any redundancy

MySQL Slave (database from library, little brother), cluster node RS

(Monitoring, important) RAID1

100% redundancy, Mirror read and write performance generally

High cost alone, data important, and can not downtime of business, monitoring, system disk

(Normal business) RAID5

Have a certain performance and redundancy, can be bad piece of disk, read good performance is not high write performance

General business can be used

(primary node of the database) RAID10

Read and write fast, 100% redundancy costs high performance and redundancy requires a good business. The primary library of the database and the storage

Linux hardware RAID detailed system function diagram

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.