![]() | |
![]() | |
![]() |
Hardware Information |
|
![]() |
Basics of RAID
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.
MORE RESOURCES: Nvidia confirms it is investigating RTX 50-series BSOD and black screen troubles, no timeline for a fix Tom's Hardware Forestport’s hardware store under new ownership Rome Sentinel 6 ways PC hardware has unfortuinately lost its charm XDA Developers Hardware Wildlife Education Center Utah Division of Wildlife Resources Ray tracing is quickly becoming inescapable and I think it's time we bit the bullet and embraced it PC Gamer Nvidia explains the missing ROPs — defective silicon in 0.5% of RTX 5090 and 5070 Ti GPUs Tom's Hardware Chinese chipmaker unveils Optane-like storage class memory Tom's Hardware Enermax Revolution D.F. 12 750W ATX 3.1 power supply review Tom's Hardware Leaker claims Ryzen 9 9950X3D embargo lifts on March 11 Tom's Hardware Luminkey Magger 68 HE Review: Small and speedy Tom's Hardware Polestar 3 benefits from software and hardware updates Motor Authority Circana: US hardware revenue down 45% in January, with overall game spending down 15% to $4.51 billion Game World Observer The Best CPU for Gaming in 2025 Tom's Hardware Microsoft CEO says there is an 'overbuild' of AI systems, dismisses AGI milestones as show of progress Tom's Hardware Chinese chipmaker claims new Loongson 3B6600 CPU could hit 13th-Gen Intel performance Tom's Hardware Trump to introduce 25% and 'higher' tariff on imported semiconductors, timing unclear Tom's Hardware Best Raspberry Pi Projects: February 2025 Tom's Hardware Loggins Hardware celebrates 50-year milestone in business Highlands Star Crosby Courier U.S. software/hardware charts for Jan. 2025 GoNintendo Retailer held RTX 5080 ransom unless buyer paid more after the sale had been completed Tom's Hardware Intel principal engineer bemoans potential TSMC takeover, touts company's 18A tech advantage Tom's Hardware Intel 8th, 9th and 10th Gen processors absent from Microsoft's Windows 11 24H2 CPU support list for new OEM systems Tom's Hardware Elon Musk's Grok 3 is now available, beats ChatGPT in some benchmarks — LLM took 10x more compute to train versus Grok 2 Tom's Hardware Quincy takes large team to Mat Classic, hopes for hardware Columbia Basin Herald Dual Raspberry Pi Picos power this portable mini PC Tom's Hardware Lady Wolves bring back hardware and Alex Wahl is State champion Cut Bank Pioneer Press Chinese-made gaming GPUs get up to 120% FPS boost — new drivers and stability fixes for MTT S80 and S70 cards Tom's Hardware Kioxia's new 10th gen 332-layer 4.8 GB/s 3D NAND flash is 33% faster than its 8th gen ICs Tom's Hardware Residents flock to hardware stores ahead of winter storm for snow salt, shovels CBS 6 News Richmond WTVR Some RTX 5090s are shipping with missing ROP units, leading to less gaming performance: Updated Tom's Hardware Glasgow High School Wrestling Brings Home Hardware Glasgow Courier Wildcats clinch Capitol South hardware Monroe Times AMD's game-changing Strix Halo APU, formally known as the Ryzen AI Max+, poses for new die shots and gets annotated Tom's Hardware The Surface you know and love (or hate) is dead — Microsoft's Windows hardware enters a new era Windows Central Apple picks up pace in replacing hardware with in-house solutions: Kuo (AAPL:NASDAQ) - Seeking Alpha Musk announces Grok 3-powered xAI gaming studio to develop 'AI games' with photo-realistic graphics Tom's Hardware Montech Titan Gold 1200W ATX 3.0 power supply review Tom's Hardware PV Hardware solar trackers and foundations now 100% U.S. made pv magazine USA Asus continues fragrant device trend with an aromatic mouse Tom's Hardware Is Richelieu Hardware (TSE:RCH) Using Too Much Debt? Simply Wall St 12VHPWR adapters sporting heatsinks and thermal pads show how problematic the connector is Tom's Hardware RTX 5090 supplies to be 'stupidly high' next month as GB200 wafers get repurposed, asserts leaker Tom's Hardware In-Depth Analysis: Apple Versus Competitors In Technology Hardware, Storage & Peripherals Industry Nasdaq RTX 5070 Ti restocks expected within 2-6 weeks, says UK retailer — All sold out on launch day Tom's Hardware |
![]() |
![]() |
![]() |
RELATED ARTICLES
The Printer Cartridge Wars: Generic or Remanufactured Cartridges Right for You? OverviewAs "generic", "remanufactured", and "new compatible" inkjet printer cartridges and laser toner cartridges creep deeper into the printer accessories market, the choices become varied and often confusing. It is estimated that by the year 2004 the aftermarket share of the inkjet and toner cartridge market will exceed 11% of the estimated 12 billion dollar printer accessory market [source: CART magazine, March 2001] Here's a look at what all these terms mean, and an examination of the upside and downside of using non-"brand name" printer cartridge products in your printer. Using System Restore to Save Yourself from Formatting Your Hard Drive It is the most annoying thing when one day you use your computer and nothing seems to work fine. Program freezes, files get corrupted or internet doesn't work. DVD ROMs DVD CD ROMs have become predominantly the most used CD drive for desktop and notebook computers. They are very reliable and now come as a standard in most computers. Laptop Computers and the PVP Effect! Roll over lumbering desktop computers, the limber laptop is here, and it's here to stay! For a while now notebooks have outstripped their ageing desktop PC siblings, easily winning the gold medal in the computer sales olympics. We will illustrate how the PVP effect has contributed greatly to the increase in popularity of notebook computers. Toner Cartridges - How They Work In the past computers and their accompanying printers were huge. Toner reservoirs and toner cartridges were used instead of ink cartridges like the ones in use today. What is EEPROM ? EEPROM stands for Electrical Erasable Programmable Read Only Memory and also referred to as EPROM. As the name suggest, an EEPROM can be both erased and programmed with electrical pulses. Build Your First Computer from Hardware Scratches Wow- if you do it first time and have some asset of time in your disposition - then go ahead and purchase motherboard, your favorite processor, memory, video card (probably it is better to purchase it external for advanced quality). You will also need computer case - first computer should probably go to the cheap one - with USB 2 ports from the front side - the only question - you might want to replace noisy cheap power supply with $50 dollars one. Would You Like An Extended Warranty With That? Should you buy an extended warranty with your laptop? You may not want to think about it now, but sooner or later, something is going to break down on your laptop. When it happens, the big question will be who gets stuck with the bill, you or the manufacturer. Testing Flyback Transformer - How to Test and When to Replace It Nowadays, more and more monitor comes in with flyback transformers problems. Testing flyback transformers arenot difficult if you carefully follow the instruction. Laptop Notebook - Inexpensive Business Laptops Laptop Notebook - Your Portable OfficeIn much of today's business world, portability and mobility are the keys to success. Having a laptop notebook computer provides business men and women with portable computing capability, and these notebooks help them take their mobile business functionality to a new level. How to Choose a New Hard Drive for Your Computer If you are running out of space on your computer or find that programs load a little slow, or that big files take a long time to open, it may be time for a new hard drive.Making a more careful decision about the hard drive can mean a much longer working life for the hard drive. How To Choose a Computer Mouse Computer MiceEvery computer user can hopefully identify their mouse and the importance it plays in the daily operation of their computer. Mice are nothing new and for the most part are nothing overly complex, but the average user may not be familiar with all of the options and technologies that may go into these little devices. Printer Cartridges - Step Back in History You are working and trying to print out important documents when you discover that you are out of ink. This would have been a big drawback in the past. ATA vs SATA Hard Drives: ATA versus SATAThe performance of computer systems has been steadily increasing as faster processors, memory, and video cards are continuously being developed. The one key component that is often neglected when looking at improving the performance of a computer system is the hard drive. How to Check Your IP So you need to check your IP address, for whatever reason. Maybe you're playing an online game with a friend, or you need to access your PC remotely. How To Troubleshoot DVD Drives Fast You really enjoy those dvd movies and games and the last thing you need or want is to experience problems with your dvd drive.To prepare for the possibility of having your dvd drive leaving you out in the cold one morning,we will dicuss problems that may cause dvd failure as well as the procedures you should take to correct these problems. What You Should Know Before You Buy Computer Equipment You will have many factors to consider when deciding on which computer equipment to buy. The bewildering amount of choices can seem overwhelming. A Review of HP Laser Toners Hewlett-Packard is, along with Brother and Samsung, one of the most readily available brands of laser toner. This is due, in part, to the fact that HP was first to release a laser toner inexpensive enough to catch the attention of the average consumer, in 1984. Laptop Computers Instigate Classroom Revolution! Have you noticed that laptop computers are beginning to dictate what happens in the classroom? Additionally, mobile technology is changing where learning takes place. This is especially true as laptops are entering the educational arena in ever increasing numbers. RFID for Beginners RFID technology is used frequently today and has been around since the 1920s, but not many people know about, or understand it. RFID stands for Radio Frequency Identification and is used to store and retrieve information. ![]() |
home | site map |
© 2006 |