Saturday, June 20, 2020

RAID

What is RAID? RAID (Redundant Array of Independent Disks ) is a way of storing the same data in different places on multiple hard disks to protect data in case of a drive failure.

Types of RAID ?Two types of RAID is there Software & Hardware. Software RAID –Intel Rapid Storage Technology, LsiMega Raid Storage Manager. Hardware RAID --1) Integrated (Lsi, Intel ). 2) Add-on hwraid card (Adaptec, Lsi, Super micro, Broadcom ).


What is DiskStriping? Disk striping is the process of dividing a body of data into blocks and spreading the data blocks across multiple storage devices, such as hard disk or solid-state drives (SSDs). What is distributed parity? Distributed parity is nothing but a Redundant information (parity) which is alternately stored on all disks. When a disk fails, the virtual disk still works. The data is reconstructed from the surviving disks and the parity alternately stored on the disks.


Reference: RAID Levels
RAID 0 –Integrated Striping (IS)
RAID 1 –Integrated Mirroring (IM)
RAID 5 –Striping with Distributed Parity
RAID 10, 1E –Integrated Mirroring Enhanced (IME)
RAID 6 –Striping with Dual Distributed Parity
RAID 50 –RAID 5 + 0
RAID 60 –RAID 6 + 0

RAID 0: Integrated Striping (IS)
Block-level striping without parity or mirroring
Minimum of 2 disks required
Logical volume’s capacity is equal to the sum of the drive capacities
Excellent performance
No fault tolerance and no redundancy
If a disk fails, data is lost
Data is transferred to and from disks simultaneously
Main Advantage: SPEED


Block-level mirroring without striping or parity
Maximum of 2 disks
Logical volume’s capacity is equal to half the total drive capacity
Write performance slightly slower than a single drive because data must be written to both disks
Read performance is improved because data is transferred from multiple disks at once
Excellent redundancy –always a mirrored copy
If a disk fails, data is still available


RAID 5: Striping with Parity
Block-level striping with distributed parity
Minimum of 3 disks required
Logical volume’s capacity is equal to the total drive capacity n-1
Read performance is good due to striping
Write performance is slower than RAID 0 because parity must be generated
Good redundancy –Up to one drive can fail
Supports dedicated hot-spare
[Note –If RAID 5 is down, we can’t access data separately by connecting one HDD. ]


What is HOT Spare?
When one of the hard drives in a RAID group fails and an idle or standby drive immediately replaces the failed hard drive, this drive is known as a “hot spare”.The “hot spare” hard drive doesn't store any data when it's idle.
Types of HOT Spare?
Dedicated Hot Spare –It’s for dedicated RAID Group Configuration.
Global Hot Spare –It’s support multiple RAID groups with in WS / Server / SAN / NAS / blade / cluster some extend in cloud also.


RAID 10: Integrated Mirroring Enhanced (IME)
Block-level mirroring & block-level striping
Also known as RAID 1 + 0
Minimum of 4 disks required
Logical volume’s capacity is equal to half the total drive capacity
Excellent performance because blocks are striped as in RAID 0
Excellent redundancy because blocks are mirrored as in RAID 1
Up to 2 disks can fail as long as they are not part of the same mirrored set



No comments:

Post a Comment