Thursday 7 April 2011

RAID Array Levels


By Justin Tanker Platinum Quality Author

There are many different types of RAID arrays and each particular setup has its own advantages, disadvantages and specialized uses. Any one of these levels may or may not be most appropriate for your system depending on how much data you need to store and how you plan to use that data. With that in mind, let's look at the most common RAID levels and the strengths and weakness of each configuration.
RAID 0
A RAID 0 setup splits data evenly among two or more hard drives. It does not allow for any parity information and therefore there is no data redundancy, which means that any disk failure will affect the entire system. The primary function of this specific design is to increase system performance.
Using a RAID 0 setup, you can only store as much data as allowed by the storage capacity of the smallest drive in your system. The more hard drives you use in this setup, the lower the reliability of the system, since the failure of one drive affects them all. The more drives you use, the more chance there is that something will go wrong and cause the entire system to fail.
RAID 1
A RAID 1 setup creates a mirror image or exact copy of a group of files on two or more disks. This array allows for redundancy, meaning that since the same data is stored on multiple drives so that if one drive fails, you can still retrieve the data from the other drive. With this type of system, unlike the above RAID 0, the more drives you have in your array the more reliable the system is. To lose all your data with a RAID 1, each and every drive in the system would have to fail - which is quite unlikely to happen at the same point in time.
However, like RAID 0, this system's storage capacity is again limited by the size of the smallest drive in the array. RAID 1 allows for better performance the more drives you have, since data can be read from more than one disk at a time.
RAID 2
RAID 2 uses a technique called striping, or allocating data among several hard drives at the bit level, as opposed to RAID 1 which creates the mirror image of whole blocks of data. This allows for extremely high rates of data transfer. This set up is now essentially obsolete due to the fact that all hard disks now have an error correction code that use similar technology to the RAID 2 without the added complexity.
RAID 3
Another obsolete and rarely used set up. It uses striping to allocate the data at the byte level, and designates a specific disk for storing parity information. One of the main deficiencies of RAID 3 is that it can't handle multiple requests for data simultaneously, which slows its performance compared to other set ups, like the RAID 1.
RAID 4
RAID 4 uses block level striping along with a dedicated parity drive. Each drive in the system can work independently and in most cases can handle multiple requests for data simultaneously. This set up requires a minimum of three hard drives for its configuration to work. With RAID 4, a substantial load is placed on the parity drive and it often becomes a bottleneck for the entire system. For this reason, the performance level of this type of array can be rather poor.
RAID 5
RAID 5 uses block level striping and distributes parity data among every drive in the array. This is a very popular configuration since it allows for greater data redundancy while still offering a high level of performance. RAID 5 implementation requires a minimum of 3 hard drives in the system, but, in theory, you could have an unlimited number of drives connected to the system.
RAID 5 can survive the failure of a drive in the system by using the parity and data blocks from the surviving disks to reconstruct the lost data while the system continues to run, and this feature is known as Interim Data Recovery Mode. The operating system notifies the administrator that a drive needs to be replaced while continuing to run without any disruptions, though the systems performance will be somewhat slower due to the changed operation.
RAID 6
RAID 6 is an extension of RAID 5 that adds an additional parity block on each drive. This allows for continued performance in the event of two simultaneous drive failures.
There are several other non-standard RAID levels such as RAID 1.5, 7, 5E, 5EE, 6E and others, but these are more complicated and less common versions. The most popular levels of RAID today are RAID 0, 5 and 6. Having a RAID array in place can help to secure your data and protect it from loss in the event that you have a hardware or software problem.

Work

0 comments:

Post a Comment