
Chapter 2. RAID Array Controller
2.6.4 RAID 4
RAID 4 (Figure 
Figure 2–8  Diagram of a RAID 4 Write
| Host Data | Controller divides the | 
 | ||||
| data into chunksized units | 
 | |||||
| 0011 | 0110 | and calculates parity | 
 | |||
| 
 | 
 | 
 | 
 | 
 | ||
| 1011 | 0000 | 
 | 0011 | 0110 | 
 | Striped data and parity | 
| 0110 | 1111 | 
 | 1011 | 0000 | 
 | |
| 
 | 
 | written to the array | ||||
| 1110 | 1110 | 
 | 0110 | 1111 | 
 | |
| 
 | 
 | 
 | ||||
| 
 | 
 | XOr | 1110 | 1110 | 
 | 
 | 
| 
 | 
 | Parity = | 
 | 
 | 
 | 
 | 
| 
 | 
 | 0000 | 
 | 
 | 
 | |
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
There is still data left
so the Controller
repeats the Process
| 
 | 0011 | 0110 | Striped data and parity | 
| 
 | 1011 | 0000 | |
| 
 | written to the array | ||
| 
 | 0110 | 1111 | |
| 
 | 
 | ||
| XOr | 1110 | 1110 | 
 | 
| Parity = | 
 | 
 | 
 | 
| 
 | 0111 | 
 |