SlideShare a Scribd company logo
1 of 24
RAID 
Mukesh N Tekwani 
www.elphinstonecollege.ac.in 
September 3, 2014 Mukesh N Tekwani 1
What is RAID? 
 RAID – Redundant Array of Independent Disks 
September 3, 2014 Mukesh N Tekwani 2
Motivation for RAID 
 Just as additional memory in form of cache, can 
improve system performance, in the same way 
additional disks can also improve system performance 
 In RAID, we use an array of disks. These disks 
operate independently 
 Since there are many disks, multiple I/O requests can 
be handled in parallel if the data required is on 
separate disks 
 A single I/O operation can be handled in parallel if the 
data required is distributed across multiple disks 
September 3, 2014 Mukesh N Tekwani 3
Benefits of RAID 
 Data loss can be very dangerous for an 
organisation 
 RAID technology prevents data loss due to disk 
failure 
 RAID technology can be implemented in hardware 
or software 
 Servers make use of RAID technology 
September 3, 2014 Mukesh N Tekwani 4
RAID Technology 
 There are 7 levels RAID schemes. These are called 
RAID 0, RAID 1, … RAID 6 
 The common characteristic in all these levels is: 
 A set of physical disk drives. 
 The operating system views these separate disks as a single 
logical disk. 
 Data is distributed across the physical drives of the array. 
 Redundant disk capacity is used to store parity information. 
 Parity information can help in recovering data in case of disk 
failure 
September 3, 2014 Mukesh N Tekwani 5
RAID Level 0 - Characteristics 
 RAID level 0 divides data into block units and writes 
them across a number of disks. 
 As data is placed across multiple disks, it is also called 
“data stripping” 
 The advantage of distributing data over disks is that if 
two different I/O requests are pending for two different 
blocks of data, then there is a possibility that the 
requested blocks are on different disks 
September 3, 2014 Mukesh N Tekwani 6
RAID Level 0 
 There is no parity checking of data. 
 So if data in one drive gets corrupted then all the data 
would be lost. Thus RAID 0 does not support data 
recovery 
 Spanning is another term that is used with RAID level 
0 because the logical disk will span all the physical 
drives 
 RAID 0 implementation requires minimum 2 disks 
September 3, 2014 Mukesh N Tekwani 7
RAID Level 0 - Diagram 
September 3, 2014 Mukesh N Tekwani 8
RAID Level 0 - Advantages 
 Advantage of RAID level 0 is that it increases speed. 
 Throughput (speed) is increased because : 
 Multiple data requests probably not on same disk 
 Disks seek in parallel 
 A set of data is likely to be striped across multiple disks 
 Implementation is easy 
 No overhead of parity calculation 
September 3, 2014 Mukesh N Tekwani 9
RAID Level 0 - Disadvantages 
 Not a true RAID because it is not fault tolerant 
 The failure of just one drive will result in all data in an 
array being lost. Implementation is easy 
 Should not be used in mission critical environments 
September 3, 2014 Mukesh N Tekwani 10
RAID Level 1 - Characteristics 
 This level is called "mirroring" as it copies data onto 
two disk drives simultaneously. 
 As same data is placed on multiple disks, it is also 
called “data mirroring” 
 The automatic duplication of the data means there is 
little likelihood of data loss or system downtime. 
September 3, 2014 Mukesh N Tekwani 11
RAID Level 1 
 Data stripping is used as in RAID 0, but each logical 
strip is mapped to two separate physical drives 
 Thus every disk in the array has a mirror disk that 
contains the same data 
 Data can be read from either disk but is written on 
both disks 
September 3, 2014 Mukesh N Tekwani 12
RAID Level 1 - Diagram 
September 3, 2014 Mukesh N Tekwani 13
RAID Level 1 - Animation 
September 3, 2014 Mukesh N Tekwani 14
RAID Level 1 - Characteristics 
 A read request can be executed by either of the two 
disks 
 A write request means that both the disks must be 
updated. This can be done in parallel 
 There is no overhead of storing parity information 
 Recovery from failure is simple. If one drive fails we 
just have to access data from the second drive 
September 3, 2014 Mukesh N Tekwani 15
RAID Level 1 - Advantages 
 Main advantage is RAID 1 provides fault tolerance. If 
one disk fails, the other automatically takes over. 
 So continuous operation is maintained. 
 RAID 1 is used to store systems software (such as 
drivers, operating systems, compilers, etc) and other 
highly critical files. 
September 3, 2014 Mukesh N Tekwani 16
RAID Level 1 - Disadvantages 
 Main disadvantage is cost. Since data is duplicated, 
storage costs increase. 
September 3, 2014 Mukesh N Tekwani 17
RAID Level 2 
 In RAID 2 mechanism, all disks participate in the execution of 
every I/O request. 
 The spindles of individual disk drives are synchronized so that 
each disk head is in the same position on each disk at any 
given time. 
 Data stripping is used. 
 Error correcting code is also calculated and stored with data 
 Not implemented in practice due to high costs and overheads 
September 3, 2014 Mukesh N Tekwani 18
RAID Level 3 
 Data is divided into byte units and written across 
multiple disk drives. 
 Parity information is stored for each disk section and 
written to a dedicated parity drive. 
 All disks can be accessed in parallel 
 Data can be transferred in bulk. Thus high speed data 
transmission is possible 
September 3, 2014 Mukesh N Tekwani 19
RAID Level 3 
 In case of drive failure, the parity drive is accessed 
and data is reconstructed from the remaining devices. 
 Once the failed drive is replaced, the missing data can 
be restored on the new drive 
 RAID 3 can provide very high data transfer rates 
September 3, 2014 Mukesh N Tekwani 20
RAID Level 3 
September 3, 2014 Mukesh N Tekwani 21
RAID Level 3 
Parity Disk 
September 3, 2014 Mukesh N Tekwani 22
Important Questions on RAID 
 What is the motivation for using RAID? What common 
characteristics are shared by all RAID levels? 
 Explain RAID level 0, 1, 2, and 3. 
 Explain the term striped data. 
 How is redundancy achieved in a RAID system? 
September 3, 2014 Mukesh N Tekwani 23
TThhaannkk yyoouu !!!!!! 
September 3, 2014 Mukesh N Tekwani 24

More Related Content

What's hot

Memory organization
Memory organizationMemory organization
Memory organizationAL- AMIN
 
02-Active Directory Domain Services.pptx
02-Active Directory Domain Services.pptx02-Active Directory Domain Services.pptx
02-Active Directory Domain Services.pptxAdiWidyanto2
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device ManagementDamian T. Gordon
 
File System Hierarchy
File System HierarchyFile System Hierarchy
File System Hierarchysritolia
 
Basics of storage Technology
Basics of storage TechnologyBasics of storage Technology
Basics of storage TechnologyLopamudra Das
 
NTFS file system
NTFS file systemNTFS file system
NTFS file systemRavi Yasas
 
Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)welcometofacebook
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating systemtittuajay
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux pptOmi Vichare
 
Storage Management - Lecture 8 - Introduction to Databases (1007156ANR)
Storage Management - Lecture 8 - Introduction to Databases (1007156ANR)Storage Management - Lecture 8 - Introduction to Databases (1007156ANR)
Storage Management - Lecture 8 - Introduction to Databases (1007156ANR)Beat Signer
 
The basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemThe basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemHungWei Chiu
 
Presentation on backup and recoveryyyyyyyyyyyyy
Presentation on backup and recoveryyyyyyyyyyyyyPresentation on backup and recoveryyyyyyyyyyyyy
Presentation on backup and recoveryyyyyyyyyyyyyTehmina Gulfam
 

What's hot (20)

Memory organization
Memory organizationMemory organization
Memory organization
 
02-Active Directory Domain Services.pptx
02-Active Directory Domain Services.pptx02-Active Directory Domain Services.pptx
02-Active Directory Domain Services.pptx
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device Management
 
File Management
File ManagementFile Management
File Management
 
File System Hierarchy
File System HierarchyFile System Hierarchy
File System Hierarchy
 
Linux Network Management
Linux Network ManagementLinux Network Management
Linux Network Management
 
Basics of storage Technology
Basics of storage TechnologyBasics of storage Technology
Basics of storage Technology
 
Windows file system
Windows file systemWindows file system
Windows file system
 
NTFS file system
NTFS file systemNTFS file system
NTFS file system
 
Storage basics
Storage basicsStorage basics
Storage basics
 
Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
 
NTFS vs FAT
NTFS vs FATNTFS vs FAT
NTFS vs FAT
 
file system in operating system
file system in operating systemfile system in operating system
file system in operating system
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Storage Management - Lecture 8 - Introduction to Databases (1007156ANR)
Storage Management - Lecture 8 - Introduction to Databases (1007156ANR)Storage Management - Lecture 8 - Introduction to Databases (1007156ANR)
Storage Management - Lecture 8 - Introduction to Databases (1007156ANR)
 
Storage area network
Storage area networkStorage area network
Storage area network
 
The basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemThe basic concept of Linux FIleSystem
The basic concept of Linux FIleSystem
 
Data Backup (IT) Lecture Slide # 5
Data Backup (IT) Lecture Slide # 5Data Backup (IT) Lecture Slide # 5
Data Backup (IT) Lecture Slide # 5
 
Presentation on backup and recoveryyyyyyyyyyyyy
Presentation on backup and recoveryyyyyyyyyyyyyPresentation on backup and recoveryyyyyyyyyyyyy
Presentation on backup and recoveryyyyyyyyyyyyy
 

Viewers also liked

Raid : Redundant Array of Inexpensive Disks
Raid : Redundant Array of Inexpensive DisksRaid : Redundant Array of Inexpensive Disks
Raid : Redundant Array of Inexpensive DisksCloudbells.com
 
RAID and Storage Arrays
RAID and Storage ArraysRAID and Storage Arrays
RAID and Storage ArraysChris Pierce
 
Overview of Redundant Disk Arrays
Overview of Redundant Disk ArraysOverview of Redundant Disk Arrays
Overview of Redundant Disk ArraysAndrew Robinson
 
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsPresentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsKuber Chandra
 

Viewers also liked (8)

Raid
Raid Raid
Raid
 
Raid Technology
Raid TechnologyRaid Technology
Raid Technology
 
Raid
RaidRaid
Raid
 
Raid : Redundant Array of Inexpensive Disks
Raid : Redundant Array of Inexpensive DisksRaid : Redundant Array of Inexpensive Disks
Raid : Redundant Array of Inexpensive Disks
 
RAID and Storage Arrays
RAID and Storage ArraysRAID and Storage Arrays
RAID and Storage Arrays
 
Overview of Redundant Disk Arrays
Overview of Redundant Disk ArraysOverview of Redundant Disk Arrays
Overview of Redundant Disk Arrays
 
Raid
RaidRaid
Raid
 
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsPresentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) Basics
 

Similar to Introduction to RAID (Redundant Array of Independent Disks)

Sistemas operacionais raid
Sistemas operacionais   raidSistemas operacionais   raid
Sistemas operacionais raidCarlos Melo
 
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 virtualizationMadhuraNK
 
disk structure and multiple RAID levels .ppt
disk structure and multiple  RAID levels .pptdisk structure and multiple  RAID levels .ppt
disk structure and multiple RAID levels .pptRAJASEKHARV10
 
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...Jason Augustine
 
Dr module 3 assignment Management homework help.docx
Dr module 3 assignment Management homework help.docxDr module 3 assignment Management homework help.docx
Dr module 3 assignment Management homework help.docxwrite31
 
Various raid levels pros & cons
Various raid levels pros & consVarious raid levels pros & cons
Various raid levels pros & consIT Tech
 
Exercise 3-1 This chapter’s opening scenario illustrates a specific .docx
Exercise 3-1 This chapter’s opening scenario illustrates a specific .docxExercise 3-1 This chapter’s opening scenario illustrates a specific .docx
Exercise 3-1 This chapter’s opening scenario illustrates a specific .docxnealwaters20034
 
Chapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and RetrievalChapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and RetrievalPratik Pradhan
 
Present of Raid and Its Type
Present of Raid and Its TypePresent of Raid and Its Type
Present of Raid and Its TypeUsama ahmad
 

Similar to Introduction to RAID (Redundant Array of Independent Disks) (20)

RAID
RAIDRAID
RAID
 
Sistemas operacionais raid
Sistemas operacionais   raidSistemas operacionais   raid
Sistemas operacionais raid
 
Raid in SNA
Raid in SNA Raid in SNA
Raid in SNA
 
DBMS - RAID
DBMS - RAIDDBMS - RAID
DBMS - RAID
 
Raid
Raid Raid
Raid
 
Raid and its levels
Raid and its levelsRaid and its levels
Raid and its levels
 
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
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
disk structure and multiple RAID levels .ppt
disk structure and multiple  RAID levels .pptdisk structure and multiple  RAID levels .ppt
disk structure and multiple RAID levels .ppt
 
Raid technology
Raid technologyRaid technology
Raid technology
 
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
 
SEMINAR
SEMINARSEMINAR
SEMINAR
 
Dr module 3 assignment Management homework help.docx
Dr module 3 assignment Management homework help.docxDr module 3 assignment Management homework help.docx
Dr module 3 assignment Management homework help.docx
 
DBMS RAID.pptx
DBMS RAID.pptxDBMS RAID.pptx
DBMS RAID.pptx
 
Various raid levels pros & cons
Various raid levels pros & consVarious raid levels pros & cons
Various raid levels pros & cons
 
Exercise 3-1 This chapter’s opening scenario illustrates a specific .docx
Exercise 3-1 This chapter’s opening scenario illustrates a specific .docxExercise 3-1 This chapter’s opening scenario illustrates a specific .docx
Exercise 3-1 This chapter’s opening scenario illustrates a specific .docx
 
Chapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and RetrievalChapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and Retrieval
 
Raid
RaidRaid
Raid
 
Present of Raid and Its Type
Present of Raid and Its TypePresent of Raid and Its Type
Present of Raid and Its Type
 
RAID and LVM
RAID and LVMRAID and LVM
RAID and LVM
 

Recently uploaded

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Introduction to RAID (Redundant Array of Independent Disks)

  • 1. RAID Mukesh N Tekwani www.elphinstonecollege.ac.in September 3, 2014 Mukesh N Tekwani 1
  • 2. What is RAID?  RAID – Redundant Array of Independent Disks September 3, 2014 Mukesh N Tekwani 2
  • 3. Motivation for RAID  Just as additional memory in form of cache, can improve system performance, in the same way additional disks can also improve system performance  In RAID, we use an array of disks. These disks operate independently  Since there are many disks, multiple I/O requests can be handled in parallel if the data required is on separate disks  A single I/O operation can be handled in parallel if the data required is distributed across multiple disks September 3, 2014 Mukesh N Tekwani 3
  • 4. Benefits of RAID  Data loss can be very dangerous for an organisation  RAID technology prevents data loss due to disk failure  RAID technology can be implemented in hardware or software  Servers make use of RAID technology September 3, 2014 Mukesh N Tekwani 4
  • 5. RAID Technology  There are 7 levels RAID schemes. These are called RAID 0, RAID 1, … RAID 6  The common characteristic in all these levels is:  A set of physical disk drives.  The operating system views these separate disks as a single logical disk.  Data is distributed across the physical drives of the array.  Redundant disk capacity is used to store parity information.  Parity information can help in recovering data in case of disk failure September 3, 2014 Mukesh N Tekwani 5
  • 6. RAID Level 0 - Characteristics  RAID level 0 divides data into block units and writes them across a number of disks.  As data is placed across multiple disks, it is also called “data stripping”  The advantage of distributing data over disks is that if two different I/O requests are pending for two different blocks of data, then there is a possibility that the requested blocks are on different disks September 3, 2014 Mukesh N Tekwani 6
  • 7. RAID Level 0  There is no parity checking of data.  So if data in one drive gets corrupted then all the data would be lost. Thus RAID 0 does not support data recovery  Spanning is another term that is used with RAID level 0 because the logical disk will span all the physical drives  RAID 0 implementation requires minimum 2 disks September 3, 2014 Mukesh N Tekwani 7
  • 8. RAID Level 0 - Diagram September 3, 2014 Mukesh N Tekwani 8
  • 9. RAID Level 0 - Advantages  Advantage of RAID level 0 is that it increases speed.  Throughput (speed) is increased because :  Multiple data requests probably not on same disk  Disks seek in parallel  A set of data is likely to be striped across multiple disks  Implementation is easy  No overhead of parity calculation September 3, 2014 Mukesh N Tekwani 9
  • 10. RAID Level 0 - Disadvantages  Not a true RAID because it is not fault tolerant  The failure of just one drive will result in all data in an array being lost. Implementation is easy  Should not be used in mission critical environments September 3, 2014 Mukesh N Tekwani 10
  • 11. RAID Level 1 - Characteristics  This level is called "mirroring" as it copies data onto two disk drives simultaneously.  As same data is placed on multiple disks, it is also called “data mirroring”  The automatic duplication of the data means there is little likelihood of data loss or system downtime. September 3, 2014 Mukesh N Tekwani 11
  • 12. RAID Level 1  Data stripping is used as in RAID 0, but each logical strip is mapped to two separate physical drives  Thus every disk in the array has a mirror disk that contains the same data  Data can be read from either disk but is written on both disks September 3, 2014 Mukesh N Tekwani 12
  • 13. RAID Level 1 - Diagram September 3, 2014 Mukesh N Tekwani 13
  • 14. RAID Level 1 - Animation September 3, 2014 Mukesh N Tekwani 14
  • 15. RAID Level 1 - Characteristics  A read request can be executed by either of the two disks  A write request means that both the disks must be updated. This can be done in parallel  There is no overhead of storing parity information  Recovery from failure is simple. If one drive fails we just have to access data from the second drive September 3, 2014 Mukesh N Tekwani 15
  • 16. RAID Level 1 - Advantages  Main advantage is RAID 1 provides fault tolerance. If one disk fails, the other automatically takes over.  So continuous operation is maintained.  RAID 1 is used to store systems software (such as drivers, operating systems, compilers, etc) and other highly critical files. September 3, 2014 Mukesh N Tekwani 16
  • 17. RAID Level 1 - Disadvantages  Main disadvantage is cost. Since data is duplicated, storage costs increase. September 3, 2014 Mukesh N Tekwani 17
  • 18. RAID Level 2  In RAID 2 mechanism, all disks participate in the execution of every I/O request.  The spindles of individual disk drives are synchronized so that each disk head is in the same position on each disk at any given time.  Data stripping is used.  Error correcting code is also calculated and stored with data  Not implemented in practice due to high costs and overheads September 3, 2014 Mukesh N Tekwani 18
  • 19. RAID Level 3  Data is divided into byte units and written across multiple disk drives.  Parity information is stored for each disk section and written to a dedicated parity drive.  All disks can be accessed in parallel  Data can be transferred in bulk. Thus high speed data transmission is possible September 3, 2014 Mukesh N Tekwani 19
  • 20. RAID Level 3  In case of drive failure, the parity drive is accessed and data is reconstructed from the remaining devices.  Once the failed drive is replaced, the missing data can be restored on the new drive  RAID 3 can provide very high data transfer rates September 3, 2014 Mukesh N Tekwani 20
  • 21. RAID Level 3 September 3, 2014 Mukesh N Tekwani 21
  • 22. RAID Level 3 Parity Disk September 3, 2014 Mukesh N Tekwani 22
  • 23. Important Questions on RAID  What is the motivation for using RAID? What common characteristics are shared by all RAID levels?  Explain RAID level 0, 1, 2, and 3.  Explain the term striped data.  How is redundancy achieved in a RAID system? September 3, 2014 Mukesh N Tekwani 23
  • 24. TThhaannkk yyoouu !!!!!! September 3, 2014 Mukesh N Tekwani 24