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 Book
Upgrading and Repairing PCs (18th Edition)
Upgrading and Repairing PCs (18th Edition)
By Scott Mueller
Que
Price: $33.75

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 Western Digital Caviar Green WD20EADS 2TB 32MB Cache SATA 3.0Gb/s 3.5" Internal Hard Drive - OEM $
Newegg: $239.99 TheNerds: $257.99
Amazon: $239.99 MWave: $245.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 7200.11 1.5TB 15TB 1500 SATA 32MB CacheSeagate Barracuda 1.5TB Hard Drive ST31500341AS - 7200RPM 32MB Cache SATA-3G


    TigerDirect USA: $129.99 Newegg: $119.99
    Directron: $125.99 Dell Home: $139.99

    RSSLatest News
    Thermaltake Launches PW880i Water Cooler
    July 3, 2009 - 1:27 PM PST
    NZXT Announces Sentry 2 Touchscreen Fan Controller
    July 2, 2009 - 2:25 PM PST
    Transcend Intros Thermal Sensor-Equipped DDR3 Memory
    July 1, 2009 - 11:40 AM PST
    Cooler Master Launches Universal Laptop Charger
    June 30, 2009 - 5:03 PM PST
    Active Media Products Launches “President Barack Obama” USB Flash Memory
    June 29, 2009 - 6:57 PM PST
    New SSD Drives from Corsair
    June 26, 2009 - 4:33 AM PST
    MSI Announces X-Slim X600 Notebook
    June 25, 2009 - 6:00 PM PST
    Zotac Releases GeForce GTX 275 with 1,792 MB GDDR3
    June 24, 2009 - 7:54 AM PST
    Kingston Launches DDR3-1600 HyperX T1 Memory Kit
    June 23, 2009 - 11:20 AM PST
    Walton Chaintech Announces eSATA/USB Flash Memory Series
    June 22, 2009 - 2:00 AM PST
    .:: More News ::.

    RSSLatest Content
    Power Supplies Re-Tested - Part 3
    Thermaltake Element G Case Review
    Corsair CX400W Power Supply Review
    Seventeam ST-750P-AF Power Supply Review
    Rocketfish 550 W Power Supply Review
    In Win X-Fighter Case Review
    Gigabyte G31M-ES2C Motherboard
    BFG ES-800 Power Supply Review
    And The Training Goes On...
    2 TB Hard Disk Drive Battle: Seagate Barracuda LP vs. Western Digital Caviar Green
    Power Supplies Re-Tested - Part 2
    Power Supplies Re-Tested - Part 1
    Hardware Secrets Power Supply Test Methodology
    What WePC Dreams Are Becoming Reality?
    All Phenom Models

    Our Most Popular Articles
    Maximum CPU Temperature
    988,811 views
    nVidia Chips Comparison Table
    617,315 views
    How to Find Out Your Motherboard Manufacturer and Model
    596,324 views
    AMD ATI Chips Comparison Table
    517,892 views
    Connecting Two PCs Using a USB-USB Cable
    512,942 views
    How To Correctly Apply Thermal Grease
    495,964 views
    ATI Radeon X1300 Pro Review
    467,245 views
    ATI Radeon X1600 XT Review
    458,242 views
    How To Perform a BIOS Upgrade
    343,229 views
    Sempron vs. Athlon XP
    320,168 views

    Latest Threads in Our Forums
    How to Create a Three-Speed Fan Control Without Spending a Dime
    by Olle P
    Thermaltake Launches PW880i Water Cooler
    by Olle P
    Wireless Router
    by Osirus
    PC versus dedicated NAS for network storage?
    by Osirus
    Latency
    by Osirus
    My wireless keeps dropping
    by Osirus
    Seventeam ST-750P-AF Power Supply Review
    by Olle P
    Area 51m 9750 temp assistence
    by tomahawk 1705
    Hardware Secrets Power Supply Test Methodology
    by jolphil
    Fujifilm FinePix A150
    by Hardware Secrets Team
    .:: Visit Our Forums ::.


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