SlideShare uma empresa Scribd logo
1 de 21
RAID LEVEL
4
RAID 4
•Minimum 3 disks required
•Data is spread across all the drives in
blocks
•Dedicated parity drive
•If one drive in the array fails then concept of
parity data is used (Exclusive Or)
•Write Operation
Read Operation
Advantages & Disadvantages
•Good performance for read
•Poor performance for write operation
•Bottleneck
•Its used is uncommon
RAID LEVEL
5
RAID 5
•RAID 5 is organized in a similar fashion to RAID
4.The difference is that RAID 5
•distributes the parity strips across all disks.
•RAID 5 comprises block-level striping with
distributed parity. It requires that all drives but one
be present to operate. Upon failure of a single
drive, subsequent reads can
•be calculated from the distributed parity such that
no data is lost. RAID 5 requires at least three
disks.
Following are the key points to remember for RAID
level 5.
Minimum 3 disks.
Good performance ( as blocks are striped ).
Good redundancy ( distributed parity ).
Working
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•

First we need to remind you XOR definition:
XOR function result is equal 1 if both arguments are different.
XOR (0, 1) = 1
XOR (1, 0) = 1
XOR function output is equal 0 if both arguments are same.
XOR (0, 0) = 0
XOR (1, 1) = 0
Now let us assume we have 3 drives with the following bits:
| 101 | 010 | 011 |
And we calculate XOR of those data and place it on 4th drive
XOR (101, 010, 011) = 100 (XOR (101,010) = 111 and then XOR (111, 011) = 100
So the data on the four drives looks like this below:
| 101 | 010 | 011 | 100 |
Now let’s see how the XOR MAGIC works. Let’s assume the second drive has failed. When we
calculate XOR all the remaining data will be present from the missing drive.
| 101 | 010 | 011 | 100 |
XOR (101, 011, 100) = 010
You can check the missing other drives and XOR of the remaining data will always give you
exactly the data of your missing drive.
| 101 | 010 | 011 | 100 |
XOR (101, 010, 100) = 011
What works for 3 bits and 4 drives only, works for any number of bits and any number of drives.
Real RAID 5 has the most common stripe size of 64k (65536 * 8 = 524288 bits )
•So the real XOR engine only needs to deal with
524288 bits and not 3 bits as in our exercise.
This is why the RAID 5 needs a very efficient
XOR engine in order to calculate it fast.
•So when adding one drive for parity you will be
able to rebuild the missing data in case of any
drive failure.
Advantages
• Cost effective - only 1 extra disk is required.
• Read data transactions are very fast while write data
transaction are somewhat slower (due to the parity that
has to be calculated).
Disadvantages
• Individual block data transfer rate same as a single disk.
• Like RAID 3, this is complex technology.
RAID LEVEL
6
RAID 6
Very similar to RAID 5, but adds an additional
parity block.
Raid 6 creates two parity blocks for each data
block.
Can handle two disk failure
This RAID configuration is complex to
implement
in a RAID controller, as it has to
calculate two parity data for each data block
RAID 6
Raid 6 is of extremely high help in systems having a very high
capacity and when the rebuilding of a RAID 5 volume takes a long
time or when there is significant chance of failure of another drive
before the rebuild process is completed.

RAID 6 increases the data reliability by using the two parity
stripes. These stripes allow for the failure of the two disks which
can occur within the RAID disk drive set. Major application of
RAID 6 is in SATA, IDE and the SCSI environments.
Independent Data Disks with Two Independent
Parity Schemes
Advantages of RAID 6
•Raid 6 is highly reliable compared to the other raid
levels.
•It is the most suited raid level for small as well as
moderate size database systems.
•Raid 6 provides protection against multiple bad
block failures while non-degraded.
•It allows for the failure of two disks simultaneously
with no data loss.
Disadvantages of RAID 6
•The raid 6 controller design is very complex
compared to the other level controllers.
•The overhead of the controller for computing
parity addresses is high.
•RAID 6 needs N+2 drives in order to implement,
the reason being the dual parity scheme.
•Write performance can be the same as that for
RAID 5.
•Two drives are used for parity calculations.
Applications recommended for RAID 6

•Web and email servers.
•Database servers.
•Intranet servers.
•Excellent fault tolerance.
•File and application servers.
Thank You!

Mais conteúdo relacionado

Mais procurados

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
 
Disk Scheduling Algorithm in Operating System
Disk Scheduling Algorithm in Operating SystemDisk Scheduling Algorithm in Operating System
Disk Scheduling Algorithm in Operating SystemMeghaj Mallick
 
File system Os
File system OsFile system Os
File system OsNehal Naik
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt Arpita Naik
 
04 cache memory.ppt 1
04 cache memory.ppt 104 cache memory.ppt 1
04 cache memory.ppt 1Anwal Mirza
 
Operating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsOperating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsMukesh Chinta
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chipsAnuj Modi
 
SAS vs SATA_ The Key Differences That You Should Know.pptx
SAS vs SATA_ The Key Differences That You Should Know.pptxSAS vs SATA_ The Key Differences That You Should Know.pptx
SAS vs SATA_ The Key Differences That You Should Know.pptxcalltutors
 
Free space managment46
Free space managment46Free space managment46
Free space managment46myrajendra
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)Sandesh Jonchhe
 

Mais procurados (20)

raid technology
raid technologyraid technology
raid technology
 
Cache memory
Cache memoryCache memory
Cache memory
 
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
 
Raid
RaidRaid
Raid
 
11. dfs
11. dfs11. dfs
11. dfs
 
Disk Scheduling Algorithm in Operating System
Disk Scheduling Algorithm in Operating SystemDisk Scheduling Algorithm in Operating System
Disk Scheduling Algorithm in Operating System
 
File system Os
File system OsFile system Os
File system Os
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
 
04 cache memory.ppt 1
04 cache memory.ppt 104 cache memory.ppt 1
04 cache memory.ppt 1
 
Cache memory presentation
Cache memory presentationCache memory presentation
Cache memory presentation
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Operating Systems - Implementing File Systems
Operating Systems - Implementing File SystemsOperating Systems - Implementing File Systems
Operating Systems - Implementing File Systems
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chips
 
RAID Review
RAID ReviewRAID Review
RAID Review
 
Raid level
Raid levelRaid level
Raid level
 
SAS vs SATA_ The Key Differences That You Should Know.pptx
SAS vs SATA_ The Key Differences That You Should Know.pptxSAS vs SATA_ The Key Differences That You Should Know.pptx
SAS vs SATA_ The Key Differences That You Should Know.pptx
 
DBMS - RAID
DBMS - RAIDDBMS - RAID
DBMS - RAID
 
Free space managment46
Free space managment46Free space managment46
Free space managment46
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 

Semelhante a Raid level 4

Semelhante a Raid level 4 (20)

RAID--16112022-093218am-16022024-061222pm.pdf
RAID--16112022-093218am-16022024-061222pm.pdfRAID--16112022-093218am-16022024-061222pm.pdf
RAID--16112022-093218am-16022024-061222pm.pdf
 
Raid
RaidRaid
Raid
 
RAID
RAIDRAID
RAID
 
Raid
RaidRaid
Raid
 
Raid+controllers
Raid+controllersRaid+controllers
Raid+controllers
 
Raid
Raid Raid
Raid
 
SEMINAR
SEMINARSEMINAR
SEMINAR
 
Performance evolution of raid
Performance evolution of raidPerformance evolution of raid
Performance evolution of raid
 
Class2
Class2Class2
Class2
 
Present of Raid and Its Type
Present of Raid and Its TypePresent of Raid and Its Type
Present of Raid and Its Type
 
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
 
RAID CONCEPT
RAID CONCEPTRAID CONCEPT
RAID CONCEPT
 
Overview of Redundant Disk Arrays
Overview of Redundant Disk ArraysOverview of Redundant Disk Arrays
Overview of Redundant Disk Arrays
 
RAID
RAIDRAID
RAID
 
Raid intro
Raid introRaid intro
Raid intro
 
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
 
RAID CAAL
RAID CAALRAID CAAL
RAID CAAL
 
Raid
RaidRaid
Raid
 
Raid training
Raid trainingRaid training
Raid training
 
Raid levels
Raid levelsRaid levels
Raid levels
 

Mais de Muhammad Ishaq

Mais de Muhammad Ishaq (20)

Causality in special relativity
Causality in special relativityCausality in special relativity
Causality in special relativity
 
Business proposal
Business proposalBusiness proposal
Business proposal
 
Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Writting process
Writting processWritting process
Writting process
 
Business
Business Business
Business
 
Index
IndexIndex
Index
 
Brochures
BrochuresBrochures
Brochures
 
Dependencies
DependenciesDependencies
Dependencies
 
Input output
Input outputInput output
Input output
 
Multi core processor
Multi core processorMulti core processor
Multi core processor
 
Dram and its types
Dram and its typesDram and its types
Dram and its types
 
Micro operation control of processor
Micro operation control of processorMicro operation control of processor
Micro operation control of processor
 
Computer architecture overview
Computer architecture overviewComputer architecture overview
Computer architecture overview
 
Raid 1 3
Raid 1 3Raid 1 3
Raid 1 3
 
Multi processing
Multi processingMulti processing
Multi processing
 
Cache memory
Cache memoryCache memory
Cache memory
 
Cache memory
Cache memoryCache memory
Cache memory
 
Addressing
AddressingAddressing
Addressing
 
Clusters
ClustersClusters
Clusters
 

Raid level 4

  • 1.
  • 3. RAID 4 •Minimum 3 disks required •Data is spread across all the drives in blocks •Dedicated parity drive
  • 4.
  • 5. •If one drive in the array fails then concept of parity data is used (Exclusive Or) •Write Operation
  • 7. Advantages & Disadvantages •Good performance for read •Poor performance for write operation •Bottleneck •Its used is uncommon
  • 9. RAID 5 •RAID 5 is organized in a similar fashion to RAID 4.The difference is that RAID 5 •distributes the parity strips across all disks. •RAID 5 comprises block-level striping with distributed parity. It requires that all drives but one be present to operate. Upon failure of a single drive, subsequent reads can •be calculated from the distributed parity such that no data is lost. RAID 5 requires at least three disks.
  • 10. Following are the key points to remember for RAID level 5. Minimum 3 disks. Good performance ( as blocks are striped ). Good redundancy ( distributed parity ).
  • 11. Working • • • • • • • • • • • • • • • • • • • • First we need to remind you XOR definition: XOR function result is equal 1 if both arguments are different. XOR (0, 1) = 1 XOR (1, 0) = 1 XOR function output is equal 0 if both arguments are same. XOR (0, 0) = 0 XOR (1, 1) = 0 Now let us assume we have 3 drives with the following bits: | 101 | 010 | 011 | And we calculate XOR of those data and place it on 4th drive XOR (101, 010, 011) = 100 (XOR (101,010) = 111 and then XOR (111, 011) = 100 So the data on the four drives looks like this below: | 101 | 010 | 011 | 100 | Now let’s see how the XOR MAGIC works. Let’s assume the second drive has failed. When we calculate XOR all the remaining data will be present from the missing drive. | 101 | 010 | 011 | 100 | XOR (101, 011, 100) = 010 You can check the missing other drives and XOR of the remaining data will always give you exactly the data of your missing drive. | 101 | 010 | 011 | 100 | XOR (101, 010, 100) = 011 What works for 3 bits and 4 drives only, works for any number of bits and any number of drives. Real RAID 5 has the most common stripe size of 64k (65536 * 8 = 524288 bits )
  • 12. •So the real XOR engine only needs to deal with 524288 bits and not 3 bits as in our exercise. This is why the RAID 5 needs a very efficient XOR engine in order to calculate it fast. •So when adding one drive for parity you will be able to rebuild the missing data in case of any drive failure.
  • 13. Advantages • Cost effective - only 1 extra disk is required. • Read data transactions are very fast while write data transaction are somewhat slower (due to the parity that has to be calculated). Disadvantages • Individual block data transfer rate same as a single disk. • Like RAID 3, this is complex technology.
  • 15. RAID 6 Very similar to RAID 5, but adds an additional parity block. Raid 6 creates two parity blocks for each data block. Can handle two disk failure This RAID configuration is complex to implement in a RAID controller, as it has to calculate two parity data for each data block
  • 16. RAID 6 Raid 6 is of extremely high help in systems having a very high capacity and when the rebuilding of a RAID 5 volume takes a long time or when there is significant chance of failure of another drive before the rebuild process is completed. RAID 6 increases the data reliability by using the two parity stripes. These stripes allow for the failure of the two disks which can occur within the RAID disk drive set. Major application of RAID 6 is in SATA, IDE and the SCSI environments.
  • 17. Independent Data Disks with Two Independent Parity Schemes
  • 18. Advantages of RAID 6 •Raid 6 is highly reliable compared to the other raid levels. •It is the most suited raid level for small as well as moderate size database systems. •Raid 6 provides protection against multiple bad block failures while non-degraded. •It allows for the failure of two disks simultaneously with no data loss.
  • 19. Disadvantages of RAID 6 •The raid 6 controller design is very complex compared to the other level controllers. •The overhead of the controller for computing parity addresses is high. •RAID 6 needs N+2 drives in order to implement, the reason being the dual parity scheme. •Write performance can be the same as that for RAID 5. •Two drives are used for parity calculations.
  • 20. Applications recommended for RAID 6 •Web and email servers. •Database servers. •Intranet servers. •Excellent fault tolerance. •File and application servers.