raid 1 3

36

Upload: muhammad-ishaq

Post on 25-Jun-2015

642 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Raid 1 3
Page 2: Raid 1 3

TopicRAID

Redundant Array Independent Disk

Page 3: Raid 1 3

Raid History

Page 4: Raid 1 3

S.L.E.D.Single Large Expensive Disks

Single drive used to store data. Capacity: good

Problem: Data cant be read and write quickly If SLED fail then all data loss.

Page 5: Raid 1 3

Raid

Page 6: Raid 1 3

RAID Overview:The heart of the RAID storage system is

controller card. The task of the controller card is toManage Individual Hard Disk DrivesProvide a Logical Array ConfigurationPerform Redundant or Fault Tolerant Operations

Page 7: Raid 1 3

RAID Controller:

Page 8: Raid 1 3

Raid

Page 9: Raid 1 3

Patented 1987

Built in 1989

Updated several times

That’s all I could find. Until I made these updates….

Page 10: Raid 1 3

RAID: Redundant Arrays of Independent DisksHence, the I in RAID now stands for“independent”instead of “inexpensive”.RAID:Multiple disk drives provides reliability via redundancy.commonly used to address the performance and reliability issues.

RAID

Page 11: Raid 1 3

Mirroring Duplicate every disk Gives good error recovery

Data stripping A method of concatenating multiple drives into one logical storage unit. the data is split into different parts. Parity: Splitting data onto blocks with the help of XOR operation

Redundancy:

Page 12: Raid 1 3

What exactly is a RAID?RAID is basically drives stacked on top of each other like a cake with layers that can share their data together.

Page 13: Raid 1 3

RAID 0 – Data StripingRAID 1 - MirroringRAID 2 – Hamming CodeRAID 3 – Single Check Disk per GroupThere are more lavels like 4,5,6 10.

Features Of RAID Levels:

Page 14: Raid 1 3

RAID Level 0:

Page 15: Raid 1 3

RAID level 0:Simplest RAID implementation

Includes striping but no redundancy Highest-performanceHigh risk of data loss

Multiple drives involvedCould lose all data in array with one drive failure

Page 16: Raid 1 3

Block level stripingNotes:

If two different I/O requests are pending for two different blocks of data, in all likelihood the two blocks are located in two different disks, then the requests can be issued in parallel

If a single request is spread across multiple logically contiguous strips, the request can be handled in parallel.

Cont………..!!

Page 17: Raid 1 3

R̀ecommended ApplicationsVideo Production and Editing Image Editing Pre-Press Applications gaming systems.

Disadvantage:Relaibility problem –no mirroring or parity bits.

Advantage: speed enhancement

Maximum utilization of physical drive storage capacity, because no room is taken for redundant data or data-parity storage

Page 18: Raid 1 3
Page 19: Raid 1 3

RAID Level1:

Page 20: Raid 1 3

RAID Level 1:

Highest level of redundancyEach drive has a mirrored copy in arrayNo striping at this level

Improves read performance over single disks because multiple disks can be read at once

Slower write performance because two disks must be accessed for each modified data item to maintain mirroring

High storage overheadOnly half array stores unique data

Most suitable where reliability is primary concern.

Page 21: Raid 1 3

Performance: If we use independent disk controllers for each disk, then we can increase the read or write speeds by doing operations in parallel.

Cont……..!!!!!!

Page 22: Raid 1 3

Application:AccountingFinancial

Advantage: Provide best Performance

Provide Fault tolerance

Disadvantage: High cost.

Requires twice the disk space

Page 23: Raid 1 3
Page 24: Raid 1 3

RAID Level 2:

Page 25: Raid 1 3

RAID Level 2:Implements redundancy via striping

Striped at bit levelUses Hamming ECC to check data

integrityECC data stored on separate drive

Significant overhead in storage and performance .

RAID 2 is the only RAID level that can repair errors, the other RAID levels can only detect them

Page 26: Raid 1 3

Read – all disks are simultaneously accessed

Write - all disks are simultaneously accessed

Write penalty – computation of the Hamming ECC

Used when many disk errors occur, but given the high reliability of individual disks, rarely used.

Cont……….!!!!!

Page 27: Raid 1 3

Advantages:Random Read Performance= FairSequential Read Performance= Very GoodSequential Write Performance= Very Good

Disadvantages:

Random Write Performance= PoorRequires a complex controllerHigh overhead for check disksNot used in modern systems

Page 28: Raid 1 3
Page 29: Raid 1 3

RAID Level 3:

Page 30: Raid 1 3

RAID Level 3:Also stripes at the byte levelUses XOR to calculate parity for ECC

Much simpler than Hamming ECCRequires only one disk for parity

information regardless of the size of the array

Cannot determine which bit contains error, but this information can be gathered easily by inspecting the array for a failed diskHigh transfer rates, but only one request serviced at a time

Page 31: Raid 1 3

Cont………!!!In the case of a disk failure,

All data are available missing data can be calculated from the parity bitWrite: just maintain the parity such that later it can be regenerated.Failed disk to be replaced and the data regenerated

Page 32: Raid 1 3

BYTE level striping and XOR ECC allows for one check disk: lowest overhead possibleExample… A:0101 XOR B:0011 = Check:0110A is gone?

B:0011 XOR Check:0110 = 0101 (A)

Cont….!!!!!!!!!!

Page 33: Raid 1 3
Page 34: Raid 1 3
Page 35: Raid 1 3
Page 36: Raid 1 3