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

Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)Sandesh Jonchhe
 
Multiprocessor
MultiprocessorMultiprocessor
MultiprocessorA B Shinde
 
Computer organization and architecture
Computer organization and architectureComputer organization and architecture
Computer organization and architectureSubesh Kumar Yadav
 
Virtual memory
Virtual memoryVirtual memory
Virtual memoryAnuj Modi
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memoryDeepak John
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt Arpita Naik
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and ArchitectureVinit Raut
 
Coa module1
Coa module1Coa module1
Coa module1cs19club
 
Cache memory
Cache memoryCache memory
Cache memoryAnuj Modi
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle pptsheetal singh
 

Mais procurados (20)

Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Disk scheduling
Disk schedulingDisk scheduling
Disk scheduling
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Computer organization and architecture
Computer organization and architectureComputer organization and architecture
Computer organization and architecture
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
 
Presentation1
Presentation1Presentation1
Presentation1
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Memory management
Memory managementMemory management
Memory management
 
Cache memory
Cache memoryCache memory
Cache memory
 
DMA operation
DMA operationDMA operation
DMA operation
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
 
Memory management
Memory managementMemory management
Memory management
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
 
Addressing sequencing
Addressing sequencingAddressing sequencing
Addressing sequencing
 
Memory management
Memory managementMemory management
Memory management
 
Coa module1
Coa module1Coa module1
Coa module1
 
Cache memory
Cache memoryCache memory
Cache memory
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 

Destaque

Raid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive DisksRaid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive DisksMudit Mishra
 
Raid level 0, 1, 3, 5 an...tage, disadvantage, use
Raid level 0, 1, 3, 5 an...tage, disadvantage, useRaid level 0, 1, 3, 5 an...tage, disadvantage, use
Raid level 0, 1, 3, 5 an...tage, disadvantage, useShital Shinde
 
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 Data Recovery
 

Destaque (7)

Raid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive DisksRaid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive Disks
 
Raid
RaidRaid
Raid
 
Raid level 0, 1, 3, 5 an...tage, disadvantage, use
Raid level 0, 1, 3, 5 an...tage, disadvantage, useRaid level 0, 1, 3, 5 an...tage, disadvantage, use
Raid level 0, 1, 3, 5 an...tage, disadvantage, use
 
Raid Levels
Raid LevelsRaid Levels
Raid Levels
 
Raid
Raid Raid
Raid
 
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
RAIDRAID
RAID
 

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
 
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 (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
RAIDRAID
RAID
 
Raid level
Raid levelRaid level
Raid level
 
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
 

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.