Tuesday, January 29, 2013

RAID (Redundant Array of Inexpensive (or Independent) Disks)

RAID type available in Solaris are:

RAID 0 (Stirpe and Concatentaion)
RAID 1 (Mirroring)
RAID 2 (Bit level Striping with Hamming code Parity)
RAID 3 (Byte Level Striping with dedicated Parity)
RAID 4 (Block Level Striping with dedicated Parity)
RAID 5 ( Block level Striping with distributed Parity)


Although we have also use of RAID 0,RAID 1 and RAID 5 whereas we will talk about RAID 0+1 and RAID 1+0.


There are three RAID level which Solaris Volume Manager support

  • RAID Level 0    

The RAID 0 is stripe and concatenation which does not provide redundancy although its cost is low ,higher data transfer rate and thus maximum I/O throughput.

In RAID 0 data are spread across relatively small, equal-sized fragments that are allocated alternately and evenly across multiple physical disks.
  • RAID Level 1

RAID Level 1 often called as Mirror. It uses same amount of capacity of disk space as the mirror (copy) of data.

It is most reliable and efficient. Double the cost. If the one disk fails then also we have quarantine of the data as copy/mirror data would be available.


  • RAID Level 5
RAID Level 5 also called as Block Level striping with distributed parity. Data is disturbed across the disk using stripe and a parity information to achieve data redundancy. 

Minimum 3 disk require to create RAID 5 where as parity is distributed so in case of single disk failure data can be still available as calculated by the parity information in conjuction. Hot spare can be use to achieve availability in case of more then single disk failure.



 General Comparison of RAID Level with requirements:

Redundant DataRead PerformanceWrite PerformanceLarge Space Available
RAID 0
Concatenation
NoNoNoYes
RAID 0
Stripe
NoYesYesYes
RAID 1
Mirror
YesDeNoNo
RAID 5YesYesNoYes