📜  RAID 1 和 RAID 2 的区别

📅  最后修改于: 2021-09-09 11:38:03             🧑  作者: Mango

1. RAID 1:
RAID 1 也称为数据镜像。因为它将数据从驱动器 1 复制到驱动器 2。驱动器的一半用于存储数据,另一半用作已存储数据的镜像。此级别在发生故障时提供 100% 的冗余。

优势 –
良好的容错性即。即使一个磁盘出现故障也能保持功能。

坏处 –
它很昂贵,因为镜像需要额外的驱动器。

2. RAID 2:
RAID 2 由位级条带化组成。它使用汉明码奇偶校验记录纠错码 (ECC)。在这个级别中,字中的每个数据位都记录在单独的磁盘上,数据字的 ECC 代码存储在不同的磁盘组上。

优势 –
在纠错的情况下,它使用汉明码。

坏处 –
由于额外的驱动,结构复杂,成本高。

RAID 1 和 RAID 2 的区别:

SR.NO. RAID 1 RAID 2
1. RAID 1 stands for Redundant Array of Independent Disk level 1. RAID 2 stands for Redundant Array of Independent Disk level 2.
2. In RAID 1 technology, Disk Mirroring is used. In RAID 2 technology, Bit-Level Striping is used.
3. In RAID 1, one half of drive is used for storing data and another half is just a mirror for already store data In RAID 2, each data bit in a word recorded on a separate disk and ECC codes are stored on different disk
4. Good Fault tolerance as compared to RAID 2. Fault tolerance is not so good.
5. Hamming Codes are not used. Hamming Codes are used for Error Correction.
6. Extra Drive is required for mirroring. Extra Drive is required for Error Correction.