A couple of the recent Tech Tips from www.geeks.com have made mention of RAID, but the level of detail required in those tips didn't shed much light on what RAID actually is. The number of e-mail responses and comments in the Readers Digress section was convincing enough that an introduction to the basics of RAID would be an appropriate Tech Tip, so here it is.
Introduction
The word RAID sounds like it might describe something Marines conduct in Fallujah, or a can of what all roaches fear, but it is simply an acronym that stands for Redundant Array of Independent (or Inexpensive) Disks. Depending on who you talk to, the letter "I" can stand for either independent or inexpensive, but in my opinion independent is more appropriate, and far less subjective.
RAID generally allows data to be written to multiple hard disk drives so that a failure of any one drive in the array does not result in the loss of any data, as well as increasing the system's fault tolerance. I say RAID generally does this, as there are several RAID configurations that provide different approaches to redundancy, but some RAID configurations are not redundant at all. Fault tolerance refers to a system's ability to continue operating when presented with a hardware (or software) failure, as should be experienced when a hard drive fails in one of the redundant configurations of RAID.
The Hardware
The basic hardware required to run RAID includes a set of matched hard drives and a RAID controller.
RAID can be run on any type of hard drive, including SCSI, SATA, and ATA. The number of hard drives required is dependent on the particular RAID configuration chosen, as described later. I mention the need for matched hard drives, and although this is not absolutely necessary, it is recommended. Most arrays will only be able to use the capacity of the smallest drive, so if a 250GB Hitachi drive is added to a RAID configuration with an 80GB Hitachi drive, that extra 170GB would probably go to waste (the only time that this doesn't apply is in a RAID configuration called JBOD (Just a Bunch Of Disks); which really "isn't a RAID configuration" but just a convenient thing that a RAID controller can do ? see "Basic RAID Configurations" below for more information). In addition to matching capacities, it is highly recommended that drives match in terms of speed and transfer rate as the performance of the array would be restricted by the weakest drive used. One more area that should be considered while matching is the type of hard drive. RAID controllers are generally for either SCSI, SATA, or ATA exclusively, although some systems allow RAID arrays to be operated across controllers of different formats.
The RAID controller is where the data cables from the hard drives are connected, and conducts all of the processing of the data, like the typical drive connections found on a motherboard. RAID controllers are available as add on cards, such as this Silicon Image PCI ATA RAID controller, or integrated into motherboards, such as the SATA RAID controller found on the Asus K8V SE Deluxe (http://www.geeks.com/details.asp?invtid=K8VSE-DELUXE). Motherboards that include RAID controllers can be operated without the use of RAID, but the integration is a nice feature to have if RAID is a consideration. Even for systems without onboard RAID, the relatively low cost of add on cards makes this part of the upgrade relatively pain free.
Another piece of hardware that is not required, but may prove useful in a RAID array is a hot swappable drive bay. It allows a failed hard drive to be removed from a live system by simply unlocking the bay and sliding the drive cage out of the case. A new drive can then be slid in, locked into place, and the system won't skip a beat. This is typically seen on SCSI RAID arrays, but some IDE RAIDS cards will also allow this (such as this product manufactured by Promise Technology: http://www.promise.com/product/product_detail_eng.asp?productId=92&familyId=7).
The Software
RAID can be run on any modern operating system provided that the appropriate drivers are available from the RAID controller's manufacturer. A computer with the operating system and all of the software already installed on one drive can be easily be cloned to another single drive by using software like Norton Ghost. But it is not as easy when going to RAID, as a user who wants to have their existing system with a single bootable hard drive upgraded to RAID must start from the beginning. This implies that the operating system and all software needs to be re-installed from scratch, and all key data must be backed up to be restored on the new RAID array.
If a RAID array is desired in a system for use as storage, but not as the location for the operating system, things get much easier. The existing hard drive can remain intact, and the necessary configuration can be made to add the RAID array without starting from scratch.
Basic RAID Configurations
There are about a dozen different types of RAID that I know of, and I will describe five of the more typical configurations, and usually offered on RAID controller cards.
RAID 0 is one of the configurations that does not provide redundancy, making it arguably not a true RAID array. Using at least two disks, RAID 0 writes data to the two drives in an alternating fashion, referred to as striping. If you had 8 chunks of data, for example, chunk 1, 3, 5, and 7 would be written to the first drive, and chunk 2, 4, 6, and 8 would be written to the second drive, but all in sequential order. This process of splitting the data across drives allows for a theoretical performance boost of up to double the speed of a single hard drive, but real world results will generally not be nearly that good. Since all data is not written to each disk, the failure of any one drive in the array generally results in a complete loss of data. RAID 0 is good for people who need to access large files quickly, or just demand high performance across the board (i.e. gaming systems). The capacity of a RAID 0 array is equal to the sum of the individual drives. So, if two 160GB Seagate drives were in a RAID 0 array, the total capacity would be 320GB.
RAID 1 is one of the most basic arrays that provides redundancy. Using at least two hard drives, all data is written to both drives in a method referred to as mirroring. Each drive's contents are identical to each other, so if one drive fails, the system could continue operating on the remaining good drive, making it an ideal choice for those who value their data. There is no performance increase as in RAID 0, and in fact there may be a slight decrease compared to a single drive system as the data is processed and written to both drives. The capacity of a RAID 1 array is equal to half the capacity of the sum of individual drives. Using those same two 160GB Seagate drives from above in RAID 1 would result in a total capacity of 160GB.
RAID 0+1, as the name may imply, is a combination of RAID 0 and RAID 1. You have the best of both worlds, the performance boost of RAID 0 and the redundancy of RAID 1. A minimum of four drives is required to implement RAID 0+1, where all data is written in both a mirrored and striped fashion to the four drives. Using the 8 chunks of data from the example above, the write pattern would be something like this? Chunks 1, 3, 5, and 7 would be written to drives one and three, and chunks 2, 4, 6, and 8 would be written to drives two and four, again in a sequential manner. If one drive should fail, the system and data are still intact. The capacity of a RAID 0+1 array is equal to half the total capacity of the individual drives. So, using four of the 160 GB Seagate drives results in a total capacity of 320GB when configured in RAID 0+1.
RAID 5 may be the most powerful RAID configuration for the typical user, with three (or five) disks required. Data is striped across all drives in the array, and in addition, parity information is striped as well. This parity information is basically a check on the data being written, so even though all data is not being written to all the drives in the array, the parity information can be used to reconstruct a lost drive in case of failure. Perhaps a bit difficult to describe, so let's go back to the example of the 8 chunks of data now being written to 3 drives in a RAID 5 array. Chunks one and two would be written to drive one and two respectively, with a corresponding parity chunk being written to drive three. Chunks three and four would then be written to drives one and three respectively, with the corresponding parity chunk being written to drive two. Chunks five and six would be written to drives two and three, with the corresponding parity chunk being written to drive one. Chunks seven and eight take us back to the beginning with the data being written to drives one and two, and the parity chunk being written to drive three. It might not sound like it, but due to the parity information being written to the drive not containing that specific bits of information, there is full redundancy. The capacity of a RAID 5 array is equal to the sum of the capacities of all the drives used, minus one drive. So, using three of the 160GB Seagate drives, the total capacity is 320GB when configured in RAID 5.
JBOD is another non-redundant configuration, which does not really offer a true RAID array. JBOD stands for Just a Bunch Of Disks (or Drives), and that is basically all that it is. RAID controllers that support JBOD allow users to ignore the RAID functions available and simply attach drives as they would to a standard drive controller. No redundancy, no performance boost, just additional connections for adding more drives to a system. A smart thing that JBOD does is that it can treat the odd sized drives as if they are a single volume (thus a 10GB drive and a 30GB would be seen as a single 40GB drive), so it is good to use if you have a bunch of odd sized drives sitting around ? but otherwise it is better to go with a RAID 0, 1 or 0+1 configuration to get the performance boost, redundancy or both.
Final Words
Implementing RAID may sound daunting to those unfamiliar with the concept, but with some of the more basic configurations it is not much more involved than setting up a computer to use a standard drive controller. But, the benefits of RAID over a single drive system far outweigh the extra consideration required during installation. Losing data once due to hard drive failure may be all that is required to convince anyone that RAID is right for them, but why wait until that happens.
![]() Google News Updated : Sat, 05 Jul 2008 00:54:08 GMT Botswana urges region not to recognize Mugabe's re-election - Xinhua
Xinhua - JOHANNESBURG, July 4 (Xinhua) -- Botswana's government urged its neighbors Friday not to recognize Robert Mugabe's re-election, reiterating calls for Zimbabwe to be suspended from a regional bloc. African Union Weakened by Summit Inaction on Zimbabwe West condemns Mugabe, ignores other Africa despots Publ.Date : Fri, 04 Jul 2008 22:05:14 GMT Reaction to the death of Jesse Helms - The Associated Press
The Associated Press - Reaction to the death of former North Carolina Sen. Jesse Helms, who died on the Fourth of July at age 86: "Jesse Helms was a kind, decent, and humble man and a passionate defender of what he called "the Miracle of America. Video: A Look Back At Jesse Helms Former Senator Jesse Helms dead at 86 Publ.Date : Fri, 04 Jul 2008 22:51:11 GMT Federer One Away From Another Wimbledon Title - New York Times New York Times - By CHRISTOPHER CLAREY For the third straight year, the men’s final will be between Roger Federer and Rafael Nadal. And the women’s final will be the latest family affair between Venus Williams and her sister Serena. Federer, Nadal to meet for Wimbledon men's title Federer aims to keep winning in Nadal battle Publ.Date : Fri, 04 Jul 2008 19:30:13 GMT On Independence Day, Think Fireworks Safety First - Washington Post
Washington Post - By Dennis Thompson FRIDAY, July 4 (HealthDay News) -- Fireworks can be breathtaking spectacles, creating glittering showers of sparks and earth-rumbling booms that thrill people for miles around. 2006: 11 dead, 9200 fireworks injuries Burned by fireworks? Here's what to do Publ.Date : Fri, 04 Jul 2008 23:19:24 GMT 'Gonzo' diverting rehash of what a long, strange trip it's been - San Jose Mercury News San Jose Mercury News - By Glenn Whipp With two volumes of letters, a handful of biographies, three previous documentary movies, two feature films and a comic strip character, not to mention a writing career spent mostly in the first person, is there anything that hasn't been ... The perfect subject for 'Gonzo' Gonzo: The Life and Work of Dr. Hunter S. Thompson Publ.Date : Fri, 04 Jul 2008 18:10:38 GMT O's bats get revenge vs. Rangers - MLB.com
MLB.com - By Spencer Fordin / MLB.com BALTIMORE -- Call it a down payment towards payback. The Orioles earned a small measure of revenge against the Rangers on Friday, courtesy of an 10-4 victory that was all but decided by the fourth inning. O's pound Rangers Orioles score 8 off Padilla, beat Rangers 10-4 Publ.Date : Fri, 04 Jul 2008 23:43:39 GMT RPT-China, Taiwan airlines to see lift from new flights - Reuters
Reuters - By Joseph Chaney TAIPEI, June 29 (Reuters) - Direct weekend flights between China and Taiwan starting this week are likely to give a boost to carriers on both sides of the Taiwan Strait at the expense of Hong Kong, but probably not until all ... China resumes direct flights to Taiwan after 60 years China-Taiwan direct: Readers react Publ.Date : Fri, 04 Jul 2008 16:46:40 GMT Increase Web Traffic |
PARLOT::Ebooks, Scripts,
Websites, and more... Laser toner is the ink for laser printers. It is... Read More IBM boasts a very large array of older and newer... Read More EEPROM stands for Electrical Erasable Programmable Read Only Memory and... Read More Junk faxes waste the resources of every business. It is... Read More The importance of a bar code reader in this day... Read More Hewlett-Packard is, along with Brother and Samsung, one of the... Read More Get ready everyone, home computers are about to set new... Read More We live in an area that has begun to... Read More With the dropping prices on digital cameras and digital media... Read More Cleaning a laser printer, fax, or copier of laser toner... Read More This is the first step to servicing, upgrading or removing... Read More If, for some reason, you can't get an exact replacement... Read More Who needs an LCD display? Well, if you're like me,... Read More Thinking about a mini DVD camcorder? You're not alone, it's... Read More So you know a little bit about tape backup, but... Read More Switch mode power supply contain some large filter capacitors that... Read More Much has been written about solid state disks (SSDs) becoming... Read More The following is a list of tips to help safeguard... Read More You just poured hours upon hours into a lengthy research... Read More With all the technical terms out there, it is becoming... Read More Laptop computers have found usefulness as portable media devices.Even refurbished... Read More Most people understand preventive maintenance like changing the oil in... Read More To upgrade or not? That is the question. At least,... Read More In the first two installments of this series of Tech... Read More This is the first article in the Understanding Your Computer... Read More
Adsense
websites
A Look at Laser Toners
A Guide to Refurbished IBM Laptops
What is EEPROM ?
How To Stop Junk Faxes From Wasting Your Paper and Toner
Choosing The Right Bar Code Reader
A Review of HP Laser Toners
Obsolete Is A Dirty Word (Intel Pentium 64 Bit Microchip)
The Road Ahead
Digital Cameras, Media, and Card Readers
7 Steps to Cleaning the Laser Toner From Your Laser Printer
How to Get the Case Off Your PC!
Understanding Transistor Data and Replacement
Whats In An LCD Display?
Expert Guide to DVD Camcorders
Setting up a Tape Backup Strategy for your Business
The Right Way To Discharge Capacitor In Switch Mode Power Supplies
War of the Disks: A Close-in Analysis of the Hard Disk Drive vs. the Solid State Disk
Ten Tips to Safeguard Your Laptops
Printers: What Really Happens When You Hit ?Print?
Inkjet Jargon Explained
Refurbished Laptops are the Real Deal!
You Can Prevent Computer Slowdowns & Issues
To Upgrade or Not?
Expansion Cards Part 3: PCI Express
RAM - What is It & Why You Need Plenty
Laptops or Notebook computers are an expensive personal and business... Read More
So you need to check your IP address, for whatever... Read More
Forget about emptying your wallets every time you see the... Read More
You just poured hours upon hours into a lengthy research... Read More
Are you getting tired of the high cost of printing?... Read More
Do You Feel Used by Computers?A look at second-user computer... Read More
Many people simply go to the retail store and get... Read More
Have you noticed that laptop computers are beginning to dictate... Read More
Video technology has increased significantly over the past years, and... Read More
One of the bigger challenges facing display manufacturers is to... Read More
If you are tight on budget, go for Inkjet Printer.... Read More
Let's take a moment to think about the topic of... Read More
Data Centers are the core of the Internet. The computer... Read More
We have finally advanced to a time when technology can... Read More
There are many different names for these drives, just so... Read More
This is the step takes the most time and consideration.... Read More
Today, small form factor computers demolish the myth that bigger... Read More
Thinking about a mini DVD camcorder? You're not alone, it's... Read More
Data loss is an expensive reality. It's a hard fact... Read More
Our corporate intranet is a non-framed environment with both Lotus... Read More
What to do once your PC is infected with spyware,... Read More
The importance of a bar code reader in this day... Read More
DVD is an optical disc storage media format that can... Read More
When Quality is the Target, but not the Result, what... Read More
ROUTING PROTOCOLSA generic term that refers to a formula, or... Read More
Computer Hardware |