tosapol@hotmail.com

[ Home ] [ Education ] [ Working ] [ Hobbies ] [ Software ] [ Hardware ] [ How-To ] [ Link ] [ mail ]


General Information about RAID
Back Ground
In 1987, professors Garth Gibson, Randy Katz, and David Patterson at the University of California outlined 6 RAID levels. These formally defined RAID levels are a family of techniques for managing a suite of disk drives so that reliability, data availability, and performance are all maximized for a wide variety of applications. Each RAID level defines how the RAID will function.

RAID Levels

RAID Capacity
RAID    
Level 
Description Theoretical Capacity  Example of Actual Capacity  
using seven 9 GB disks 
0
Striping 
# Drives x Cap Drive
63 GB 
1
Mirroring 
(# Drives / 2) x Cap Drive
31.5 GB 
2
Hamming code parity 
(# Drives -1) x Cap Drive
54 GB 
3
Byte level parity 
(# Drives -1) x Cap Drive
54 GB 
4
Block level parity 
(# Drives -1) x Cap Drive
54 GB 
5
Interleave parity 
(# Drives -1) x Cap Drive
54 GB 

RAID Implementation
RAID can be implemented in hardware or software. Software RAID solutions use the host computer's CPU and memory to implement the RAID functions.
RAID Level 3 or 5 are usually implemented in hardware. The hardware RAID controller has a dedicated CPU to calculate parity and map the location of the files.
Internal RAID, like software RAID, is operating system dependent. It usually requires a driver to access and configure the RAID controller. On the plus side, the internal RAID controller can communicate faster than an external controller, because it incorporates the SCSI adapter function. This means that access to the data avoids one communication layer. Also, an internal RAID controller is usually less expensive than a comparably equipped external controller.
There are some major disadvantages to an internal controller.
  1. If the controller fails, then the host computer must be shut down to repair or replace the board. If an external RAID controller fails, simply turn off the other devices on that bus.
  2. Most internal controllers do not have expansion cards, so the size of the RAID set is limited. External controllers offer more flexibility in the number of drives it can address.
  3. Only one host can talk to an internal controller.
  4. Failover on an internal controller is difficult at best to configure.

RAID Features and Functions
Feature Benefit and Advantage  Disadvantage
Hot Spare Drives Ability to recover from single disk failure  Makes drive work but is not used
Warm Spare Drives Ability to recover from single disk failure  Delay in recovering because the drive must be started 
Global Spare Drive Ability to recover from single disk failure on any rank  Requires multiple ranks running on the RAID controller 
Failover (Active-Passive) Avoids RAID controller as the single point of failure  Other controller sits idle until needed
Failover (Active-Active) Avoids controller as the single point of failure  More expensive

Which is the right RAID levels?
Characteristics RAID Level(s)
Best Cost (best utilization of disk space) 0, 3, & 5 
Best Performance (Q I/O's) 0 & 5 
Best Performance (data transfer) 3
Data Availability 1*, 3, & 5 
*RAID Level 1 allows high availability, but requires exactly twice the needed disk space.

Courtesy of

Internet Link Exchange
Member of the Internet Link Exchange Free Home Pages at GeoCities