Disk partitioning for Linux (iii)

Source: Internet
Author: User

Raid

Redundant array of Inexpensive disks

Redundant Arrays of Inexpensive Disks

Different levels of RAID capabilities and features vary

Compare items RAID0 RAID1 RAID10 RAID5
Number of disks >=2 >=2 >=4 >=3
Storage utilization 100% 50% 50% N/n-1
Redundant check disk 0 0 0 1
Disaster tolerance 0 1 1 1
IO performance High Low In Higher

    • RAID0 is a parallel write disk with the highest IO performance, but no disaster tolerance
    • RAID1 is 1 disk write 1 disk to do backup
    • RAID10 is a combination of RAID0 and RAID1.
    • RAID5 is a parallel storage data, 1 disk has to do the test bit, can reverse the introduction of another disk of data

"Raid Experiment"

1. Prepare 5 pieces of 20G size hard disk

2. Create RAID0 using SDD and SDE two disk

[[email protected] ~]# mdadm-c/dev/md0-l0-n2/dev/sd{d,e}1/dev/md0 started.

3. View the RAID information created

[Email protected] ~]# mdadm-d/dev/cat /proc/mdstat

4. Create File system

[Email protected] ~]# mkfs.ext3/dev/md0

5. Create a directory and mount it

mkdir -p/data/Mount /dev/md0/data/raid0/

"RAID Experiment II"

1, create RAID1 use 2 disk to do RAID 1 disk to do hot backup

[Email protected] ~]# mdadm-c/dev/md1-l1-n2-x1/dev//dev/md1 started.

  

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.