Module 3
Module 3
DATA PROTECTION
RAID
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
Why RAID?
RAID
and there are 1000 drives in the array, then the MTBF
of the array is 750 hours (750,000/1000)
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
functionality
Limitations
Use host CPU cycles to perform RAID calculations,
on a host or on an array
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
RAID
Controller
Logical
Array
(RAID Sets)
Hard
Disks
Hos
t
RAID Array
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
RAID Techniques
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
Strip
RAID
Controller
Strip
e
Host
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
Block 0
Block 0
RAID
Controller
Block 0
Host
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
6
D2
RAID
Controller
1
D3
7
Host
D4
18
P
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
10
6
D2
RAID
Controller
?
D3
7
Host
D4
4 + 6 + ? + 7 = 18
? = 18 4 6 7
?=1
18
P
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
11
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
12
RAID Levels
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
13
RAID 0
C
B
A
RAID Controller
A1
B1
C1
A2
B2
C2
A3
B3
C3
A4
B4
C4
A5
B5
C5
Data Disks
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
14
RAID 1
F
E
D
C
B
A
RAID Controller
A
B
C
Mirror Set
A
B
C
D
E
F
D
E
F
Mirror Set
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
15
Striping
Mirrorin
g
A1
B1
C1
Mirror Set A
A1
B1
C1
Mirrorin
g
A2
B2
C2
Mirror Set B
RAID Controller
Mirrorin
g
A3
B3
C3
A2
B2
C2
A3
B3
C3
Mirror Set C
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
16
RAID 3
C
B
A
RAID Controller
A1
B1
C1
A2
B2
C2
Data Disks
A3
B3
C3
AP
BP
CP
A4
B4
C4
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
17
RAID 5
C
B
A
RAID Controller
A1
B1
C1
A2
B2
C2
A3
B3
CP
A4
BP
C3
AP
B4
C4
Distributed Parity
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
18
RAID 6
C
B
A
RAID Controller
A1
B1
C1
A2
B2
CP
A3
BP
CQ
AP
BQ
C2
AQ
B3
C3
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
19
Cp new =
Cp old -
C4 old +
C4 new
4
A1
B1
C1
1
A2
B2
C2
A3
B3
CP
A4
BP
C3
AP
B4
C4
20
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
21
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
22
RAID Comparison
RAI
D
lev
el
Min
dis
ks
Available
storage
capacity (%)
Read
performance
Write
performance
Write
penalty
Protection
Moderat
e
Mirror
Moderat
e
Mirror
High
Parity
(Supports
single disk
failure)
High
Parity
(Supports
single disk
failure)
Very
High
Parity
(Supports two
disk failures)
50
Better than
single disk
Slower than
single disk,
because every
write must be
committed to all
disks
1+0
50
Good
Good
Fair for
random reads
and good for
sequential
reads
Good for
random and
sequential
reads
Good for
random and
sequential
reads
[(n-1)/n]*100
[(n-1)/n]*100
where
of disks
6 n =4number [(n-2)/n]*100
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
23
RAID 1+0
Suitable for applications with small, random, and
RAID 3
Large, sequential read and write
Example: data backup and multimedia streaming
RAID 5 and 6
Small, random workload (writes typically less than
30%)
Example: email, RDBMS Data entry
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
24
Hot Spare
Failed disk
RAID
Controller
Replace
failed
disk
Hot spare
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
25
Module 3: Summary
Key points covered in this module:
RAID implementation methods and techniques
Common RAID levels
RAID write penalty
Compare RAID levels based on their cost and
performance
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
26
Exercise 1: RAID
Task
Recommend a RAID level that the company can use
27
Exercise 2: RAID
Task
Recommend a suitable RAID level to fulfill companys
needs
Estimate the cost of the new solution (200GB disk
costs $1000)
EMC Proven Professional. Copyright 2012 EMC Corporation. All Rights Module 3: Data Protection - RAID
28