Raid 10 and RAID 0

Source: Internet
Author: User

Raid 10:

Make at least four hard disks into RAID 1. If there are four hard disks, there will be two to rand1 disks. If there are eight hard disks, there will be four to raid 1 disks, the biggest purpose of raid1 is to ensure high data security and high read/write speed, but to sacrifice half of the disk space. If the number 12345678 is written to a request, the write method is as follows:

Because RAID 0 is created in the upper layer, when the request writes data, the data is evenly written based on the following RAID 1 pairs. The data is also read from the disk, if the number 12345678 is written, the write method is as follows:

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/CF/wKioL1RaOUPg8bWKAAFK3VRkMC4481.jpg "Title =" 1.jpg" alt = "wkiol1raoupg8bwkaafk3vrkmc4481.jpg"/>

Summary:

At least 4 Hard Disks

The read speed is multiple n of a single disk.

The write speed is n/2.

With high data security, in four groups of RAID 1, damaged disks in each group of RAID 1 can still run normally, because each group contains image data, therefore, the data in the two disks in each group is exactly the same, but if the two disks in a group are broken, the entire raid 10 is broken, but this rarely happens, therefore, data security is still high.


Raid 01:

Raid 01 is now made of RAID 0 at the underlying layer, and then combines RAID 0 into RAID 1. Therefore, there are at least four hard disks, but if it is an 8-speed disk or 16 disks, divide the hard disk by 2 into two groups of RAID 0, and then combine the two groups of RAID 0 into RAID 1, so that the component becomes raid 01.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/D0/wKiom1RaPKujyFxiAAE3oWfm7AI556.jpg "Title =" 1.jpg" alt = "wkiom1rapkujyfxiaae3owfm7ai556.jpg"/>

Summary:

At least 4 Hard Disks

Theoretically, the read speed is n multiple of a single disk.

Data security is guaranteed, but not as secure as raid 10, because raid 01 has two RAID 0 at the underlying layer. If the hard disk in a group of RAID 0 is damaged, however, if the hard disks in the two raid groups are damaged, the entire raid 01 is damaged and cannot be used.


Comparison:

Raid10 and raid01 are more reliable in terms of data security, and the reading speed of raid10 is higher than that of raid01. We recommend that you use raid10.



This article is from the "Linux" blog, please be sure to keep this source http://zhangshijie.blog.51cto.com/806066/1572710

Raid 10 and RAID 0

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.