RAID for Redundant Array of Inexpensive Disks. Raid is mainly used to backup volumes or partitions on multiple physical disks. Raid can be implemented with different technologies like a soft raid or hard raid.
RAID的廉价磁盘冗余阵列。 Raid主要用于备份多个物理磁盘上的卷或分区。 可以使用不同的技术(如软性袭击或硬性袭击)实施袭击。
什么是软RAID? (What Is Soft RAID?)
Soft raid is implemented on operating system level and requires some tools and modules. Below is a tutorial about mdadm
which is Linux software used to implement soft RAID.
软突袭是在操作系统级别实施的,并且需要一些工具和模块。 以下是有关mdadm
的教程, mdadm
是用于实现软RAIDLinux软件。
什么是RAID? (What Is RAID?)
Raid is generally implemented in hardware level in enterprise environments which makes created RAID more reliable.
Raid通常在企业环境中的硬件级别实施,这使创建的RAID更可靠。
RAID级别0 (RAID LEVEL 0)
![RAID级别0](https://i-blog.csdnimg.cn/blog_migrate/7d8550188d016b94fba1c70906c4577f.png)
- Minimum 2 disks 最少2个磁盘
- Performance because blocks are stripped性能,因为块被剥离
- More disk more performance更多磁盘,更多性能
- No redundancy无冗余
- Do not use for critical systems不要用于关键系统
RAID级别1(RAID LEVEL 1)
![RAID级别1](https://i-blog.csdnimg.cn/blog_migrate/da5442542e6dbc4d763841efee26e589.png)
- Minimum 2 disks 最少2个磁盘
- No performance gain because there is no striping or parity由于没有条带或奇偶校验,因此没有性能提升
- Excellent redundancy because of two disks with same data由于两个磁盘具有相同的数据,因此具有出色的冗余性
RAID级别5(RAID LEVEL 5)
![RAID级别5](https://i-blog.csdnimg.cn/blog_migrate/d8fb11ec7366b289eefe47ae08bc8ded.png)
- Minimum 3 disks 最少3个磁盘
- Good performance because blocks are stripped性能好,因为块已剥离
- Good redundancy because one disk is used for parity良好的冗余性,因为一个磁盘用于奇偶校验
- Good cost because provides performance and redundancy with 3 disks成本低廉,因为可通过3个磁盘提供性能和冗余
RAID级别10或1 + 0(RAID LEVEL 10 or 1+0)
![RAID级别10或1 + 0](https://i-blog.csdnimg.cn/blog_migrate/bf3e95043e0a624d2690200463c3f082.png)
- Minimum 4 disks 最少4个磁盘
Called
stripe of mirrors
所谓
stripe of mirrors
- Both RAID 1 and RAID 0 is chained together RAID 1和RAID 0都链接在一起
- Excellent redundancy出色的冗余
- Excellent performance完美的表现
- The best solution for mission-critical systems if the cost is not so important如果成本不太重要,则是关键任务系统的最佳解决方案