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

06 users groups_and_permissions
06 users groups_and_permissions06 users groups_and_permissions
06 users groups_and_permissionsShay Cohen
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device ManagementDamian T. Gordon
 
Raid (Redundant Array of Inexpensive Disks) in Computer Architecture
Raid (Redundant Array of Inexpensive Disks) in Computer ArchitectureRaid (Redundant Array of Inexpensive Disks) in Computer Architecture
Raid (Redundant Array of Inexpensive Disks) in Computer ArchitectureAiman Hafeez
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System ImplementationWayne Jones Jnr
 
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
 
Networking in linux
Networking in linuxNetworking in linux
Networking in linuxVarnnit Jain
 
Chapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage SystemsChapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage SystemsWayne Jones Jnr
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architectureYisal Khan
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memoryAshish Kumar
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory managementrprajat007
 
Computer System Overview,
Computer System Overview, Computer System Overview,
Computer System Overview, Sajid Marwat
 

What's hot (20)

06 users groups_and_permissions
06 users groups_and_permissions06 users groups_and_permissions
06 users groups_and_permissions
 
Storage Area Network interview Questions
Storage Area Network interview QuestionsStorage Area Network interview Questions
Storage Area Network interview Questions
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device Management
 
Raid (Redundant Array of Inexpensive Disks) in Computer Architecture
Raid (Redundant Array of Inexpensive Disks) in Computer ArchitectureRaid (Redundant Array of Inexpensive Disks) in Computer Architecture
Raid (Redundant Array of Inexpensive Disks) in Computer Architecture
 
Raid Technology
Raid TechnologyRaid Technology
Raid Technology
 
Chapter 11 - File System Implementation
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System Implementation
 
RAID
RAIDRAID
RAID
 
Raid
Raid Raid
Raid
 
File System FAT And NTFS
File System FAT And NTFSFile System FAT And NTFS
File System FAT And NTFS
 
Disk structure
Disk structureDisk structure
Disk structure
 
Sticky bit suid sgid
Sticky bit suid sgidSticky bit suid sgid
Sticky bit suid sgid
 
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...
 
Networking in linux
Networking in linuxNetworking in linux
Networking in linux
 
FAT vs NTFS
FAT vs NTFSFAT vs NTFS
FAT vs NTFS
 
Chapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage SystemsChapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage Systems
 
Distributed system architecture
Distributed system architectureDistributed system architecture
Distributed system architecture
 
CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2CS6401 OPERATING SYSTEMS Unit 2
CS6401 OPERATING SYSTEMS Unit 2
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memory
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
 
Computer System Overview,
Computer System Overview, Computer System Overview,
Computer System Overview,
 

Viewers also liked

Viewers also liked (6)

Raid
Raid Raid
Raid
 
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
 

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
 
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
 
112667416 raid-seminar
112667416 raid-seminar112667416 raid-seminar
112667416 raid-seminarabhivicram
 

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

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 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
 
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
 
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
 
RAID
RAIDRAID
RAID
 
112667416 raid-seminar
112667416 raid-seminar112667416 raid-seminar
112667416 raid-seminar
 
RAID seminar
RAID seminarRAID seminar
RAID seminar
 
Database 3
Database 3Database 3
Database 3
 

Recently uploaded

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Recently uploaded (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

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