Академический Документы
Профессиональный Документы
Культура Документы
RAID
Controller
Host
RAID Array
Physical
Array
Logical
Array
RAID
Controller
Logical
Array
Host
RAID Array
Stripe 1
Stripe 2
Stripe 3
Strips
RAID
Block 0
4
3
2
1 Block 0
4
3
2
1
Controller
Host
RAID
Block 0
1 Block 0
1
Controller
Host
RAID
Block 0
3
2
1 Block 0
3
2
1
Controller
Host
RAID
Block 0
3
2
1 Block 0
3
2
1
Controller
Host
0
4
8
1
5
9
RAID 2
Controller 6
10
3
Host 7
11
0123
4567
8 9 10 11
Parity Disk
© 2007 EMC Corporation. All rights reserved. RAID Arrays - 19
Parity is a redundancy check that ensures that the data is
protected without using a full set of duplicate drives.
If a single disk in the array fails, the other disks have
enough redundant data so that the data from the failed
disk can be recovered.
Like striping, parity is generally a function of the RAID
controller and is transparent to the host.
Parity information can either be:
Stored on a separate, dedicated drive (RAID-3)
Distributed with the data across all the drives in the
array (RAID-5)
5 Data
5 + 3 + 4 + 2 = 14
3 Data
5 + 3 + ? + 2 = 14
2 Data
? = 14 – 5 – 3 – 2
?=4 Parity
14
RAID Array
© 2007 EMC Corporation. All rights reserved. RAID Arrays - 21
RAID 3 – Parallel Transfer with Dedicated Parity
Disk
Block 0
3
2
1 RAID0
Block
Controller
Block
Parity1
Generated
Block 2
Host Block 3
P0123
Block 0
Block 4
Block 1
Block 5
Parity
RAID0 Block 2
Block 0 Block
Generated
Controller Block 6
P0123
Block 3
Host Block 7
P0123
P4567
Block 0
Block 4
Block 1
Block 5
Parity
RAID4 Block 2
Block 0
4 Block 0
Generated
Controller Block 6
P4
0516
273
Block 3
Host P4567
P0123
Block 7
Software
– Generally runs as part of the operating system
– Volume management performed by the server
– Provides more flexibility for hardware, which can reduce the cost
– Performance is dependent on CPU load
– Has limited functionality
RAID
Controller
RAID
Controller
RAID
Controller