The challenge with redundant arrays such as RAID 5 or RAID 6 is to create parity bits on the fly, and to be able to recreate stored data bits using the generated parity bits. The basic idea behind this parity generation is the "exclusive OR" (XOR) Boolean operation. The truth table below shows how it works.

Other than parity generation, a RAID 5 stripe set is no different from a RAID 0, except that all but one hard drives are used; it's all but two drives in case of RAID 6. Parity generation involves an entire stripe that is going to be distributed across the array. A stripe consists of n-1 data blocks, where n is the total number of array drives, and the parity block that is generated always adds to a stripe as its last block.
A block is the data chunk that is stored onto one drive, and is typically between 4 and 64 kB in size. As we already outlined, this parity block is stored in an alternating manner in order to avoid creating a bottleneck; this becomes more important the more drives you use.
The generation or parity data as well as the reverse process (recreation of stored data bits after a partial data loss) requires intensive computing. Professional RAID solutions have an on-chip RISC processor that performs these binary XOR operations and reduces the CPU load for the host computer. These units are typically called "XOR engines" or "XOR accelerators", while the host adapters are referred to as "hardware-based RAID controllers".
The term "software-based RAID" is often used to describe XOR processing by the system processor. This is a popular solution because it is cost effective; no additional hardware is needed. At the same time, it will only perform well with a fast host system CPU and with no other demanding tasks to take care of. In fact this should really be called "host-based RAID", because a software RAID would be an array that is entirely created by the operating system only.

Source: Adaptec. This is how a RAID 5 works. A RAID 6 generates another layer of parity data.
Sponsored links
Related forums topics
- I converted my Antec 900 fans from Molex to 3-pin
- Installing a Floppy Drive Still Makes Sense?
- AI NOS
- rediculously bad drive speeds with onboard raid
- Installing drivers via floppy vs internet
- RAID0 and SSD. Match made in heaven?
- RAID + Partitions
- RAID 0. Risky?
- Raid 1 + A8N SLI Premium + New Build.. Help..
- 12 drive dual RAID-5 config need advice
- raid array
- raid 6 controller
- raid 5 parity bit
- raid 5 stripe
- software raid 6
- raid array stripe size
- raid array drives
- raid software
- raid 5 two drive failure
- software raid 6 performance
- raid 6 parity drive size
- raid 0 additional hardware
- double redundant array
- raid 5 creating
- set up adaptec raid controller
Partners
The Games selection
adventure :
Ray
Adventure game, South Park style. Pick the way the story goes by picking an answer among those offered.
|
crazy :
Xiao Xiao 7
A great fight scene from the animation movies Xiao Xiao.
|
