SlideShare a Scribd company logo
1 of 27
Download to read offline
1
RAID
2
RAID
• RAID is an acronym for RedundantArray of Inexpensive,
or Independent Disks
• There are two types of RAID that can be used on computer
systems.
• These types are hardware RAID and software RAID
3
Types
• Hardware RAID — In hardware RAID the disks have their
own RAID controller with built-in software that handles the
RAID disk setup, and I/O.
• Software RAID — In software RAID there is no RAID
controller card. The operating system is used to set up a
logical array, and the operating system controls the RAID
level used by the system.
RAID
• Basic idea is to connect multiple disks together to provide
– large storage capacity
– faster access to reading data
– redundant data
• Depending on how you set up the array, this configuration can increase
performance (by reading or writing disks in parallel), increase
reliability (by duplicating or parity-checking data across multiple
disks), or both
• Many different levels of RAID systems
– differing levels of redundancy, error checking, capacity, and cos
4 t
5
Striping
• Take file data and map it to different disks
• Allows for reading data in parallel
file data
Disk 0 Disk 1 Disk 2 Disk 3
block 0 block 1 block 2 block 3
6
Parity
• Way to do error checking and correction
• Add up all the bits that are 1
– if even number, set parity bit to 0
– if odd number, set parity bit to 1
• To actually implement this, do an exclusive OR of all the bits being considered
• Consider the following 2 bytes
byte
10110011
01101010
parity
1
0
• If a single bit is bad, it is possible to correct it
Mirroring
• Keep to copies of data on two separate disks
• Gives good error recovery
– if some data is lost, get it from the other source
• Expensive
– requires twice as many disks
• Write performance can be slow
– have to write data to two different spots
• Read performance is enhanced
– can read data from file in parallel
7
8
RAID Level-0 (Striping)
• Often called striping
• Break a file into blocks of data
• Stripe the blocks across disks in the system
9
RAID Level-0
file data
sectors sectors
Disk 0 Disk 1
1
2
block 0
block 2
3block 4 3
4
5
1 block 1
2block 3 2
3
4
5
block 0 block 1 block 2 block 3 block 4
10
Advantages and Disadvantages
• Fast access
• If one disk fails, the entire system will no more be able to use the data
on all the disks
11
RAID Level-1 (Data Mirroring)
• Acomplete file is stored on a single disk
• A second disk contains an exact copy of the file
• Provides complete redundancy of data
• Read performance can be improved
– file data can be read in parallel
• Write performance suffers
– must write the data out twice
• Most expensive RAID implementation
– requires twice as much storage space
12
RAID Level-1
file data
sectors sectors
Disk 0 Disk 1
1
2
3
4
block 0
block 1
block 2
block 3
5block 4 5
1
2
3
4
block 0
block 1
block 2
block 3
5block 4 5
block 0 block 1 block 2 block 3 block 4
13
RAID 1 Performance
• Read performance is improved because both disks can be
simultaneously read for different records
• Write performance remains unchanged as the same data
need to be written to both disks
14
RAID Level-10
• Combine Level-0 and Level-1
• Stripe a files data across multiple disks
– gives great read/write performance
• Mirror each strip onto a second disk
– gives the best redundancy
• The most high performance system
• The most expensive system
15
RAID 10
16
RAID 2 (Bit Level Striping with dedicated Hamming
Code Parity) & RAID 3
• RAID 2 and 3 are rarely used strategies that are similar
enough to RAID 5.
• However, it should be noted that RAID 3 gives particularly
good performance for sequential reads. Therefore, large
graphics files, streaming media, and video applications
often use RAID 3. If your organization is hosting such files,
you may wish to consider a RAID 3 implementation for that
particular storage server, especially if files tend to be
archived and are not changed frequently.
17
RAID 2,3 &4
• RAID levels 2, 3, and 4 are defined but are rarely deployed.
18
RAID 3 (Byte Level Striping with dedicated Parity)
• RAID 3 is a RAID configuration that uses a parity disk to
store the information generated by a RAID
controller instead of striping it with the data.
• Because the parity information is on a separate disk, RAID
3 does not perform well when tasked with numerous
small data requests.
19
RAID 3
RAID 4(Block Level Striping with dedicated Parity)
20
RAID 5(Block Level Striping with distributed Parity)
• RAID level 5 stripes both data and parity information,
adding redundancy while simultaneously improving read
performance.
• In addition, RAID 5 is more efficient in its use of disk space
than is RAID 1.
• If there are N drives in an array (at least three are required),
N–1 of them can store data.
• The space-efficiency of RAID 5 is therefore at least 67%,
whereas that of mirroring cannot be higher than 50%. 21
22
RAID 5
23
RAID Level-5
• Level-5 stripes file data and check data over all the disks
– no longer a single check disk
– no more write bottleneck
• Radically improves the performance of multiple writes
– they can now be done in parallel
• Slightly improves reads
– one more disk to use for reading
• Provides fault tolerance using Parity
• Data and parity information is distributed over all the disks
24
RAID 6 (Block Level Striping with double
distributed Parity)
• RAID level 6 is similar to RAID 5 with two parity disks.
• ARAID 6 array can withstand the complete failure of two
drives without losing data
25
RAID 6
26
Summary
• RAID is not a substitution for backing up
• Redundancy is not the same thing as a backup.
27

More Related Content

Similar to RAID--16112022-093218am-16022024-061222pm.pdf (20)

RAID
RAIDRAID
RAID
 
SEMINAR
SEMINARSEMINAR
SEMINAR
 
Class2
Class2Class2
Class2
 
Performance evolution of raid
Performance evolution of raidPerformance evolution of raid
Performance evolution of raid
 
Raid level 4
Raid level 4Raid level 4
Raid level 4
 
Raid Technology
Raid TechnologyRaid Technology
Raid Technology
 
Raid
RaidRaid
Raid
 
Raid 1 3
Raid 1 3Raid 1 3
Raid 1 3
 
RAID and LVM
RAID and LVMRAID and LVM
RAID and LVM
 
Overview of Redundant Disk Arrays
Overview of Redundant Disk ArraysOverview of Redundant Disk Arrays
Overview of Redundant Disk Arrays
 
Raid
Raid Raid
Raid
 
Raid Level
Raid LevelRaid Level
Raid Level
 
Raid and its levels
Raid and its levelsRaid and its levels
Raid and its levels
 
Raid
RaidRaid
Raid
 
Raid
Raid Raid
Raid
 
Raid in SNA
Raid in SNA Raid in SNA
Raid in SNA
 
RAID
RAIDRAID
RAID
 
Raid 5
Raid 5Raid 5
Raid 5
 
Raid level
Raid levelRaid level
Raid level
 
Data center core elements, Data center virtualization
Data center core elements, Data center virtualizationData center core elements, Data center virtualization
Data center core elements, Data center virtualization
 

Recently uploaded

ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 

RAID--16112022-093218am-16022024-061222pm.pdf

  • 2. 2 RAID • RAID is an acronym for RedundantArray of Inexpensive, or Independent Disks • There are two types of RAID that can be used on computer systems. • These types are hardware RAID and software RAID
  • 3. 3 Types • Hardware RAID — In hardware RAID the disks have their own RAID controller with built-in software that handles the RAID disk setup, and I/O. • Software RAID — In software RAID there is no RAID controller card. The operating system is used to set up a logical array, and the operating system controls the RAID level used by the system.
  • 4. RAID • Basic idea is to connect multiple disks together to provide – large storage capacity – faster access to reading data – redundant data • Depending on how you set up the array, this configuration can increase performance (by reading or writing disks in parallel), increase reliability (by duplicating or parity-checking data across multiple disks), or both • Many different levels of RAID systems – differing levels of redundancy, error checking, capacity, and cos 4 t
  • 5. 5 Striping • Take file data and map it to different disks • Allows for reading data in parallel file data Disk 0 Disk 1 Disk 2 Disk 3 block 0 block 1 block 2 block 3
  • 6. 6 Parity • Way to do error checking and correction • Add up all the bits that are 1 – if even number, set parity bit to 0 – if odd number, set parity bit to 1 • To actually implement this, do an exclusive OR of all the bits being considered • Consider the following 2 bytes byte 10110011 01101010 parity 1 0 • If a single bit is bad, it is possible to correct it
  • 7. Mirroring • Keep to copies of data on two separate disks • Gives good error recovery – if some data is lost, get it from the other source • Expensive – requires twice as many disks • Write performance can be slow – have to write data to two different spots • Read performance is enhanced – can read data from file in parallel 7
  • 8. 8 RAID Level-0 (Striping) • Often called striping • Break a file into blocks of data • Stripe the blocks across disks in the system
  • 9. 9 RAID Level-0 file data sectors sectors Disk 0 Disk 1 1 2 block 0 block 2 3block 4 3 4 5 1 block 1 2block 3 2 3 4 5 block 0 block 1 block 2 block 3 block 4
  • 10. 10 Advantages and Disadvantages • Fast access • If one disk fails, the entire system will no more be able to use the data on all the disks
  • 11. 11 RAID Level-1 (Data Mirroring) • Acomplete file is stored on a single disk • A second disk contains an exact copy of the file • Provides complete redundancy of data • Read performance can be improved – file data can be read in parallel • Write performance suffers – must write the data out twice • Most expensive RAID implementation – requires twice as much storage space
  • 12. 12 RAID Level-1 file data sectors sectors Disk 0 Disk 1 1 2 3 4 block 0 block 1 block 2 block 3 5block 4 5 1 2 3 4 block 0 block 1 block 2 block 3 5block 4 5 block 0 block 1 block 2 block 3 block 4
  • 13. 13 RAID 1 Performance • Read performance is improved because both disks can be simultaneously read for different records • Write performance remains unchanged as the same data need to be written to both disks
  • 14. 14 RAID Level-10 • Combine Level-0 and Level-1 • Stripe a files data across multiple disks – gives great read/write performance • Mirror each strip onto a second disk – gives the best redundancy • The most high performance system • The most expensive system
  • 16. 16 RAID 2 (Bit Level Striping with dedicated Hamming Code Parity) & RAID 3 • RAID 2 and 3 are rarely used strategies that are similar enough to RAID 5. • However, it should be noted that RAID 3 gives particularly good performance for sequential reads. Therefore, large graphics files, streaming media, and video applications often use RAID 3. If your organization is hosting such files, you may wish to consider a RAID 3 implementation for that particular storage server, especially if files tend to be archived and are not changed frequently.
  • 17. 17 RAID 2,3 &4 • RAID levels 2, 3, and 4 are defined but are rarely deployed.
  • 18. 18 RAID 3 (Byte Level Striping with dedicated Parity) • RAID 3 is a RAID configuration that uses a parity disk to store the information generated by a RAID controller instead of striping it with the data. • Because the parity information is on a separate disk, RAID 3 does not perform well when tasked with numerous small data requests.
  • 20. RAID 4(Block Level Striping with dedicated Parity) 20
  • 21. RAID 5(Block Level Striping with distributed Parity) • RAID level 5 stripes both data and parity information, adding redundancy while simultaneously improving read performance. • In addition, RAID 5 is more efficient in its use of disk space than is RAID 1. • If there are N drives in an array (at least three are required), N–1 of them can store data. • The space-efficiency of RAID 5 is therefore at least 67%, whereas that of mirroring cannot be higher than 50%. 21
  • 23. 23 RAID Level-5 • Level-5 stripes file data and check data over all the disks – no longer a single check disk – no more write bottleneck • Radically improves the performance of multiple writes – they can now be done in parallel • Slightly improves reads – one more disk to use for reading • Provides fault tolerance using Parity • Data and parity information is distributed over all the disks
  • 24. 24 RAID 6 (Block Level Striping with double distributed Parity) • RAID level 6 is similar to RAID 5 with two parity disks. • ARAID 6 array can withstand the complete failure of two drives without losing data
  • 26. 26 Summary • RAID is not a substitution for backing up • Redundancy is not the same thing as a backup.
  • 27. 27