当前位置:网站首页>RAID disk array
RAID disk array
2022-07-28 06:55:00 【Direction of light 79】
Catalog
raid 1+0( First make a mirror image , And then make a strip )
RAID Disk display
yes Redundant Array ofIndependent Disks Abbreviation , Chinese abbreviation is Independent redundant disk array
frequently-used RAID Level
RAID0,RAID1,RAID5,RAID6,RAID1+0 etc.

raid 0
raid 0 Divide data continuously in bits or bytes , Read in parallel / Write on multiple disks , Therefore, it has high data transmission rate , But it has no data redundancy
raid 0 Just to improve the performance , There is no guarantee for the reliability of the data , And a disk failure will affect all data
raid 0 It can't be used in the situation with high data security requirements
raid 0 Characteristics
You need at least two disks
Distributed data strip
There is no redundant , Best performance ( Do not store images 、 Check information )
It can't be used in the situation of high data security
raid 1 Characteristics
You need at least two disks
Provide data redundancy ( Provide backup )
Good performance
raid 5
N(N≥3) The disks form an array , A data generation N-1 A strip , There is also a verification data , common N The data is in N Cycle balanced storage on the block disk
N Read and write at the same time , High reading performance , But because of the problem of checking mechanism , Write performance is relatively low
(N-1)/N Disk utilization
High reliability , Allow one disk to break , It doesn't affect all the data
raid 5 Characteristics
least 3 Block disk
The data is striped
Redundancy with parity
Suitable for reading more and writing less , It's the best compromise between performance and data redundancy
raid 6
N(N≥4) The disks form an array ,(N-2)/N Disk utilization
And raid 5 comparison ,raid 6 A second independent parity information block is added
Two independent parity systems use different algorithms , Even if two disks fail at the same time, data usage will not be affected
be relative to raid 5 There are bigger ones “ Write loss ”, Therefore, the write performance is poor
raid 1+0( First make a mirror image , And then make a strip )
N ( even numbers ,N>=4). After two disks are mirrored , Then combine it into a raid 0
N/2 Disk utilization
N/2 All disks are written simultaneously ,N All disks are read at the same time
High performance , High reliability
raid 1+0 Characteristics
least 4 Block disk
According to the first raid 0 Divide into two groups , And then press raid1 Mode image
Take care of redundancy ( Provide mirrored storage ) And performance ( The data is striped )
It is commonly used in practical application
experiment
First fdisk -l Check out adding to disk


Divide the four fast disks into main partitions

install mdadm( Installed needs yum to update )


Create and view raid5

View disk details

Create a new directory , Mount after formatting


Try to make a disk fail , See if the empty disk can replace the faulty disk

Create and view raid0
Divide the main area and mdadm Reference resources raid5
边栏推荐
- [realize the simple version of minesweeping games]
- Pku-2739-sum of constructive prime numbers
- Create, traverse and search nodes as required for single linked list
- HDU-1159-CommonSubsequence(LCS最长公共子序列)
- [c language] - step by step to achieve minesweeping games
- Question skimming record - hash table
- Yapi vulnerability hanging horse program chongfu.sh processing
- HDU-1097-A hard puzzle(快速幂)
- Technology sharing | detailed explanation of actual combat interface test request methods get, post
- 测试面试题集锦(二)| 测试工具篇(附答案)
猜你喜欢

On cookies and session

搭建PHP7私有仓库

File operation in C language

网络——传输层(详细版)

技术分享 | 使用 cURL 发送请求

KVM hot migration

Technology sharing | interface testing value and system

DNS domain name resolution service

Skimming records -- sequence traversal of binary tree
![[explain in detail how to realize Sanzi chess step by step]](/img/17/68ef51ec2be0c86019461116ecaa82.png)
[explain in detail how to realize Sanzi chess step by step]
随机推荐
MySQL主从
Test interview questions collection (I) | common required questions and procedures of software testing (with answers)
搭建PHP7私有仓库
[C language] custom structure type
Question brushing record -- binary tree
防火墙——iptables防火墙(四表五链、防火墙配置方法、匹配规则详解)
Question brushing record ---- reverse the linked list (reverse the whole linked list)
Mongo SSL configuration practice
Difference between process and thread
DNS domain name resolution service
How to calculate the size of structure, segment and Consortium (common body)
技术分享 | 使用 cURL 发送请求
[explain in detail how to realize Sanzi chess step by step]
Regular execution of scratch
Ubuntu18.04 set up redis cluster [learning notes]
Test interview questions collection (II) | test tools (with answers)
Ubuntu18.04+Centos7配置redis主从【学习笔记】
NFS 共享存储服务
HDU-1159-CommonSubsequence(LCS最长公共子序列)
Test interview questions collection (V) | automated testing and performance testing (with answers)