GCN LAB REVIEWS
A breakdown on common RAID configurations
What’s a RAID?
- By Greg Crowe
- Aug 31, 2009
A Redundant Array of Independent Disks is a way to make a computer treat a number of physically distinct drives as one big drive. There are several different RAID configurations, each with advantages and disadvantages. The most common types of RAID are 0, 1, and 5. Here are the configurations mentioned in this review.
In this GCN Lab comparison report:
NAS appliances cover the middle ground of extra storage
What Is A RAID?
Buffalo TeraStation III
LaCie 5big Network
Sans Digital EliteNAS
Seagate BlackArmor NAS 440
Gaining Virtual V-locity
JBOD span: Not usually considered a RAID configuration, JBOD stands for “just a bunch of disks” and is exactly that. In this mode, disks of equal or varying sizes are linked and treated as one big, single drive. This configuration has the advantage of being able to use drives of different sizes and utilizing nearly all their combined capacity. However, a JBOD span has no fault tolerance — if one drive fails the whole thing fails — which is why it isn’t used often.
RAID 0: This configuration uses striping, which is one of two basic RAID techniques. Each disk's space is split into stripes of a certain length, which can vary based on different RAID management programs but is always the same within a single RAID. The software then writes to each stripe before moving onto a stripe in the same position on the next drive. So the first stripe on disk one would be followed by the first stripe on disk two, and so on. This configuration allows you to use all the drives' capacity. But with RAID 0, if a single drive fails, the entire RAID fails, and you will likely lose all your data. It does offer better disk access times than JBOD.
RAID 1: This RAID uses the other basic technique, called mirroring. The disks are paired, and the second disk in each pair is an exact copy of the first. Each pair is treated as a separate drive. This has maximum redundancy, as both drives in a pair would need to fail for that logical drive to fail. Also, RAID 1 tends to have faster access times than other configurations. However, the capacity is half that of RAID 0.
RAID 1+0 (or 10): This approach combines the techniques of RAIDs 0 and 1. Each pair of drives is mirrored, and each mirrored pair is striped so that the RAID is treated as one drive. This is just as secure as RAID 1 but has half the capacity. The difference is that each pair is not treated as a separate drive but one contiguous one.
RAID 5: This more secure RAID uses striping but does something different with the stripes. For each set of stripes — such as the first stripe of every disk in the RAID — one of the disk's stripes contains parity data corresponding to the data on the other disks. The disk that has the parity information alternates with each set of stripes. The advantage is that if one disk fails, the RAID continues to function, and the failed drive can be rebuilt onto a replacement from the information on the other disks. Still, RAID 5 isn't 100 percent bulletproof in protecting data, only the mirroring of RAID 1 can offer that. But RAID 5 is highly reliable. The advantage it has over RAID 1 is increased capacity. With only one disk in the array being used for storing parity, the capacity of a four-disk array would be the total size of the remaining three disks.
RAID 6: More secure than RAID 5 at the cost of some drive space, RAID 6 uses two drives for the parity of each stripe. The two drives used for parity alternate with each stripe. For instance, if drives 3 and 4 in a four-disk array have the parity for the first stripe, then drives 2 and 3 might have it for the next stripe, and so on. This has the increased advantage that data would remain intact even if two drives fail. Of course, this means that there is one less drive’s worth of storage capacity, as the equivalent of two of the drives are used for parity. It’s often only available on high-end RAID configurations.
Greg Crowe is a former GCN staff writer who covered mobile technology.