Hardware Secrets
Home | Camera | Case | CE | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
Gabriel's Blog
News
Reviews
Tutorials
Main Menu
About Us
Awarded Products
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Twitter
Newsletter
Subscribe today!
Search




Recommended
Upgrading and Repairing PCs (19th Edition)
Upgrading and Repairing PCs (19th Edition), by Scott Mueller (Que), starting at $26.64
Home » Storage
How to Setup a RAID System
Author: Gabriel Torres
Type: Tutorials Last Updated: October 23, 2006
Page: 1 of 8
Real-time pricing for Seagate ST305004FDA2E1-RK.
Seagate FreeAgent Desk 500 GB USB 2.0 Desktop External Hard Drive Silver Electronics ST305004FDA2E1-RK F
Amazon: $69.99 Newegg: $79.99
Buy.com: $91.24 Wal-Mart: $78.82

Introduction

RAID stands for Redundant Array of Independent Disks and with at least two hard disk drives you can setup them as a RAID array in order to increase the disk performance or to improve data reliability. In this tutorial we will teach you how to setup a RAID system on your PC.

As mentioned, there are two ideas behind RAID: performance (a.k.a. RAID0) and reliability (a.k.a. RAID1).

RAID0, also known as data striping, is set when you want to improve your disk performance. It works by dividing the files to be written on disk into several chunks (called stripes) and saving each chunk on a different drive. For example, if you have a 200 KB file and two hard disk drives, it will be cut into two 100 KB chunks and each chunk will be saved on a different hard disk drive.

This is a very summarized explanation; in reality each stripe must be a power of two and is configured when you setup the RAID system. If your RAID system uses 128 KB stripes, it would divide our 200 KB file into two 128 KB chunks (the rest of each stripe, 28 KB, would be left empty). If our system were using 32 KB stripes, our 200 KB file would be divided into eight 32 KB chunks, and the system would send four chunks to each hard disk drive.

But how this improves performance? In the example we gave, instead of storing one 200 KB file, each hard disk drive will store a 100 KB file. The time spent storing a 100 KB file is theoretically half the time spent storing a 200 KB file. Basically what we do on RAID0 is to put the hard disk drives to work in parallel.

The total disk capacity on a RAID0 system is the sum of the total capacity of the two hard disk drives. So if we use two 80 GB hard disk drives, our disk system will have 160 GB capacity. You can even create “partitions” on your RAID system, so you can have more than one “disk” on your system.

So if you want to build a high-performance system, consider buying two disk drives with smaller capacity and configuring them as a RAID0 system instead of buying one high-capacity hard disk drive.

If you are thinking of having two drives just to separate data (e.g., one drive for operating system and programs and the other for data like documents), go ahead and assemble a RAID system, as, like we mentioned, you can create “partitions” on your RAID system (keep in mind, however, that you cannot remove one of the drives and install it on another computer expecting to read its contents like you would do normally – it won’t work).

In Figure 1 we summarized how RAID0 works.

RAID0
click to enlarge
Figure 1: How RAID0 (data striping) works.

RAID1, on the other hand, does not improve performance, but is targeted to improve the data reliability of your PC. It works by copying everything that is sent to the first hard disk drive to the second, and that is why it is also known as mirroring. Consider RAID1 as a hardware-based backup system. If the first hard disk drive fails, the second one takes its place immediately.

Since the second disk drive is a backup disk, the total disk capacity on a RAID1 system is the capacity of the first disk drive only. So if you have two 80 GB hard disk drives configured as RAID1, the total disk capacity will be 80 GB.

If you are concerned with data reliability, RAID1 is the way to go.

In Figure 2 we summarized how RAID1 works.

RAID1
click to enlarge
Figure 2: How RAID1 (data mirroring) works.

There are other RAID configurations as well, but not all RAID controllers support them (all controllers support at least RAID0 and RAID1). Here is a small summary of other common RAID systems your RAID controller may support:

  • RAID0+1: It is a system using RAID0 and RAID1 at the same time. It needs four identical hard disk drives. If one of the hard disk drive fails, the system becomes a RAID0 system (data striping).
  • RAID10: It is a system using RAID0 and RAID1 at the same time. It needs four identical hard disk drives. If one of the hard disk drive fails, the system becomes a RAID1 system (mirroring).
  • RAID5: It is a RAID0 system storing parity information for better reliability. It needs at least three identical hard disk drives. On a three-drive system the total capacity will be the size of each hard disk drive times two (and not three) – for example, if three 80 GB drives are used, the total disk capacity will be of 160 GB, as the rest of disk space is used to store parity information.
  • JBOD: Stands for “Just a Bunch of Disks” and isn’t a RAID system, as it doesn’t improve disk performance or disk reliability. It is used to join two drives with different capacities as if they were a single drive. For example, you can use JBOD to add a 40 GB hard disk drive to an 80 GB hard disk drive to appear as a single 120 GB to the system.
Pages (8): [1] 2 3 4 5 6 7 8 »
Print Version | Send to Friend | | Bookmark Article | Comments (6)

Related Content
  • RAID6 Advantages Over RAID0 and RAID5
  • Does RAID0 Really Increase Disk Performance?
  • HighPoint RocketRAID 2302 RAID Controller Review
  • Western Digital VelociRaptor WD3000GLFS Hard Disk Drive Review
  • Thecus N5200 NAS Review

  • Recommended Deal.
    Seagate ST31500341ASSeagate ST31500341AS

    Seagate Barracuda 7200.11 1.5TB 1500GB SATA-300 32MB Cache 3.5-inch Hard Drive Mfr P/N ST31500341AS 7200RPM Storage Devices Drive/Flash Drives 3.5

    Memory4Less: $206.96 MicroParts USA: $92.00
    PCNation: $107.79 CDW: $84.99

    RSSLatest News
    Super Talent Intros USB Memories with 32 MB of Cache
    September 8, 2010 - 10:59 AM PST
    Cooler Master Intros HAF 912 Mid-tower Case
    September 6, 2010 - 12:08 PM PST
    NVIDIA Announces New Mobile GPUs
    September 3, 2010 - 10:27 AM PST
    MSI Launches GeForce GTX 460 Hawk Video Card
    September 2, 2010 - 2:07 PM PST
    MSI Launches 870A Fuzion Power Edition Motherboard
    September 1, 2010 - 7:48 AM PST
    New DDR3-1333 Modules from A-Data
    August 31, 2010 - 7:38 AM PST
    AMD Says Goodbye to ATI Brand
    August 30, 2010 - 7:29 AM PST
    Thermaltake Intros Jing CPU Cooler
    August 27, 2010 - 7:41 AM PST
    Huntkey Announces 1,200 W Power Supply
    August 26, 2010 - 9:54 AM PST
    XFX Launches Radeon HD 5970 Black Edition
    August 25, 2010 - 12:52 PM PST
    .:: More News ::.

    RSSLatest Content
    PC Power & Cooling Silencer Mk II 650 W Power Supply Review
    Thermaltake Armor A60 Case Review
    Corsair AX850W Power Supply Review
    Inside the AMD Bulldozer Architecture
    ASRock 890GX Extreme4 Motherboard
    Seasonic X-400 Fanless Power Supply Review
    iMicro PS-IM400WH Power Supply Review
    NZXT HALE90-850-M Power Supply Review
    3R System Odyssey L-1000 Case Review
    Abbee Commercial-Free FM Radio Review
    ECS P55H-AK Motherboard
    Zalman CNPS10X Performa CPU Cooler Review
    Noctua NH-D14 CPU Cooler Review
    SilverStone Sugo SG07 Review
    ASRock P55 Extreme4 Motherboard

    Our Most Popular Articles
    Maximum CPU Temperature
    1,268,959 views
    How to Find Out Your Motherboard Manufacturer and Model
    975,576 views
    NVIDIA Chips Comparison Table
    828,725 views
    Connecting Two PCs Using a USB-USB Cable
    781,470 views
    How To Correctly Apply Thermal Grease
    724,582 views
    AMD ATI Chips Comparison Table
    677,811 views
    ATI Radeon X1300 Pro Review
    532,109 views
    ATI Radeon X1600 XT Review
    518,272 views
    How To Perform a BIOS Upgrade
    499,286 views
    Understanding RAM Timings
    444,498 views

    Latest Threads in Our Forums
    PC for Scientific applications/programming (and cheap)
    by serigado
    PC for Scientific applications/programming (and cheap)
    by serigado
    Logitech g9
    by brankomaster
    Super Talent Intros USB Memories with 32 MB of Cache
    by Hardware Secrets Team
    Fan speed?
    by Olle P
    PC Power & Cooling Silencer Mk II 650 W Power Supply Review
    by Olle P
    How to fix corrupt AVI file
    by hitech
    about anti-virus?
    by hitech
    Website blocking programs
    by hitech
    Registry edit
    by hitech
    .:: Visit Our Forums ::.


    © 2004-10, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)