RAID—redundant array of inexpensive disks—is one way of either getting more capacity or more data security out of your storage system. If you’re willing to commit enough disks, you can get both speed and performance improvements. Today, though, we’re going to show you how to set up a simple RAID setup. The only choice offered will be either RAID 0 (technically not RAID, but we’ll get to that shortly) or RAID 1.
We’ll take a look at the RAID controllers built onto motherboards, and delve briefly into Microsoft’s software RAID. Finally, we’ll show you how to set up the most recent use of Intel’s RAID controller, which enables SSDs to act as big hard drive caches—provided you have a Z68 chipset and Sandy Bridge CPU.
In general, motherboard RAID controllers come in two flavors: integrated into the chipset and third party controller chips. Both of these can be set up through either EFI BIOSes or BIOS setup programs. These support soft RAID – while the controller has some smarts, much of the computation load for managing the RAID arrays is in the driver. A few, very expensive motherboards designed for workstation class systems may have fully accelerated RAID controllers that offload RAID compute chores from the CPU. For most home users, standard motherboard RAID is reliable, and if you’re not frequently rebuilding the RAID array, then you won’t notice the minor CPU usage.
First, let’s talk about RAID 0. Technically, it’s not really RAID, since RAID 0 isn’t redundant. Instead, two drives are striped together so that reads and writes happen alternately. Both read and write performance is theoretically doubled over a single drive, but overhead does bring it down to a little under 2x speed.
Unless you absolutely, positively must have the fastest possible reads and writes, you should avoid RAID 0. If a RAID 0 array crashes, all the data is lost. The exception is SSDs, which tend to be more reliable. But even SSDs have their own share of issues, mostly with firmware problems, so it’s still possible to lose a RAID 0 array even with SSDs. If your SSDs are running solidly, though, they’ll likely run well in RAID 0 mode, too.
RAID 1 duplicates data across two drives. So a pair of 2 TB drives creates a single, 2TB RAID 1 volume. Redundancy is the key advantage with RAID 1; if one drive fails, your data is fully available on the second, presumably good drive. You do gain a little read speed, but lose a little write speed, but the differences are fairly small. Note that RAID 1 is not a replacement for doing backups. You can still completely lose a RAID 1 array through external problems, like giant power surges frying your PC.
Also available with most motherboard RAID solutions are RAID 5 and RAID 10. RAID 5 requires a minimum of three drives. RAID 5 uses a parity stripe, which is a way of ensuring data integrity without completely duplicating all the data. It’s both redundant and striped, so data stored on a RAID 5 array is usually safe if one drive fails, but read times are substantially faster. However, because of the need to calculate and write the parity stripe, write times can be noticeably slower. RAID 10, sometimes called RAID 1 + 0, combines both RAID 1 and RAID 0 to give you both speed and redundancy – but you’d need four 1TB drives to create a single 2TB RAID 10 volume. RAID 10 takes a group of RAID 1 volumes and stripes the data across multiple drives. It’s expensive in terms of the number of drives you need, but does give you both data integrity and speed. Again, though, RAID 10 is not a replacement for a good backup strategy.
This is only a partial list of RAID modes, but these also cover the most commonly available modes built into motherboard RAID solutions.
There’s one other RAID “mode” we’ll discuss, but it’s not precisely RAID. The latest Intel Z68 motherboards from Intel support SSD caching through Intel’s Rapid Storage Technology. The SSD is used as a very large cache for the hard drive. The maximum size of the SSD is 64GB currently. Both drives must be in RAID mode to use this feature.
Now let’s walk through a quick setup guide. I’ll be setting up a RAID 1 array in one case, and in the second example, use an SSD as a hard drive cache using Intel’s Rapid Storage Technology features. I’ll be using Intel ICH10R RAID controllers. Marvell and other controllers are similar, but read the documentation – every manufacturer offers different user interfaces and jargon.
The software RAID built into Microsoft Windows since Windows XP works fairly well, but there are some caveats that prevent it from widespread use. (Note that XP can’t create mirrored or RAID 5 volumes, however.) What’s not an issue is performance, assuming you're using a current generation CPU. And it does have its place, such as systems with no built-in RAID controller.
One critical limitation is the need to convert the drives used in Windows RAID to dynamic disks. Once a drive is converted to a dynamic disk, you can’t make it a basic disk without completely wiping the volume – it’s a one-way street. In general, Windows RAID is useful when other RAID controllers aren’t available, but with the widespread availability of Intel and other third party RAID controllers, it’s generally better to use those.
Before you dive into BIOS setup, first take a close look at the drives you plan on using. There are a few rules of thumb to follow.
First, let’s look at setting up a RAID configuration on an Intel X58 motherboard. In this case, I’m setting up two SSDs as a RAID 0 striped array. Setting up RAID 1 is similar; you just need to choose the RAID 1 option in the BIOS, but bear in mind that the final capacity of the RAID 1 volume is the same as the smallest drive in a two-drive array.
First, set up the system BIOS to configure drives as RAID. Note that you can do this even if you don’t use RAID at all. That can be useful, as you’ll then have the RAID driver installed, and if you decide to use RAID at a later date, configuration headaches are minimized. Going from a system where drives are configured as IDE to RAID mode often results in blue-screen errors and may require a repair or complete reinstall of Windows.
Configure drives as RAID in the BIOS
If you have an EFI style BIOS, as is common in P67, H67, and Z68 motherboards, setup is similar, but the screen may look different.
Once that's done, reboot and then enter the Intel RAID configuration BIOS by hitting CTRL-I as the system is booting. You'll add the drives to the array by first marking them will the space bar, then selecting "Create RAID volume." In general, I leave the stripe settings at default. Don't forget to check to see that the drive is bootable, if you plan on making this your primary boot volume.
This is how it looks for any of the RAID modes—the "RAID level" setting will look different, though.
That's pretty much it. You'll reboot once more, and then you can start installing Windows. If this is a data drive, you'll boot into Windows, and then use the Windows disk management tools to configure partitions and format the volumes.
If you're using Marvell, here's a quick screen shot of what the Marvell BIOS setup looks like.
The steps to configure Marvell RAID arrays differ slightly; you have to add drives to a "virtual disk" first.
Configuring an SSD cache drive on a Z68 motherboard is a little different than configuring other Intel RAID volumes. While you do need to set up the drives in RAID mode as the first step, you don’t use the Intel ICH RAID BIOS to configure the cache. Instead, you install the Intel Rapid Storage Technology software in Windows, then use that to configure the cache drive.
If you reboot and check the Intel RAID BIOS, you'll see the cache drive configured—and you don't need to make any changes in the Intel RAID BIOS.
This is how the SSD cache and main drive looks to the Intel RAID BIOS.
In the past, I’ve configured secondary volumes as RAID 1 volumes using a pair of identical drives, but now I simply have two 2TB drives—one for data and the other for a nightly backup. Once a week, all my data gets backed up over the network to a home server.
If I were into heavy duty video editing, however, I’d probably set up an SSD RAID 0 array as my boot drive and for applications. I’d set up a second data drive using RAID 10. If I were a professional video guy, I’d probably have a dedicated RAID controller for those secondary RAID 10 volumes—and I’d likely have more than one. Video can eat up both storage capacity and bandwidth in a hurry.
For my uses, though, fast boot and app load times are my main consideration. I am a fairly heavy Photoshop user, but having 12GB of RAM mitigates the need for a fast secondary array.
In the end, it’s all about how you plan on using the system. What RAID level you use and the risk you take all depend on how you plan on using the drive. The RAID 0 array I've been using, which consists of a pair of Corsair 240GB SSDs, has been solid. Boot times are incredibly fast and application load times are minimal. Your needs and risk assessment, however, may be quite different.