RAID Technology Overview: HP Smart Array RAID Controllers
RAID Technology Overview: HP Smart Array RAID Controllers
The information contained herein is subject to change without notice. The only warranties for HP products and services are set forth in the express
warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP
shall not be liable for technical or editorial errors or omissions contained herein.
Warranty A copy of the specific warranty terms applicable to your Hewlett-Packard product and replacement parts can be obtained from
your local Sales and Service Office.
U.S. Government License Proprietary computer software. Valid license from HP required for possession, use or copying. Consistent with FAR
12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed
to the U.S. Government under vendor's standard commercial license.
Trademark Notices UNIX® is a registered trademark in the United States and other countries, licensed exclusively through The Open Group.
Table of Contents
About This Document ........................................................................................................9
Intended Audience.................................................................................................................................9
New and Changed Documentation in This Edition...............................................................................9
Publishing History..................................................................................................................................9
Document Organization.........................................................................................................................9
Typographical Conventions..............................................................................................................9
Related Documents.................................................................................................................................9
HP Encourages Your Comments............................................................................................................9
Glossary............................................................................................................................23
Index.................................................................................................................................25
Table of Contents 3
4
List of Figures
1-1 Physical Disks Added to System ..................................................................................................13
1-2 Physical Disks Configured into a Logical Drive (L1) ...................................................................13
1-3 Data Striping (S1-S4) of Data Blocks B1-B12 ................................................................................14
2-1 Data Striping (S1-S4) of Data Blocks B1-B12 ................................................................................15
2-2 Disk Drive Mirroring of P1 onto P2 (RAID 1)...............................................................................16
2-3 Mirroring and Striping (RAID 1+0)...............................................................................................16
2-4 Distributed Data Guarding, Showing Parity Information (Px,y) .................................................17
2-5 Advanced Data Guarding, Showing Parity Information (Px,y and Qx,y)....................................18
A-1 Relative Probability of Logical Drive Failure................................................................................22
5
6
List of Tables
2-1 Summary of RAID Methods..........................................................................................................19
2-2 Choosing a RAID Method.............................................................................................................19
7
8
About This Document
This document provides an overview of Redundant Array of Independent Disks (RAID)
technology. The information in this document applies to HP Integrity and HP 9000 servers
equipped with HP Smart Array RAID controllers, running any supported operating system.
The latest version of this document can be found online at:
http://docs.hp.com/en/netcom.html#Smart%20Array%20%28RAID%29
Intended Audience
This document is intended for system and network administrators responsible for installing,
configuring, and managing fault tolerant data storage. Administrators are expected to have
knowledge of server hardware and operating system concepts, commands, and configuration.
This document is not a tutorial.
Publishing History
This is the first edition of this document.
Document Organization
The RAID Technology Overview is divided into several chapters containing information about
RAID in general, the RAID levels supported by each Smart Array Controller specifically, and
installation, configuration, and troubleshooting details for the Smart Array Controllers. There
are also several appendixes containing supplemental information.
Chapter 1 Introduction to RAID Technology Use this chapter to learn about RAID in
general, and how RAID technology can improve performance and data integrity.
Chapter 2 Smart Array Controller Supported RAID Configurations Use this chapter to
learn about the theory, advantages, and disadvantages of each RAID level.
Appendix A Logical Drive Failure Probability
Typographical Conventions
This document uses the following conventions.
Book Title The title of a book.
Emphasis Text that is emphasized.
Bold Text that is strongly emphasized.
Bold The defined use of an important word or phrase.
Related Documents
Additional information about HP Smart Array RAID controllers can be found at:
http://docs.hp.com/en/netcom.html#Smart%20Array%20%28RAID%29
Intended Audience 9
[email protected]
Please include document title, manufacturing part number, and any comment, error found, or
suggestion for improvement you have concerning this document. Also, please let us know if
there is anything about this document that is particularly useful, so we can incorporate it into
our other documents.
What is RAID?
The RAID concept was proposed in 1987 when “A Case for Redundant Arrays of Inexpensive
Disks (RAID)” was published by David Patterson, Garth Gibson, and Randy Katz at the University
of California, Berkeley. The idea was to combine multiple small, inexpensive physical disks into
an array that would function as a single logical drive, but provide better performance and higher
data availability than a single large expensive disk drive (SLED).
The study defined five different disk array configurations, or RAID levels. All of the RAID levels
provided fault tolerance, and each RAID level offered different feature sets and performance to
accommodate different system administration priorities and computing environments.
NOTE: RAID now stands for “Redundant Array of Independent Disks”, because disks have
become inexpensive.
Small disk drives are lower in performance and have less capacity compared to large disk drives.
Small drives also have lower storage density than large drives. However, small disk drives are
equal to or better than large disk drives in four areas:
• I/O per actuator (multiple I/O capability)
• Cost per megabyte
• Mean time between failures (MTBF)
• SCSI controller per disk drive (better cost/performance ratio)
Grouping small disk drives into an array provides the following additional advantages:
• High transfer rates
• Increased disk capacity
• High I/O rates
The RAID study pointed out that as the number of disk drives in an array (also called a stripe
set) increases, the MTBF of the array decreases. At the time the RAID study was published, if a
disk drive crashed data restoration was typically dependent on backup from a tape drive. In
addition, the system was taken offline to replace the failed disk.
What is RAID? 11
Overall, RAID has three main attributes that are exploited in some way by all five original RAID
configurations and by most other RAID configurations that have been defined since the 1987
study. These attributes are:
• A set of physical disk drives that can function as one or more logical drives (improved I/O)
• Data distribution across multiple physical disks (striping)
• Data recovery, or reconstruction of data in the event of a physical disk failure (redundancy)
“RAID 0” was not defined in the original study, and it does not have all of these attributes. The
term was adopted to describe a disk array configuration that includes data block striping, but
lacks redundancy.
RAID 2, RAID 3 and RAID 4 have become impractical due to technological changes. Other RAID
configurations (including some that are proprietary) have been defined over the years as well.
You can read the original RAID study at:
http://techreports.lib.berkeley.edu/accessPages/CSD-87-391.html
RAID configurations supported by HP Smart Array Controllers are as follows:
• RAID 0
• RAID 1+0
• RAID 5
• ADG
With an array controller, connecting extra physical disks to a system increases both the total
storage capacity and the read/write efficiency. The capacity of several physical disks is combined
into one or more virtual units called logical drives (also called logical volumes).
The read/write heads of all of the physical disks in a logical drive are active simultaneously,
improving I/O performance and reducing the total time required for data transfer (see Figure 1-2).
Because the read/write heads for each physical disk are active simultaneously, the same amount
of data is written to each disk during any given time interval. Each unit of data is called a block.
The blocks form a set of data stripes that are spread evenly over all the physical disks in a logical
drive (see Figure 1-3).
For data in the logical drive to be readable, the data block sequence must be the same in every
stripe. This sequencing process is performed by the Smart Array Controller, which sends the
data blocks to the physical disk, writing the heads in the correct order.
In a striped array, each physical disk in a logical drive contains the same amount of data. If one
physical disk has a larger capacity than other physical disks in the same logical drive, the extra
capacity cannot be used.
A logical drive can extend over more than one channel on the same controller, but it cannot
extend over more than one controller.
Disk failure, although rare, is potentially catastrophic to an array. If a physical disk fails, the
logical drive it is assigned to fails, and all of the data on that logical drive is lost.
NOTE: When multiple logical drives are defined on a controller, spare disks must be assigned
to each logical drive.
When a physical disk in the array fails, the controller automatically rebuilds the information
from the failed disk onto an online spare. The system is quickly restored to full RAID-level data
protection. In the unlikely event that another disk in the array fails while data is being rewritten
to the spare, the logical drive may fail, depending on which RAID configuration is in use. For
more information, see Appendix A (page 21).
In each mirrored pair, the physical disk that is not busy answering other requests answers any
read request sent to the array; this behavior is called load balancing. If a physical disk fails, the
remaining disk in the mirrored pair can still provide all the necessary data. Several disks in the
array can fail without incurring data loss, as long as no two failed disks belong to the same
mirrored pair.
This fault-tolerance method is useful when high performance and data protection are more
important than the cost of physical disks.
Figure 2-5 Advanced Data Guarding, Showing Parity Information (Px,y and Qx,y)
Alternative name Striping (no Mirroring Mirroring and Distributed Data Advanced Data
fault tolerance) Striping Guarding Guarding
Usable disk space* 100% 50% 50% 67% to 96% 50% to 93%
Minimum number of 1 2 4 3 4
physical disks
*Values for usable disk space are calculated with these assumptions: (1) All physical disks in the array have the same
capacity; (2) Online spares are not used; (3) No more than 28 physical disks are used per array for RAID 5.
I/O performance Cost effectiveness RAID 5 (RAID 0 if fault tolerance is not required)
23
Redundant Array A form of fault-tolerant storage control. See Chapter 1: “Introduction to RAID Technology”
of Independent (page 11).
Disks (RAID)
Self-Monitoring, Technology co-developed by HP and the physical disk industry that provides warning of
Analysis, and imminent disk failure. The self-monitoring routines are customized for each specific disk type
Reporting and have direct access to internal performance, calibration, and error measurements.
Technology
(S.M.A.R.T.)
spare See online spare.
striping See data striping.
surface analysis See Auto-Reliability Monitoring.
24 Glossary
Index
A N
ADGSee RAID ADG, 17 no fault tolerance (RAID 0), 15
advanced data guarding (RAID ADG), 17
array O
defined, 12 online spare
physical limitations of, 14 defined, 14
limitations of, 14
B
block of data, defined, 13 P
parity data
C in RAID 5, 17
comparison in RAID ADG, 17
of different RAID methods, 19 physical drivesSee hard drives, 14
protecting data
D RAID methods, 14
data block, defined, 13
data protection methods R
RAID, 14 RAID 0 (no fault tolerance), 15
data stripes, defined, 13 RAID 1+0 (drive mirroring), 15
distributed data guarding (RAID 5), 17 RAID 5 (distributed data guarding), 17
drive arraySee array, 12 RAID ADG (advanced data guarding), 17
drive mirroring (RAID 1+0), 15 RAID methods
comparison with each other, 19
F selection chart for, 19
fault tolerance summary of features, 19
description of methods, 14 RAID methodsSee also fault tolerance, 14
fault toleranceSee also RAID methods, 14
features S
of RAID methods, 19 spare drives
defined, 14
H striping data, defined, 13
hard drive failure summary
fault tolerance and, 19 of RAID methods, 19
multiple, simultaneous, 19
protection against, 14
hard drives
minimum number of, for RAID, 19
hot spare
defined, 14
L
load balancing, defined, 16
logical drives
compared to array, 12
M
maximum number of
hard drives for RAID 5, 19
hard drives for RAID ADG, 19
minimum
number of hard drives for RAID, 19
mirroring of drives, 15
multiple hard drive failure, 19
25
*J6369-90050*
Printed in the US