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 (18th Edition)
Upgrading and Repairing PCs (18th Edition), by Scott Mueller (Que), starting at $19.06
Home » Storage
How to Setup a RAID System
Author: Gabriel Torres
Type: Tutorials Last Updated: October 23, 2006
Page: 1 of 8
$ Check REAL-TIME pricing for Barracuda 7200.12 Hard Drive 500GB 7200RPM $.
Newegg: $54.99 Amazon: $54.99
Buy.com: $58.84 CompUSA: $59.99

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).

On 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.

On 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 (0)

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.
    Barracuda 1.5TB 160GB Drive -Bare ST31500341ASBarracuda 1.5TB 160GB Drive -Bare ST31500341AS


    Newegg: $38.99

    RSSLatest News
    AMD/ATI Launches Radeon HD 5570
    February 9, 2010 - 10:38 AM PST
    Samsung Announces Hard Disk with Michael Jackson's THIS IS IT
    February 8, 2010 - 11:19 AM PST
    New Toughpower XT PSUs from Thermaltake
    February 5, 2010 - 11:41 AM PST
    MSI Launches R5770 Hawk Video Card
    February 5, 2010 - 11:32 AM PST
    NZXT Unveils Line of Premium Cables and Case Fans
    February 5, 2010 - 11:24 AM PST
    AMD/ATI Launches Radeon HD 5450
    February 4, 2010 - 11:44 AM PST
    Patriot Debuts Sector 5 Memory Kit
    February 3, 2010 - 7:41 AM PST
    Samsung Intros 1.5 TB/2 TB EcoGreen F3EG Hard Disks
    February 3, 2010 - 7:38 AM PST
    Acer Launches Full HD 3D LCD Monitor
    February 3, 2010 - 7:32 AM PST
    New Strider Essential PSUs from SilverStone
    February 1, 2010 - 9:17 AM PST
    .:: More News ::.

    RSSLatest Content
    Athlon II X4 635 and Phenom II X2 555 CPU Review
    Thermaltake SpinQ VT CPU Cooler Review
    All Atom Models
    Motorola Droid Cell Phone Review
    Cooler Master GX 750 W Power Supply Review
    MSI P55-GD85 Motherboard
    ASRock H55DE3 Motherboard
    ECS H55H-CM Motherboard
    NZXT Hades Case Review
    Is It Time to Move to Solid-State Storage?
    EVGA H55 Motherboard
    SilverStone Strider Plus 750 W Power Supply Review
    Anatomy of SSD Units
    Mushkin Volta 600 W Power Supply Review
    Power Supplies Re-Tested - Part 4

    Our Most Popular Articles
    Maximum CPU Temperature
    1,128,102 views
    How to Find Out Your Motherboard Manufacturer and Model
    781,404 views
    nVidia Chips Comparison Table
    723,630 views
    Connecting Two PCs Using a USB-USB Cable
    646,707 views
    How To Correctly Apply Thermal Grease
    603,969 views
    AMD ATI Chips Comparison Table
    591,752 views
    ATI Radeon X1300 Pro Review
    500,704 views
    ATI Radeon X1600 XT Review
    489,092 views
    How To Perform a BIOS Upgrade
    427,448 views
    Understanding RAM Timings
    364,125 views

    Latest Threads in Our Forums
    AMD/ATI Launches Radeon HD 5570
    by Hardware Secrets Team
    Thermaltake TR2 RX 750 W Power Supply Review
    by Silentbob
    How fast is fast? How much heat is too much??
    by Ios_Angel
    DVD-ROM problems (Pioneer DVD-115HA)
    by Ios_Angel
    Partitioning a Reformatted HD
    by Merman
    AMD Phenom II X4 925 on my AM2 board
    by tomahawk 1705
    Athlon II X4 635 and Phenom II X2 555 CPU Review
    by Hardware Secrets Team
    Working on Frankenstein
    by nicolatesla
    Thermaltake SpinQ VT CPU Cooler Review
    by Olle P
    Samsung Announces Hard Disk with Michael Jackson's THIS IS IT
    by Hardware Secrets Team
    .:: 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)