📜  RAID 2 和 RAID 3 的区别

📅  最后修改于: 2021-09-10 01:58:24             🧑  作者: Mango

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

优势 –

  1. 在纠错的情况下,它使用汉明码。
  2. 它使用一个指定的驱动器来存储奇偶校验。

坏处 –

  1. 由于额外的驱动,结构复杂,成本高。
  2. 它需要额外的驱动器来检测错误。

2. RAID 3:
RAID 3 由字节级条带化组成。它将数据条带化到多个磁盘上。为每个磁盘部分生成并存储在不同的专用磁盘上的奇偶校验位。这个级别克服了单盘故障。

好处 –

  1. 数据可以批量传输。
  2. 数据可以并行访问。

缺点——

  1. 它需要一个额外的驱动器来实现奇偶校验。
  2. 在小文件的情况下,它执行缓慢。

RAID 2 和 RAID 3 的区别:

SR.No. RAID 2 RAID 3
1. RAID 2 stands for Redundant Array of Independent Disk level 2. RAID 3 stands for Redundant Array of Independent Disk level 3.
2. In RAID 2 technology, Bit-level Striping is used. In RAID 3 technology, Byte-level Striping is used.
3. In this level, One group of disk are used to write the data and other group is used to write the ECC. In this level, Multiple disks are used for storing data and one dedicated disk is used to store parity
4. Hamming code is used for Error detection. Hamming code is not used.
5. It require extra drive for Error Code. It require extra drive for Parity.
6. If one of the disk fails, the remaining bits of the byte and the associated ECC bits can be used to reconstruct the data. In case of drive failure the parity bits is accessed and data is reconstructed from the remaining drive.