Escolar Documentos
Profissional Documentos
Cultura Documentos
Overview
Background
Term coined by researchers at UC-Berkeley
Redundant Array of Inexpensive Disks
Basics of RAID
Disk arrays
Logical/physical
Controller (software/hardware)
Techniques/Methods
Mirroring
Parity
10101010 XOR 11111111 = 01010101
11111111 XOR 01010101 = 10101010
10101010 XOR 01010101 = 11111111
Parity -Single Bit Error Detection
Striping
RAID 0
Uses striping
I/O performance gain
No Data redundancy
Not fault tolerant
Not considered true RAID
Minimum 2 disks
RAID 1
Uses mirroring
Also known as duplexing
Fault tolerant
High Disk overhead
Mirroring typically handled system software
Simplest RAID design
Minimum 2 disks
RAID 2
Error Detection and Correction
Bit level striping
Parity and Hamming Code
Used to identify and correct errors
Hamming Code
Uses parity bits to verify data integrity
Parity bits signify oddness of data bits
ECC (Error Correction Code)
Minimum 3 disks
RAID 2
Characterized by:
On the fly data correction
High Ratio of Data disks to ECC disks
Not a commercially viable solution
High Costs Involved
For 4 data bits, 3 parity bits needed
(m parity bits cover 2m -1 bit positions)
RAID 3: XOR
0 0 0
XOR in Action:
01012 XOR 00112 = 01102 0 1 1
1 0 1
If ????2 XOR 11002 = 01102,
Then 11002 XOR 01102 = ????2 = 10102 1 1 0
Advantages: Disadvantages:
High Read/Write Transaction rate slowed
Transfer Rates by Parity Disk
Disk failures dont slow Complex Controller
the system Design
Low Ratio of Data Disks Software
to Parity Disks Implementation
Resource Intensive
RAID 3: Uses
Video Production
Minimum 3 disks
RAID 4
Offshoot of RAID 3
No Striping, Entire files written to individual
disks (block level striping)
Parity Data created on a sector-by-sector
basis
Minimum 3 disks
RAID 4: Pros, Cons, and Uses
Advantages: Disadvantages:
Very high read rates Very slow write rates
Multiple files read at once Even small writes fill up
parity write queue
Uses: Inefficient data recovery
Web Servers, and other Even more Complex
high read, low write Controller Design than
situations RAID 3
Characterized by:
- each drive duplicated
- high implementation cost
RAID 0+1
Reference: http://en.wikipedia.org/wiki/RAID
New RAID Classification