Raid
Raid
RAID
(Redundant array of independent disks) originally redundant array of inexpensive disks)
is a way of storing the same data in different places on multiple hard disks to protect data in the
case of a drive failure.
RAID: Redundant Arrays of Independent Disks
Disk organization techniques that manage a large numbers of disks, providing a view of
a single disk of high capacity and high speed by using multiple disks in parallel, and high reliability
by storing data redundantly, so that data can be recovered even if a disk fails
• These levels contain the following characteristics:
• It contains a set of physical disk drives.
• In this technology, the operating system views these separate disks as a single logical disk.
• In this technology, data is distributed across the physical drives of the array.
• Redundancy disk capacity is used to store parity information.
• In case of disk failure, the parity information can be helped to recover the data.
Advantages
• I/O performance is greatly improved by spreading the I/O load across many channels &
drives.
• Best performance is achieved when data is striped across multiple controllers with only
one driver per controller
Disadvantages
• It is not fault-tolerant, failure of one drive will result in all data in an array being lost
RAID LEVEL 1: Mirroring (or shadowing)
• Also known as disk mirroring, this configuration consists of at least two drives that
duplicate the storage of data. There is no striping.
• Read performance is improved since either disk can be read at the same time. Write
performance is the same as for single disk storage.
• Every write is carried out on both disks. If one disk in a pair fails, data still available in the
other.
• Data loss would occur only if a disk fails, and its mirror disk also fails before the system is
repaired Probability of combined event is very small.
RAID LEVEL 2:
This configuration uses striping across disks, with some disks storing error checking and
correcting (ECC) information. It has no advantage over RAID 3 and is no longer
• Each bit of data word is written to a data disk drive (4 in this example: 0 to 3).
• Each data word has its Hamming Code ECC word recorded on the ECC disks.
• On Read, the ECC code verifies correct data or corrects single disk errors.
Advantages-
• On the fly' data error correction
• Extremely high data transfer rates possible
• The higher the data transfer rate required, the better the ratio of data disks to ECC disks.
Disadvantages-
• Very high ratio of ECC disks to data disks with smaller word sizes
• Entry level cost very high
• Requires very high transfer rate requirement to justify.
No commercial implementations exist
Advantages
- Very high Read data transfer rate
- Very high Write data transfer rate
- Disk failure has an insignificant impact on throughput
- Low ratio of ECC (Parity) disks to data disks means high efficiency
Disadvantages
• Transaction rate equal to that of a single disk drive at best (if spindles are synchronized).
• Controller design is fairly complex.
• Very difficult and resource intensive to do as a 'software' RAID
Disadvantages
• Quite complex controller design
• Worst Write transaction rate and Write aggregate transfer rate
• Difficult and inefficient data rebuild in the event of disk failure
• Block Read transfer rate equal to that of a single disk
RAID LEVEL 5:
• RAID 5 uses striping as well as parity for redundancy. It is well suited for heavy read and
low write operations.
• Block-Interleaved Distributed Parity; partitions data and parity among all N + 1 disks,
rather than storing data in N disks and parity in 1 disk.
RAID LEVEL 6:
• This technique is similar to RAID 5, but includes a second parity scheme that is distributed
across the drives in the array. The use of additional parity allows the array to continue to
function even if two disks fail simultaneously. However, this extra protection comes at a
cost.
• P+Q Redundancy scheme; similar to Level 5, but stores extra redundant information to
guard against multiple disk failures.
• Better reliability than Level 5 at a higher cost; not used as widely.