Professional Documents
Culture Documents
What is RAID?
Benefits of RAID
Concepts of RAID
RAID Levels
CPEG323 1
RAID AND ITS BENEFITS
What is RAID?
Benefits OF RAID
Improved Performance
High Availability
Fault Tolerance
CPEG323 2
RAID CONCEPTS
STRIPING
MIRRORING
PARITY
CPEG323 3
RAID Concepts(Striping)
CPEG323 4
Raid Concepts (Mirroring)
CPEG323 5
RAID Concepts(Parity)
take "N" pieces of data, and from them, compute an extra piece of
data. Take the "N+1" pieces of data and store them on "N+1"
drives. If you lose any one of the "N+1" pieces of data, you can
recreate it from the "N" that remain, regardless of which piece is
lost.
CPEG323 6
RAID LEVELS
CPEG323 7
RAID: Level 0 (No Redundancy; Striping)
RECOMMENDED APPLICATIONS
CPEG323 9
RAID: Level 1 (Redundancy via Mirroring)
CPEG323 10
RAID: Level 1 (Redundancy via Mirroring)
Recommended Application
Accounting
Payroll
Financial
CPEG323 11
RAID: Level 2 (Redundancy via ECC)
Checks Checks Checks
blk1,b0 blk1,b1 blk1,b2 blk1,b3 4,5,6,7 2,3,6,7 1,3,5,7
1 0 1 0 1 0 1
3 5 6 0 7 4 2 1
ECC disks
ECC disks 4 and 2 point to either data disk 6 or 7,
but ECC disk 1 says disk 7 is okay, so disk 6 must be in error
ECC disks contain the parity of data on a set of distinct
overlapping disks
● # redundant disks = log (total # of data disks) so almost twice the
cost of one big disk
- writes require computing parity to write to the ECC disks
- reads require reading ECC disk and confirming parity
Can tolerate limited disk failure, since the data can be
reconstructed
CPEG323 12
RAID: Level 3 (Bit-Interleaved Parity)
blk1,b0 blk1,b1 blk1,b2 blk1,b3
1 0 1 0
(odd)
bit parity disk
On RAID 3 systems, data blocks are subdivided (striped)
and written in parallel on two or more drives. An
additional drive stores parity information. You need at
least 3 disks for a RAID 3 array.
writes require writing the new data to the data disk as well as computing
the parity, meaning reading the other disks, so that the parity disk can be
updated
Can tolerate limited disk failure, since the data can be
reconstructed
reads require reading all the operational data disks as well as the
parity disk to calculate the missing data that was stored on the failed
disk
CPEG323 13
RAID: Level 3 (Bit-Interleaved Parity)
blk1,b0 blk1,b1 blk1,b2 blk1,b3
1 0 1 0 1
(odd)
disk fails bit parity disk
On RAID 3 systems, data blocks are subdivided (striped)
and written in parallel on two or more drives. An additional
drive stores parity information. You need at least 3 disks
for a RAID 3 array.
writes require writing the new data to the data disk as well as
computing the parity, meaning reading the other disks, so that the
parity disk can be updated
Can tolerate limited disk failure, since the data can be
reconstructed
reads require reading all the operational data disks as well as the
parity disk to calculate the missing data that was stored on the failed
disk
CPEG323 14
RAID: Level 3 (Bit-Interleaved Parity)
Recommended Applications
Image Editing
Video Editing
CPEG323 15
RAID: Level 4 (Block-Interleaved Parity)
CPEG323 16
RAID: Level 4 (Block-Interleaved Parity)
CPEG323 17
Small Writes
RAID 3 small writes
New D1 data
D1 D2 D3 D4 P
⊕
3 reads and
2 writes
involving all D1 D2 D3 D4 P
the disks
D1 D2 D3 D4 P
⊕
2 reads and ⊕
2 writes
involving just
D1 D2 D3 D4 P
two disks
CPEG323 18
RAID: Level 5 (Distributed Block-Interleaved
Parity)
Recommended Applications
Database servers
Intranet servers
CPEG323 20
Distributing Parity Blocks
RAID 4 RAID 5
1 2 3 4 P0 1 2 3 4 P0
5 6 7 8 P1 5 6 7 P1 8
9 10 11 12 P2 9 10 P2 11 12
13 14 15 16 P3 13 P3 14 15 16
CPEG323 21
Raid : Level 6
CPEG323 23
RAID: Level 0+1 (Striping with Mirroring)
writes have to be made to both sets of disks, so writes would be only 1/2
the performance of RAID 0
CPEG323 24
RAID: Level 0+1 (Striping with Mirroring)
Recommended Applications
Imaging applications
General fileserver
CPEG323 25
RAID: Level 1+0 (Mirroring with Striping)
CPEG323 26
THANK YOU
Queries?
CPEG323 27