Raid
Raid
RAID stands for: Redundant Array of Inexpensive or Independent Disks RAID is the term used to describe a storage systems' resilience to disk failure through the use of multiple disks and by the use of data distribution and correction techniques. RAID is a great system for increasing speed and availability of data. More data protection than non-RAID disk systems. Fulfils the needs of multimedia and other data hungry programs. Provides fault tolerance.
Advantages of RAID
Affordable alternative to mass storage Cost/Megabyte is dropping. Smaller drives make this possible. Obtain performance of expensive high end disks High throughput and reliability Use of small diameter disks. Seek distances lower. High I/O rates, less power/megabyte.
Cont.
Software RAID uses more system resources as more disk ports and channels are required and it is subject to additional load during write and copy operations. Software RAID may have a lower cost than hardware RAID because it has no dedicated RAID controller, but may not have the same hotfix or performance capabilities. Software RAID is needed for mirroring to remote locations.
HARDWARE RAID
Hardware RAID offloads Parity generation and checking from the host, and also leaves the host unaffected by internal operations such as rebuilds. Hardware RAID allows for greater disk capacity per disk port. Hardware RAID requires the expense of a RAID controller per subsystem. Hardware RAID systems themselves can also be mirrored with software mirroring.
Sequential blocks of data are written across multiple disks in stripes, as follows
Level 1-Mirrored
RAID level 1 provides fault tolerance. This level is also known as disk mirroring because it uses a disk file system called a mirror set. Disk mirroring provides a redundant, identical copy of a selected disk. All data written to the primary disk is written to the mirror disk. It also generally improves read performance (but may degrade write
RAID Level 1
Data duplicated, also the controller card Requires only two drives to implement Advantages
Random Read performance=better than single disk Sequential Read Performance=fair, just as single disks Sequential Write Performance=good Random Write Performance=same as single disks Simple to Implement
Level 2- Bit-redundancy
RAID level 2 uses error correcting algorithm that employs disk-striping strategy that breaks a file into bytes and spreads it across multiple disks. The error-correction method requires several disks. RAID level 2 is more advanced than Level 0, because it provides fault tolerance, but is not as efficient as other RAID levels and is not generally used.
RAID Level 2
RAID Level 2
Uses Bit-level striping with Hamming codes for ECC Number of disks required depends on exact implementation Only fair fault tolerance Advantages
Random Read performance=fair Sequential Read Performance=very good Sequential Write performance=good
Disadvantages
Random Write Performance=poor Requires a complex controller High overhead for check disks Not used in modern systems
RAID Level 3
RAID Level 3
Uses byte-level striping with dedicated parity Requires minimum three drives to implement Has good fault-tolerance Advantages
Random Read Performance=good Sequential Read performance=very good Sequential Write performance=fair to good Lowest overhead for check disks
Disadvantages
Random Write performance=poor Complex controller design
RAID Level 4
RAID Level 4
Uses Block-level striping with dedicated parity Requires minimum of 3 drives to implement Has good fault-tolerance Advantages
Random Read Performance=very good Sequential Read and Write performance=good Lowest overhead of check disks
Disadvantages
Quite complex controller design Random write performance=poor Not commonly used
RAID Level 5
RAID Level 5
Uses Block-level striping with distributed parity Requires a minimum of 3 drives to implement Advantages
Random Read performance=very good Random Write performance=fair Sequential Read and Write performance=good Lowest overhead of check disks
Disadvantages
Most complex controller design Difficult to rebuild in the event of a disk failure