Subscribe For Free Updates!

We'll not spam mate! We promise.

Tuesday, 7 July 2015

Widgets

What is a RAID setup? All you need to know about RAID setup and RAID types

Ah, storage. Every PC needs it it, but your standard PC storage solutions suffer from two glaring frustrations.
First off, storage performance tends to be one of the main bottlenecks in a typical PC, although the situation has vastly improved with the advent of solid state drives. (Yes, it’s probably your hard drive holding back your high-end PC from even greater glory.) Second, drive failure can lead to the loss of valuable data, and no one wants that.
Thankfully, there’s a way to help mitigate both of these problems using a feature that’s supported on virtually every modern computer system: RAID.

RAID was originally an acronym for Redundant Array of Inexpensive Disks, but that has since morphed into the more commonly accepted Redundant Array of Independent Disks. As its name implies, RAID is a way to pair multiple drives together to improve performance, redundancy, or both.
RAID used to require expensive hardware purchases and was sometimes difficult to configure. Now, though, all but the lowest-end desktop systems (and even some laptops) feature integrated drive controllers with RAID support built right in. Most operating systems—including Windows—also give users the ability to configure what’s known as software RAID. Expansion cards are available too, which can add RAID support to any system with an open PCI-E slot.
Setting up a RAID array is easy in most cases. Typically, the process requires little more than installing some drives, attaching them to a RAID or drive controller, and stepping through a simple wizard that’s either embedded in firmware or available within your operating system.

When to use RAID?

Budget permitting, there are many good reasons to use RAID.
Today’s hard disks and solid state drives are far more reliable than their predecessors, which make them perfect candidates for RAID. As we’ve mentioned, RAID can increase storage performance or offer some level of redundancy—both things most PC users want.

Common RAID modes

Choosing the right RAID mode is paramount. Over the years, many RAID modes, or levels, have been defined. On most of today’s desktop systems, however, only a handful of modes are typically supported. Here are the ones you'll see in the PC space.

RAID 0 - Striping 

RAID 0, or striping, distributes data among the drives used in the array. And because the workload is parallelized and spread across the drives, read and write throughput in many circumstances is improved. RAID 0 requires a minimum of two drives and the total capacity of the drives in the array are combined into a single volume, due to the way data is distributed.
Two 1TB drives paired together in a striped RAID 0 configuration, for example, will be recognized as a single, 2TB volume. RAID 0 does not mirror or store any parity data though, so the loss of a single drive will take down the entire array.
Configuring SSDs in RAID 0 can result in some truly jaw-dropping transfer speeds. More on that at the end.

RAID 1- Mirroring

RAID 1, or mirroring, also requires a minimum of two drives. But instead of striping data, the data stored on the drives in the array is duplicated across all the hard drives. RAID 1 offers a level of data redundancy, and the array can be rebuilt in the event of a drive failure without any loss of data.
Performance can also be improved somewhat, at least when using hard disk drives, since any drive in the array can be accessed to read data, and one drive may offer lower seek or rotational latency due to the position of its drive heads.
Write performance is usually lowered, however, because data is mirrored to all of the drives in the array. The total capacity of a RAID 1 volume will equal the capacity of a single drive on account of the redundancy: If two 1TB drives are used, the total capacity of the RAID 1 volume will still be 1TB.

RAID 5- Striping with Parity

RAID 5, which requires a minimum of three drives, improves performance by striping data like RAID 0, but it also offers a level of redundancy in RAID 1-like fashion by storing parity data across the drives in the array.
In a RAID 5 setup, a single drive in the array can fail without any loss of data, but performance will be degraded until the bad drive is replaced and the array rebuilt. Depending on the capacity of the drives used, rebuilding a RAID 5 array can take some time, so it’s usually recommended for smaller volumes.
Also note that the total capacity of a RAID 5 setup will be the sum of all of the capacities of the drives used in the array, minus the capacity of one. Three 1TB drives used in RAID 5, for example, will offer a total capacity of 2TB.

JBOD – Just a Bunch Of Disks

Technically, JBOD is not RAID, since it doesn’t offer any sort of redundancy, but it is a mode supported by most drive controllers. JBOD gives users the ability to link multiple drives together to create a single, larger-capacity volume. There is no performance improvement nor data protection though. JBOD is used to simply increase the capacity of a volume; when one drive in a JBOD array is filled, data spills over to the next drive, and so on.

RAID hardware considerations

The vast majority of motherboards sold today have built-in support for RAID. The drive controllers integrated into Intel’s and AMD’s chipsets offer RAID (as do most other lesser-known chipsets) and many motherboard manufacturers often integrate additional RAID controllers, from companies like Marvell, onto their boards as well. It’s common for on-board RAID controllers to support RAID 0, 1, 5, and JBOD, though some also support RAID 10. Keep in mind though, that even on the off chance your motherboard doesn’t have built-in RAID support, software RAID is still most likely possibly, provided the board has a couple of open SATA ports to connect additional drives.
Though the RAID controllers integrated into most motherboards should be adequate for the vast majority of users, higher-end add-in solutions are also available. Typically, inexpensive add-in boards (think under $150) feature the same basic standalone controllers found on many motherboards, but some higher-end offerings like those from Areca, LSI, or 3COM offer true hardware RAID, with dedicated storage processors and cache memory.

Well that's all one should commonly know about RAID and its types along with a slight insight of how you can get it to work. So the next time someone asks you what actually a RAID in computers is you know what to say and flaunt afterwards! In my next article I might tell you how to install a RAID setup in a simple manner.
So if you have any doubts regarding the article feel free to post a comment and if you have anything to add to this then don't hesitate in informing me.

Socializer Widget By Computers and More
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

2 comments:

  1. Vishvesh, thanks for this. You'd do an article on setting up a NAS box for home and/or a media server?


    Vishal

    ReplyDelete
    Replies
    1. Thank you for commenting.
      Yes sure we can do that a media server is probably a good idea, appreciate your suggestion.
      Keep visiting.

      Delete