1. RAID 3:
RAID 3 由字节级条带化组成。它将数据条带化到多个磁盘上。为每个磁盘部分生成并存储在不同的专用磁盘上的奇偶校验位。这个级别克服了单盘故障。
好处 –
- 数据可以批量传输
- 数据可以并行访问。
缺点——
- 它需要一个额外的驱动器来实现奇偶校验。
- 在小文件的情况下,它执行缓慢。
2. RAID 4:
RAID 4 由块级条带化组成。在此级别中,将整个数据集或数据块写入数据磁盘,然后生成奇偶校验并将其存储在不同的磁盘集上。这一级别最多克服一个磁盘故障。如果发生多个磁盘故障,则无法恢复数据。 RAID 3 和 RAID 4 都需要至少三个磁盘才能实现 RAID。
好处 –
- 由于块条带化,它有助于同时进行 I/O 请求。
- 存储开销很低。
缺点——
- 奇偶校验盘可能会导致瓶颈。
- 由于单独的块奇偶校验,随机写入缓慢。
RAID 3 和 RAID 4 的区别:
SR.No. | RAID 3 | RAID 4 |
---|---|---|
1. | RAID 3 stands for Redundant Array of Independent Disk level 3. | RAID 4 stands for Redundant Array of Independent Disk level 4. |
2. | In RAID 3 technology, Byte-level Striping is used. | In RAID 4 technology, Block-level Striping is used. |
3. | In this level, parity bits are generated for each disk section and stored on a different disk. | In this level, parity bits are generated for the entire block of data and stored on a different disk |
4. | Random read will have worst performance. | Good Random reads, as the data blocks are striped. |
5. | Performance is good in case of large sized files. | Performance is low because only one block is accessed at a time |