Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

According to Wikipedia, RAID 2 uses a [7,4,3]2 Hamming code to implement error correction. So, for a 7-disk RAID 2 setup, every 4 bit sequence of incoming data should be encoded in a 7 bit sequence and each bit placed on one of the 7 disks. (Is that correct? I couldn't actually find the RAID 2 specification.)

The [7,4,3]2 Hamming code is a 1-error-correcting code, so it has the neat property that if one of the disks is suddenly filled with garbage or disappears, the decoded data will still be correct. This seems like a great property to have! However, that Wikipedia article also claims that RAID 2 is rarely used. Why not?


Aside: (hidden so that it doesn't derail readers from my actual question above)

The Wikipedia article on RAID levels claims that "All hard disks eventually implemented Hamming code error correction. This made RAID 2 error correction redundant and unnecessarily complex.". While this may be true, error correction within a single disk won't handle a failure of the entire disk (for example, a circuit failure or motor failure). A Hamming code across multiple disks handles this situation, so the quoted argument seems to be invalid.

share|improve this question
3  
Computers typically manipulate data in bytes or in multiples of bytes. While they can manipulate individual bits I suspect that there would be a huge overhead when disassembling a rapid stream of data, then encoding them and finally storing them on a device which is designed to store multiples of bytes. (e.g. 520 or 512 bytes per sector). – Hennes Oct 27 '12 at 1:55
@Hennes: Thank you for answering. I came across another source that mentions the reason you gave, among others. – Snowball Oct 27 '12 at 3:28

closed as not constructive by Michael Hampton, Greg Askew, DerfK, EEAA, SvW Oct 27 '12 at 2:22

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

Browse other questions tagged or ask your own question.