RAID Question. What's RAID for?

Turkish

Lifer
May 26, 2003
15,547
1
81
Hi all, I've been out of building computers for some time now. The last one I build was like 2,5 years ago so I have no clue what RAID is and what advantages/disadvantages it brings to a home PC which will be used for coding/designing/and a little bit of gaming every now and then.

I have
1 x 120 GB Western Digital SE w/ 8mb cache.
1 x 200 GB Western Digital SE w/ 8mb cache.

I'd appreciate any comments.
 

overlordstu

Junior Member
Nov 3, 2004
20
0
0
Redundant Array of Inexpensive Disks...well thats RAID

Raid comes in a number of configurations from raid 0-10. On a home PC, the most common use of RAID is for mirroring or striping- striping is used mostly for performance gain and mirroring is for backup.

The following is taken from another website (http://www.uni-mainz.de/~neuff...csi/what_is_raid.html) as I think it explains it better than I could in my own words..

The different RAID levels
RAID-0
RAID Level 0 is not redundant, hence does not truly fit the "RAID" acronym. In level 0, data is split across drives, resulting in higher data throughput. Since no redundant information is stored, performance is very good, but the failure of any disk in the array results in data loss. This level is commonly referred to as striping.
RAID-1
RAID Level 1 provides redundancy by writing all data to two or more drives. The performance of a level 1 array tends to be faster on reads and slower on writes compared to a single drive, but if either drive fails, no data is lost. This is a good entry-level redundant system, since only two drives are required; however, since one drive is used to store a duplicate of the data, the cost per megabyte is high. This level is commonly referred to as mirroring.
RAID-2
RAID Level 2, which uses Hamming error correction codes, is intended for use with drives which do not have built-in error detection. All SCSI drives support built-in error detection, so this level is of little use when using SCSI drives.
RAID-3
RAID Level 3 stripes data at a byte level across several drives, with parity stored on one drive. It is otherwise similar to level 4. Byte-level striping requires hardware support for efficient use.
RAID-4
RAID Level 4 stripes data at a block level across several drives, with parity stored on one drive. The parity information allows recovery from the failure of any single drive. The performance of a level 4 array is very good for reads (the same as level 0). Writes, however, require that parity data be updated each time. This slows small random writes, in particular, though large writes or sequential writes are fairly fast. Because only one drive in the array stores redundant data, the cost per megabyte of a level 4 array can be fairly low.
RAID-5
RAID Level 5 is similar to level 4, but distributes parity among the drives. This can speed small writes in multiprocessing systems, since the parity disk does not become a bottleneck. Because parity data must be skipped on each drive during reads, however, the performance for reads tends to be considerably lower than a level 4 array. The cost per megabyte is the same as for level 4.

Summary:

RAID-0 is the fastest and most efficient array type but offers no fault-tolerance.
RAID-1 is the array of choice for performance-critical, fault-tolerant environments. In addition, RAID-1 is the only choice for fault-tolerance if no more than two drives are desired.
RAID-2 is seldom used today since ECC is embedded in almost all modern disk drives.
RAID-3 can be used in data intensive or single-user environments which access long sequential records to speed up data transfer. However, RAID-3 does not allow multiple I/O operations to be overlapped and requires synchronized-spindle drives in order to avoid performance degradation with short records.
RAID-4 offers no advantages over RAID-5 and does not support multiple simultaneous write operations.
RAID-5 is the best choice in multi-user environments which are not write performance sensitive. However, at least three, and more typically five drives are required for RAID-5 arrays.

hope that helps! :)
 

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
With your configuration, you could have 240 GB of RAID 0 space. Multiply the smallest drive by 2 and you have the final RAID space. Thus, 80 GB would be wasted but you would be provided with 240 GB of RAID 0 striping for speed. RAID 1 is if you want to mirror your drives for backup and will be a little slower than normal. RAID 0 is basically what dual channel memory is to RAM but to hard drives. Out of 2 bytes, 1 is stored on the first disk and the other is stored on the second RAIDed disk, and both are requested at once so you get 2 bytes in the time it would take to get 1 byte from one disk. This is all in theory and doesn't help performance a whole lot according to some reviews done by Anandtech. It may not be worth the compatibility problems it may cause you. If one of your disks in RAID 0 fails, all data is lost. In RAID 1, if one fails, it is repaired using the second disk and thus the array is fixed. You can put more than one disk in a RAID array, and multiply the speed increase or the backup redundancy.
 

Turkish

Lifer
May 26, 2003
15,547
1
81
Originally posted by: xtknight
With your configuration, you could have 240 GB of RAID 0 space. Multiply the smallest drive by 2 and you have the final RAID space. Thus, 80 GB would be wasted but you would be provided with 240 GB of RAID 0 striping for speed. RAID 1 is if you want to mirror your drives for backup and will be a little slower than normal. RAID 0 is basically what dual channel memory is to RAM but to hard drives. Out of 2 bytes, 1 is stored on the first disk and the other is stored on the second RAIDed disk, and both are requested at once so you get 2 bytes in the time it would take to get 1 byte from one disk. This is all in theory and doesn't help performance a whole lot according to some reviews done by Anandtech. It may not be worth the compatibility problems it may cause you. If one of your disks in RAID 0 fails, all data is lost. In RAID 1, if one fails, it is repaired using the second disk and thus the array is fixed. You can put more than one disk in a RAID array, and multiply the speed increase or the backup redundancy.

Thanks to you both. Great explanation.

So if I were to get 2 74GB 10,000 RPM HDs and put them into RAID 1, everytime I want to write something into one HD, it'll write it on the other one as well? Can I use the other 2 HDs (120GB and 200GB) via IDE when I'm still running the RAID 1 with the 10,000 RPM drives?
 

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
Yes. RAID 1 writes to both disks so they are identical. Yes, you can RAID 2 disks and leave the other 2 alone.