RAID2简介

• RAID level 2, known as memory-style error-correcting-code (ECC) organiza-

tion, employs parity bits. Memory systems have long used parity bits for

error detection and correction. Each byte in a memory system may have a
parity bit associated with it that records whether the numbers of bits in the
byte that are set to 1 is even (parity = 0) or odd (parity = 1). If one of the bits
in the byte gets damaged (either a 1 becomes a 0, or a 0 becomes a 1), the
parity of the byte changes and thuswill notmatch the stored parity. Similarly,
if the stored parity bit gets damaged, it will not match the computed parity.
Thus, all 1-bit errorswill be detected by thememory system. Error-correcting
schemes store 2 or more extra bits, and can reconstruct the data if a single bit
gets damaged.
The idea of error-correcting codes can be used directly in disk arrays by
striping bytes across disks. For example, the first bit of each byte could be
stored in disk 0, the second bit in disk 1, and so on until the eighth bit is
stored in disk 7, and the error-correction bits are stored in further disks.
Figure 10.3c shows the level 2 scheme. The disks labeled P store the error-
correction bits. If one of the disks fails, the remaining bits of the byte and the
associated error-correction bits can be read fromother disks, and can be used
to reconstruct the damaged data. Figure 10.3c shows an array of size 4; note
RAID level 2 requires only three disks’ overhead for four disks of data, unlike
RAID level 1, which required four disks’ overhead.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值