Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
System
Chapter 3
EMC Proven
Professional
The #1 Certification Program in the information
storage and management industry
2009 EMC Corporation. All rights reserved.
Why RAID
o Performance limitation of disk drive
o An individual drive has a certain life expectancy
o Measured in MTBF (Mean Time Between Failure)
o The more the number of HDDs in a storage array, the larger
the probability for disk failure. For example:
o If the MTBF of a drive is 750,000 hours, and there are 100 drives
in the array, then the MTBF of the array becomes 750,000 / 100,
or 7,500 hours
Chapter objectives
After completing this chapter, you will be able to:
o Describe what is RAID and the needs it addresses
o Describe the concepts upon which RAID is built
o Define and compare RAID levels
o Recommend the use of the common RAID levels
based on performance and availability
considerations
o Explain factors impacting disk drive performance
Logical
Array
RAID
Controller
Hard Disks
Host
RAID Array
RAID Implementations
o Hardware (usually a specialized disk controller
card)
o Controls all drives attached to it
o Array(s) appear to host operating system as a regular disk
drive
o Provided with administrative software
o Software
o Runs as part of the operating system
o Performance is dependent on CPU workload
o Does not support all RAID levels
RAID Levels
o 0 Striped array with no fault tolerance
o 1 Disk mirroring
o Nested RAID (i.e., 1 + 0, 0 + 1, etc.)
o 3 Parallel access array with dedicated parity disk
o 4 Striped array with independent disks and a
dedicated parity disk
o 5 Striped array with independent disks and
distributed parity
o 6 Striped array with independent disks and dual
distributed parity
2009 EMC Corporation. All rights reserved.
Strip
Stripe
Strip 1
Strip 2
Stripe 1
Stripe 2
Strips
2009 EMC Corporation. All rights reserved.
Strip 3
RAID 0
o Data is distributed across the HDDs in the RAID
set.
o Allows multiple data to be read or written
simultaneously, and therefore improves
performance.
o Does not provide data protection and availability
in the event of disk failures.
RAID 0
0
1
5
9
RAID
Controller
Host
2
6
10
3
7
11
RAID 1
o Data is stored on two different HDDs, yielding two
copies of the same data.
o Provides availability.
RAID 1
Block 0
1
Host
RAID
Block 0
1
Controller
Nested RAID
o Combines the performance benefits of RAID 0 with the
redundancy benefit of RAID 1.
o RAID 0+1 Mirrored Stripe
o Data is striped across HDDs, then the entire stripe is mirrored.
o If one drive fails, the entire stripe is faulted.
o Rebuild operation requires data to be copied from each disk in
the healthy stripe, causing increased load on the surviving disks.
Block 0
Block 2
Block 0
3
2
1
RAID
Controller
RAID 0
Block 1
Host
Block 3
Block 0
Block 0
Block 2
Block 2
RAID
Controller
Host
RAID 0
Block 1
Block 1
Block 3
Block 3
Block 1
Block 3
Block 2
0
RAID
Controller
RAID 1
Block 1
Host
Block 3
Block 0
Block 1
Block 2
Block 3
RAID
Controller
Host
RAID 1
Block 0
Block 1
Block 2
Block 3
4
1
6 5
9
RAID
Controller
Host
4 + 6 + ? + 7 = 18
? = 18 4 6 7
?=1
Parity Disk
1
?
3
7 7
11
0123
4 518
67
RAID 3
Block 0
3
2
1
Host
RAID0
Block
Controller
Block
Parity1
Generated
Block 2
Block 3
P0123
RAID 5
Block 0
Block 4
Block 1
Block 5
Block 0
4
Parity
RAID4
Block
0
Generated
Controller
Block 2
Block 6
P4
05
16
27
3
Block 3
Host
P4567
P0123
Block 7
RAID Comparison
RAID
Min
Disks
Storage
Efficiency %
100
50
(n-1)*100/n
where n=
number of
disks
(n-1)*100/n
where n=
number of
disks
(n-2)*100/n
where n=
number of
disks
1+0
and
0+1
50
Cost
Low
High
Moderate
Moderate
Read Performance
Write Performance
Very good
Good
Better than a single disk
Good
Slower than a single
disk, as every write must
be committed to two
disks
Moderate
but more
than RAID 5
High
Very good
Good
Ep new
Ep old
E4 old
E4 new
2 XOR
Ep new
Ep old
P0
D1
E4 old
D2
D3
E4 new
D4
o Parity Vs Mirroring
o Reading, calculating and writing parity segment introduces penalty to every write operation
o Parity RAID penalty manifests due to slower cache flushes
o Increased load in writes can cause contention and can cause slower read response times
2009 EMC Corporation. All rights reserved.
Additional Task
Discuss impact of sequential &
Random I/O in different RAID
Configuration
Hot Spares
RAID
Controller
Chapter Summary
Key points covered in this chapter:
o What RAID is and the needs it addresses
o The concepts upon which RAID is built
o Some commonly implemented RAID levels
#1 IT
company
http://education.EMC.com