Top Banner
RAID
20
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Raid

RAID

Page 2: Raid

Your Data is Lost?

• Do we have backups of all our data?- The stuff we cannot afford to lose?

• How often do we do backups?- Daily, Weekly or Monthly?

• How long would it take to totally recover from the disaster?

Page 3: Raid

Flow Of Presentation

• JBOD.• What is RAID.• RAID Techniques.• RAID Levels.

Page 4: Raid

HD 1HD 1

HD 2HD 2

HD 3HD 3

ProcessorProcessor

Page 5: Raid

ProcessorProcessor ControllerController

HD 1HD 1

HD 2HD 2

HD 3HD 3

JBODJust A Bunch Of

Disks

Page 6: Raid

Drawbacks for JBOD

• Reliability becomes a big problem as the data in an entire disk may be lost.

• As the number of Disks per component increases, the probability of failure also increases.

Page 7: Raid

Solution?

RAID

Page 8: Raid

R A I D

Redundant Array Of Inexpensive Disks. In 1987, Patterson, Gibson and Katz at the University Of California, Berkeley. Theypublished a paper entitled “A Case for RAID”.•RAID was to combine multiple, inexpensive disks drive into an array of disk drives which yields performance exceeding that of a JBOD.•This array of drives appear to the computer as a single logical storage unit or drive.

Page 9: Raid

Techniques

• Data Striping.• Mirroring.• Parity Check.

Page 10: Raid

Data Striping

• Data – 1,2,3,4.

1313

2424

HD 1 HD 2

Page 11: Raid

Data Mirroring

• Data – 1,2,3.

123

123

123

123

HD 1 HD 2

Page 12: Raid

Parity Bit Check• Data – 1001, 1101.

1111

0101

HD 1 HD 2

0000

1111

HD 3 HD 4

0101

ParityBit

Hot Spare

A B Y0 0 00 1 11 0 11 1 0

Truth TableEX-OR

1 1 0

Page 13: Raid

1111

0101

HD 1 HD 2

0000

1111

HD 3 HD 4

0101

0101

ParityBit

Hot Spare

1 0 0

Page 14: Raid

RAID Levels• RAID 0• RAID 1• RAID 2• RAID 3• RAID 4• RAID 5• RAID 6• RAID 0+1• RAID 1+0

Page 15: Raid

RAID 0

• Striping at the level of blocks.• Data split across in drives resulting in higher data

throughput.• Performance is very good but the failure of any

disk in the array results in data loss.• RAID 0 Commonly referred to as striping.• Minimum Drives required is 2.• Reliability Problems : No Mirroring or Parity Bits

Page 16: Raid

RAID 1

• Uses Mirroring.• Expensive.• Minimum Drives required is 2.• Performance Issues.

No Data loss if either drive fails. Good Read performance. Reasonable Write performance.

• Cost per MB is high.

Page 17: Raid

RAID 2(bit),3(byte),4(block or sector)

• Need to include a dedicated parity hardware.

• Expense of computing and writing parity.

• Performance is good for reads.

• Slow for small writes but fast for large writes.

• Minimum number of drives required is 3.

Page 18: Raid

RAID 5

• Uses Block-Level striping with parity data distributed across all member disks.(it spreads data and parity among all N+1 disks, rather than storing data in N disks and parity in 1 disk.)

• Avoids potential overuse of a single parity disk – improvements over RAID 4.

• Most common parity RAID system.• Minimum drives required is 3.

Page 19: Raid

RAID 6

• Uses Block-Level Stripping with double distributed parity.

• It provides fault tolerance of two drive failures.

• Minimum Drives required is 4.• Provides protection against data loss during

an array rebuild.

Page 20: Raid

RAID 0+1RAID 1+0

• A) RAID 0+1 with a single disk failure.• B) RAID 1+0 with a single disk failure.A) B)

MirrorStripe

Stripe

MirrorStripeMirror