Friday, April 24, 2009

STEP 11: CONFIGURING THE SATA RAID VOLUME

CONFIGURING THE SATA RAID VOLUME
                                 What is RAID???? RAID or better known as Redundant Array of Independent Disks, is a method where two or more hard disk drives are combined to form one logical unit. Basically, RAID provides better performance and also data fault tolerance. Performance is achieved through the use of two drives to simultaneously read and write data. As the saying goes, two heads are better than one, and so, two drives doing the same task would result in better performance. Fault tolerance, on the other hand, is achieved by using the other hard disk drive to mirror the contents of the first drive. In other words, you'll always have a backup copy of your data in another drive. If any one of the drive fails, the working copy will take over and your system will continue to run as if nothing happened.

There are basically two levels of RAID achievable by the Intel ICH6R southbridge, RAID 0 (striping) and RAID 1 (mirroring).

In RAID 0, or striping, two drives are used to store and access data simultaneously. In other words, a particular file would have parts of it stored in one and the rest in the other drive. As both drives are used to access the file simultaneously, you can expect the I/O performance to increase. In addition, you'll also see your array's capacity doubled (if you have two identical drives). For example, if you installed two 80GB drives, you'll have a total of 160GB in the array. If however, you have one 60GB and one 80GB drive configured for RAID 0, the capacity will be determined by the drive with the lowest capacity, in which case, you'll get only 120GB. The only drawback with RAID 0 is the lack of fault tolerance. If any drive fails, it will affect the entire array and you will lose all your data even if the other drive is still working.

In RAID 1, or mirroring, data written to one drive will be duplicated (or mirrored) on the other drive. If one drive fails, the other drive will continue to function and the system will not crash. However, one of the drive is always used for redundancy and as such, the capacity of the array is equal to the capacity of the smallest drive used in the array. For example, if you have a 60GB and a 40GB drive configured for RAID 1, the resulting capacity of the array would only be 40GB. Ideally, we recommend drives with identical capacities so that none of the extra storage space are wasted.

Now that you know what's RAID, let's carry on with the configuration. In the following steps, we'll teach you how to build a RAID 0 array. You can always follow the same steps to build a RAID 1 array if you want to go for data redundancy rather than performance.

Now, let the system reboot until you see the Intel RAID drive detection. Press CTRL-I to enter the RAID configuration utility.

Follow the steps below :-
 
You can see here that no RAID volumes have been defined. Select the first 'Create RAID Volume' option and press Enter 
  
Now, type the name of your RAID volume. Once you're done, press Enter and go to the next option. Leave the 'RAID Level' option to RAID 0. Press Enter again
  
Next, select the RAID 0 stripe size. Use the 'up' and 'down' arrow keys to select which value you want. We recommend that you select 64KB for general purpose usage 
Chunk size or stripe size is the size of the smallest block defined by the RAID controller. A smaller chunk size would result in smaller bits of files stored in each of the drives. If you anticipate storing files with file sizes in the range of 1KB to 16KB, a small stripe size may help you reduce disk usage. If you have large files (such as video or audio files), larger stripe sizes will help you increase access performance. This is just a simple scenario for illustration purposes although in real-life usage, it can get quite complex. Performance won't vary a lot with chunk sizes especially if you're using it in an environment with varied file sizes. Always go for something in between for a better balance, therefore, we recommend using a 64KB chunk size in your striped array.
 
Now, press Enter to create the new RAID 0 volume
 
Press 'Y' to create the volume

The RAID volume has now been created. Select the Exit option to reboot 
 
The RAID volume is now shown in the BIOS under the 'Hard Disk Boot Priority' option

No comments:

About Me

My photo
Tirunelveli, Tamilnadu, India
Hai friends! I am Siva, from Nellai. Working as a software engineer. Blogging is my free time activity.

VISITS COUNTER

Visitors Online Counter