Raid Techniques. Redundant Array of Independent Disks RAID is a great system for increasing speed and availability of data. More data protection than.

Slides:



Advertisements
Similar presentations
Redundant Array of Independent Disks (RAID) Striping of data across multiple media for expansion, performance and reliability.
Advertisements

What is RAID Redundant Array of Independent Disks.
1 Lecture 18: RAID n I/O bottleneck n JBOD and SLED n striping and mirroring n classic RAID levels: 1 – 5 n additional RAID levels: 6, 0+1, 10 n RAID usage.
CS 346 – April 4 Mass storage –Disk formatting –Managing swap space –RAID Commitment –Please finish chapter 12.
RAID (Redundant Arrays of Independent Disks). Disk organization technique that manages a large number of disks, providing a view of a single disk of High.
RAID A RRAYS Redundant Array of Inexpensive Discs.
RAID Oh yes Whats RAID? Redundant Array (of) Independent Disks. A scheme involving multiple disks which replicates data across multiple drives. Methods.
RAID Redundant Array of Independent Disks
CS 6560: Operating Systems Design
Module – 3 Data protection – raid
CSCE430/830 Computer Architecture
 RAID stands for Redundant Array of Independent Disks  A system of arranging multiple disks for redundancy (or performance)  Term first coined in 1987.
“Redundant Array of Inexpensive Disks”. CONTENTS Storage devices. Optical drives. Floppy disk. Hard disk. Components of Hard disks. RAID technology. Levels.
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
RAID- Redundant Array of Inexpensive Drives. Purpose Provide faster data access and larger storage Provide data redundancy.
1 Magnetic Disks 1956: IBM (RAMAC) first disk drive 5 Mb – Mb/in $/year 9 Kb/sec 1980: SEAGATE first 5.25’’ disk drive 5 Mb – 1.96 Mb/in2 625.
R.A.I.D. Copyright © 2005 by James Hug Redundant Array of Independent (or Inexpensive) Disks.
Chapter 3 Presented by: Anupam Mittal.  Data protection: Concept of RAID and its Components Data Protection: RAID - 2.
CSE521: Introduction to Computer Architecture Mazin Yousif I/O Subsystem RAID (Redundant Array of Independent Disks)
Chapter 5: Server Hardware and Availability. Hardware Reliability and LAN The more reliable a component, the more expensive it is. Server hardware is.
This courseware is copyrighted © 2011 gtslearning. No part of this courseware or any training material supplied by gtslearning International Limited to.
REDUNDANT ARRAY OF INEXPENSIVE DISCS RAID. What is RAID ? RAID is an acronym for Redundant Array of Independent Drives (or Disks), also known as Redundant.
RAID TECHNOLOGY. MAGNETIC DISK STORAGE  Before we can fully understand RAID, we must first understand the inner workings of a magnetic hard disk, and.
RAID Technology CS350 Computer Organization Section 2 Larkin Young Rob Deaderick Amos Painter Josh Ellis.
1 Recap (RAID and Storage Architectures). 2 RAID To increase the availability and the performance (bandwidth) of a storage system, instead of a single.
Other Disk Details. 2 Disk Formatting After manufacturing disk has no information –Is stack of platters coated with magnetizable metal oxide Before use,
Disks CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
I/O Systems and Storage Systems May 22, 2000 Instructor: Gary Kimura.
CSE 451: Operating Systems Winter 2010 Module 13 Redundant Arrays of Inexpensive Disks (RAID) and OS structure Mark Zbikowski Gary Kimura.
Session 3 Windows Platform Dina Alkhoudari. Learning Objectives Understanding Server Storage Technologies Direct Attached Storage DAS Network-Attached.
Data Storage Willis Kim 14 May Types of storages Direct Attached Storage – storage hardware that connects to a single server Direct Attached Storage.
By : Nabeel Ahmed Superior University Grw Campus.
1 Storage Refinement. Outline Disk failures To attack Intermittent failures To attack Media Decay and Write failure –Checksum To attack Disk crash –RAID.
RAID Shuli Han COSC 573 Presentation.
LAN / WAN Business Proposal. What is a LAN or WAN? A LAN is a Local Area Network it usually connects all computers in one building or several building.
Redundant Array of Independent Disks
RAID: High-Performance, Reliable Secondary Storage Mei Qing & Chaoxia Liao Nov. 20, 2003.
Two or more disks Capacity is the same as the total capacity of the drives in the array No fault tolerance-risk of data loss is proportional to the number.
Module 9 Review Questions 1. The ability for a system to continue when a hardware failure occurs is A. Failure tolerance B. Hardware tolerance C. Fault.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
Disk Access. DISK STRUCTURE Sector: Smallest unit of data transfer from/to disk; 512B 2/4/8 adjacent sectors transferred together: Blocks Read/write heads.
Lecture 9 of Advanced Databases Storage and File Structure (Part II) Instructor: Mr.Ahmed Al Astal.
CSI-09 COMMUNICATION TECHNOLOGY FAULT TOLERANCE AUTHOR: V.V. SUBRAHMANYAM.
Module 9: Configuring Storage
1 Selecting LAN server (Week 3, Monday 9/8/2003) © Abdou Illia, Fall 2003.
RAID SECTION (2.3.5) ASHLEY BAILEY SEYEDFARAZ YASROBI GOKUL SHANKAR.
Windows Server 2003 硬碟管理與磁碟機陣列 林寶森
Redundant Array of Independent Disks.  Many systems today need to store many terabytes of data.  Don’t want to use single, large disk  too expensive.
"1"1 Introduction to Managing Data " Describe problems associated with managing large numbers of disks " List requirements for easily managing large amounts.
Chapter 12 – Mass Storage Structures (Pgs )
Davie 5/18/2010.  Thursday, May 20 5:30pm  Ursa Minor  Co-sponsored with CSS  Guest Speakers  Dr. Craig Rich – TBA  James Schneider – Cal Poly.
The concept of RAID in Databases By Junaid Ali Siddiqui.
RAID Systems Ver.2.0 Jan 09, 2005 Syam. RAID Primer Redundant Array of Inexpensive Disks random, real-time, redundant, array, assembly, interconnected,
WINDOWS SERVER 2003 Genetic Computer School Lesson 12 Fault Tolerance.
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Seminar on RAID TECHNOLOGY Redundant Array of Independent Disk By CHANDAN.R 8 TH ISE, 1ap05is013 Under the guidance of Mr.Mithun.B.N, Lecturer,Dept.ISE.
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
This courseware is copyrighted © 2016 gtslearning. No part of this courseware or any training material supplied by gtslearning International Limited to.
RAID Technology By: Adarsha A,S 1BY08A03. Overview What is RAID Technology? What is RAID Technology? History of RAID History of RAID Techniques/Methods.
RAID TECHNOLOGY RASHMI ACHARYA CSE(A) RG NO
Network-Attached Storage. Network-attached storage devices Attached to a local area network, generally an Ethernet-based network environment.
Operating System I/O System Monday, August 11, 2008.
RAID RAID Mukesh N Tekwani
Overview Continuation from Monday (File system implementation)
CSE 451: Operating Systems Winter 2009 Module 13 Redundant Arrays of Inexpensive Disks (RAID) and OS structure Mark Zbikowski Gary Kimura 1.
TECHNICAL SEMINAR PRESENTATION
UNIT IV RAID.
Mark Zbikowski and Gary Kimura
RAID RAID Mukesh N Tekwani April 23, 2019
Presentation transcript:

Raid Techniques

Redundant Array of Independent Disks RAID is a great system for increasing speed and availability of data. More data protection than non-RAID disk systems. Fulfils the needs of multimedia and other data hungry programs. Provides fault tolerance. What is RAID ?

Advantages of RAID Affordable alternative to mass storage Cost/Megabyte is dropping. Smaller drives make this possible. Obtain performance of expensive high end disks High throughput and reliability Use of small diameter disks. Seek distances lower. High I/O rates, less power/megabyte.

RAID and Fault Tolerance As more devices are added reliability deteriorates. Files may be striped across multiple drives. Creating redundancy in the system. Rebuild files from redundant information.

Overcoming Lack of Reliability Mirroring. Each disk is mirrored. Write operation on two disks. 100% capacity overhead. Reads to disk are optimised.

Overcoming Lack of Reliability Parity. Error correction code. Horizontally across disks. Failure Prediction No capacity overhead.

Why Use RAID ? RAID devices can act as a single drive. Allows simultaneous read/write. Overall increase in I/O performance. Provides data redundancy.

RAID Level 0 Nonredundant

RAID Level 1 Mirrored

RAID Level 2 Bit-redundancy (Hemming Code ECC)

RAID Level 3 Bit-interleaved Parity

RAID Level 4 Block-level Parity

RAID Level 5 Block-level Distributed Parity

OVERVIEW OF RAID 6,7,10 AND 53

RAID 6: Independent Data disks with two independent distributed parity schemes

 Characteristics RAID 6 is essentially an extension of RAID level 5 which allows for additional fault tolerance by using a second independent distributed parity scheme Data is striped on a block level across a set of drives, just like in RAID 5, and a second set of parity is calculated and written across all the drives;  Advantages RAID 6 provides for an extremely high data fault tolerance and can sustain multiple simultaneous drive failures Perfect solution for mission critical applications  Disadvantages Very complex controller design Controller overhead to compute parity addresses is extremely high Very poor write performance Requires N+2 drives to implement, because of second parity RAID 6: Independent Data disks with two independent distributed parity schemes

RAID 7: Optimised Asynchrony for High I/O Rates as well as High Data Transfer Rates Characteristics/Advantages  Overall write performance is 25% to 90% better than single spindle performance and 1.5 to 6 times better than other array levels  Host interfaces are scalable for connectivity or increased host transfer bandwidth  Small reads in multi user environment have very high cache hit rate resulting innear zero access times  Write performance improves with an increase in the number of drives in the  array  Access times decrease with each increase in the number of actuators in the array  No extra data transfers required for parity manipulation  RAID 7 is a registered trademark of Storage Computer Corporation.Aa

 One vendor proprietary solution  Extremely high cost per MB  Very short warranty  Not user serviceable  Power supply must be UPS to prevent loss of cache data Disadvantages

RAID 10: Very High Reliability combined with High Performance Characteristics/Advantages  RAID 10 is implemented as a striped array whose segments are RAID 1 arrays  RAID 10 has the same fault tolerance as RAID level 1  RAID 10 has the same overhead for fault-tolerance as mirroring alone  High I/O rates are achieved by striping RAID 1 segments  Under certain circumstances, RAID 10 array can sustain multiple simultaneous drive failures  Excellent solution for sites who would have otherwise gone with RAID 1 but need some additional performance boost

 Very expensive / High overhead  All drives must move in parallel to proper track lowering sustained performance  Very limited scalability at a very high inherent cost Recommended Applications  Database server requiring high performance and fault tolerance Disadvantages

RAID 53: High I/O Rates and Data Transfer Performance Characteristics/Advantages RAID 53 Should really be called "RAID 03" because it's implemented as a striped (RAID level 0) array whose segments are RAID 3 arrays RAID 53 has the same fault tolerance as RAID 3 as well as the same fault tolerance overhead High data transfer rates are achieved thanks to it's RAID 3 array segments High I/O rates for small requests are achieved thanks to it's RAID 0 striping Maybe a good solution for sites who would have otherwise gone with RAID 3 but need some additional performance boost

 Very expensive to implement  All disk spindles must be synchronised, which limits the choice of drives  Byte striping results in poor utilisation of formatted capacity Disadvantages

Software Support For RAID Under Windows NT Windows NT Server 4.0 Supports the following RAID Levels:- Windows NT Workstation provides no software support for RAID RAID 1Disk Mirroring & Duplexing RAID 5Disk Stripping With Distributed Parity

Software Support For RAID 1 Under Windows NT Server 4.0 Allows system and boot partitions to be mirrored. If a member of the mirror set fails, mirror has to be broken and then a new mirror relationship needs to be created when a faulty disk is replaced. Allows disk duplexing which often is not supported by hardware implementations of RAID.

An Example of Disk Duplexing

Software Support For RAID 5 Under Windows NT Server 4.0 Boot or system partitions cannot be part of a stripe set with parity. Requires a minimum of 3 disks. Parity information is stripped across all disks. This means that in effect the storage space of 1 disk is lost due to the parity overhead.

Software Support For RAID 5 Under Windows NT Server 4.0 After a disk failure the fault tolerance driver uses the parity information to regenerate the data of the failed disk into RAM, having a detrimental effect on performance. If using RAID 5 Microsoft recommends adding 25% more memory to the system. To recover from a disk failure, a failed disk needs to be replaced and the data needs to be regenerated on the free space on the replaced disk, using disk administrator.

Features of Hardware RAID Systems Uses Dedicated Hardware to Control Disks in Array Rather Than Software. Disks in Array Are Controlled By:- RAID Controller Internally Inside PC/Server. By Separate External System That Contains Raid Controller and Disks of Array. Operating System Sees array as one or more fast hard disks.

Features of Hardware RAID Systems No software configuration is required in operating system. RAID Level is not limited by operating system support. RAID Levels available depend on hardware provider.

Features of Hardware RAID Systems External RAID controllers Enable the use of hot swapping and hot spares of a drive in an array, in the event of failure. Enable the use of redundant power supplies. Allow re-building of array with failed drive, whilst system is on-line. System operates in degraded state. Lose fault tolerance until array is re-built.

Example of an External RAID Controller Including Swappable Drives

Features of Hardware RAID Systems RAID 1 Performance On Systems Using Hardware RAID. Read performance is better than a single drive, but not as good as many other RAID levels. Write performance is worse than writing to one drive, but better than many other RAID levels. After a disk failure read performance reduces, write performance improves. Rebuild is generally fast.

Features of Hardware RAID Systems RAID 5 Performance On Systems Using Hardware RAID. Read performance varies from good to excellent for larger stripes. Parity information is not required during requests to read data. Write performance is poorer than other RAID levels due to the overhead of parity information. After a disk failure or during rebuilding, system performance can dramatically reduce due to parity information being distributed over the drives in the array.

Applications of RAID Level 1 Used for applications requiring fault tolerance where the funds required for the hardware for disk stripping are not available and where applications are write intensive. Applications for RAID 1 include:- Accounting and Financial Systems Small Database Systems Individual Users Requiring Fault Tolerance.

Applications of RAID Level 5 Used in systems which require good performance, good fault tolerance with efficient high capacity storage. Applications for RAID 5 include:- General Purpose File Servers Relational Database Applications. Less suitable for write intensive applications as performance in write heavy environments decreases.

Raid support and implementation under Unix and Linux  Good clustering  High-availability  Rapid disk access  Prevent disks crashes  Disk recovery Sun Operating Systems Unix/Linux

 Software  Outboard DASD  Inboard DASD  Disk controlers RAID Implementation

 Kernel  Append mode  MD Multi-Device module  Raid-0  Raid-1  > Raid-5  Modules:  Raid-1  Raid-4  Raid-5 Software

Hot-plug support  Logical Volume Manager  A single disk viewed by the user  SCSI and IDE disks  Cheapest  Low-end casual environment Software

Outboard Direct Access Storage Device  Seen as a single device  SCSI-to-SCSI boxes  Hot-swap bays  The most robust, the most expensive

 Appears as a drive  Bus-to-bus converters  SCSI-toSCSI, EIDE-to-EIDE  Only Raid-0 and Raid-1  Cheap, reliable, ease of use Inboard DASD

 Plugged cards  Via I/O bus  Driver loaded in the kernel  Less operations to be handle by the Operating System Disk Controllers

 Softwares for cheap and light work-load  Controler cards for heavy work-load Performance