© 2009 EMC Corporation. All rights reserved. Why do we need RAID o Performance limitation of disk drive o An individual drive has a certain life expectancy.

Slides:



Advertisements
Similar presentations
By Rakshith Venkatesh Outline What is RAID? RAID configurations used. Performance of each configuration. Implementations. Way.
Advertisements

Redundant Array of Independent Disks (RAID) Striping of data across multiple media for expansion, performance and reliability.
RAID Redundant Array of Inexpensive Disks Presented by Greg Briggs.
Copyright © 2009 EMC Corporation. Do not Copy - All Rights Reserved.
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.
1 Jason Drown Mark Rodden (Redundant Array of Inexpensive Disks) RAID.
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 Inexpensive Disks Supplemental Material not in book.
RAID Redundant Array of Independent Disks
Module – 3 Data protection – raid
 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.
© 2009 EMC Corporation. All rights reserved. EMC Proven Professional The #1 Certification Program in the information storage and management industry Data.
RAID- Redundant Array of Inexpensive Drives. Purpose Provide faster data access and larger storage Provide data redundancy.
RAID Redundant Arrays of Inexpensive Disks –Using lots of disk drives improves: Performance Reliability –Alternative: Specialized, high-performance hardware.
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.
Lecture 36: Chapter 6 Today’s topic –RAID 1. RAID Redundant Array of Inexpensive (Independent) Disks –Use multiple smaller disks (c.f. one large disk)
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.
High Performance Computing Course Notes High Performance Storage.
I/O Systems and Storage Systems May 22, 2000 Instructor: 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.
Redundant Array of Inexpensive Disks (RAID). Redundant Arrays of Disks Files are "striped" across multiple spindles Redundancy yields high data availability.
Chapter 6 RAID. Chapter 6 — Storage and Other I/O Topics — 2 RAID Redundant Array of Inexpensive (Independent) Disks Use multiple smaller disks (c.f.
RAID Shuli Han COSC 573 Presentation.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Storage Systems.
CSE 321b Computer Organization (2) تنظيم الحاسب (2) 3 rd year, Computer Engineering Winter 2015 Lecture #4 Dr. Hazem Ibrahim Shehata Dept. of Computer.
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.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
Redundant Array of Inexpensive Disks aka Redundant Array of Independent Disks (RAID) Modified from CCT slides.
Copyright © 2014 EMC Corporation. All Rights Reserved. Block Storage Provisioning and Management Upon completion of this module, you should be able to:
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.
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.
Αρχιτεκτονική Υπολογιστών Ενότητα # 6: RAID Διδάσκων: Γεώργιος Κ. Πολύζος Τμήμα: Πληροφορικής.
RAID Systems Ver.2.0 Jan 09, 2005 Syam. RAID Primer Redundant Array of Inexpensive Disks random, real-time, redundant, array, assembly, interconnected,
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.
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
Network-Attached Storage. Network-attached storage devices Attached to a local area network, generally an Ethernet-based network environment.
I/O Errors 1 Computer Organization II © McQuain RAID Redundant Array of Inexpensive (Independent) Disks – Use multiple smaller disks (c.f.
CSE 451: Operating Systems Spring 2010 Module 18 Redundant Arrays of Inexpensive Disks (RAID) John Zahorjan Allen Center 534.
RAID.
Storage HDD, SSD and RAID.
CMPE Database Systems Workshop June 16 Class Meeting
RAID Overview.
Multiple Platters.
Fujitsu Training Documentation RAID Groups and Volumes
RAID Non-Redundant (RAID Level 0) has the lowest cost of any RAID
CSE 451: Operating Systems Spring 2006 Module 18 Redundant Arrays of Inexpensive Disks (RAID) John Zahorjan Allen Center.
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani
RAID Disk Arrays Hank Levy 1.
TECHNICAL SEMINAR PRESENTATION
UNIT IV RAID.
Mark Zbikowski and Gary Kimura
CSE 451: Operating Systems Winter 2007 Module 18 Redundant Arrays of Inexpensive Disks (RAID) Ed Lazowska Allen Center 570.
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani April 23, 2019
IST346: Storage and File Systems
IT 344: Operating Systems Winter 2007 Module 18 Redundant Arrays of Inexpensive Disks (RAID) Chia-Chi Teng CTB
Storage Management Lecture 7.
Seminar on Enterprise Software
Presentation transcript:

© 2009 EMC Corporation. All rights reserved. Why do we need RAID o Performance limitation of disk drive o An individual drive has a certain life expectancy oMeasured in MTBF (Mean Time Between Failure) oThe more the number of HDDs in a storage array, the larger the probability for disk failure. For example: oIf the MTBF of a drive is 750,000 hours, and there are 100 drives in the array, then the MTBF of the array becomes 750,000 / 100, or 7,500 hours o RAID was introduced to mitigate this problem o RAID provides: oIncrease capacity oHigher availability oIncreased performance

© 2009 EMC Corporation. All rights reserved. After completing this chapter, you will be able to: oDescribe what is RAID and the needs it addresses oDescribe the concepts upon which RAID is built oDefine and compare RAID levels oRecommend the use of the common RAID levels based on performance and availability considerations oExplain factors impacting disk drive performance

© 2009 EMC Corporation. All rights reserved. RAID Array Components RAID Controller Hard Disks Logical Array Physical Array RAID Array Host

© 2009 EMC Corporation. All rights reserved. RAID Implementations oHardware (usually a specialized disk controller card) oControls all drives attached to it oArray(s) appear to host operating system as a regular disk drive oProvided with administrative software oSoftware oRuns as part of the operating system oPerformance is dependent on CPU workload oDoes not support all RAID levels

© 2009 EMC Corporation. All rights reserved. RAID Levels o0 Striped array with no fault tolerance o1 Disk mirroring oNested RAID (i.e., 1 + 0, 0 + 1, etc.) o3 Parallel access array with dedicated parity disk o4 Striped array with independent disks and a dedicated parity disk o5 Striped array with independent disks and distributed parity o6 Striped array with independent disks and dual distributed parity

© 2009 EMC Corporation. All rights reserved. Data Organization: Striping Stripe 1 Stripe 2 Strips Strip 1Strip 2Strip 3 Stripe Strip Stripe

© 2009 EMC Corporation. All rights reserved. RAID 0 oData is distributed across the HDDs in the RAID set. oAllows multiple data to be read or written simultaneously, and therefore improves performance. oDoes not provide data protection and availability in the event of disk failures.

© 2009 EMC Corporation. All rights reserved. RAID Host RAID Controller

© 2009 EMC Corporation. All rights reserved. RAID 1 oData is stored on two different HDDs, yielding two copies of the same data. oProvides availability. oIn the event of HDD failure, access to data is still available from the surviving HDD. oWhen the failed disk is replaced with a new one, data is automatically copied from the surviving disk to the new disk. oDone automatically by RAID the controller. oDisadvantage: The amount of storage capacity is twice the amount of data stored. oMirroring is NOT the same as doing backup!

© 2009 EMC Corporation. All rights reserved. RAID 1 Block 1 Block 0 Host Block 0 RAID Controller

© 2009 EMC Corporation. All rights reserved. Nested RAID oCombines the performance benefits of RAID 0 with the redundancy benefit of RAID 1. oRAID 0+1 – Mirrored Stripe oData is striped across HDDs, then the entire stripe is mirrored. oIf one drive fails, the entire stripe is faulted. oRebuild operation requires data to be copied from each disk in the healthy stripe, causing increased load on the surviving disks. oRAID 1+0 – Striped Mirror oData is first mirrored, and then both copies are striped across multiple HDDs. oWhen a drive fails, data is still accessible from its mirror. oRebuild operation only requires data to be copied from the surviving disk into the replacement disk.

© 2009 EMC Corporation. All rights reserved. Nested RAID – 0+1 (Striping and Mirroring) Block 3 Block 2 Block 1 Host RAID 0 Block 0 Block 3 Block 2 Block 1 Block 0 RAID 1 RAID Controller

© 2009 EMC Corporation. All rights reserved. Nested RAID – 0+1 (Striping and Mirroring) RAID Controller Block 3 Block 2 Block 1 RAID 0 Block 0 RAID 1 Block 3 Block 2 Block 1 Block 0 Block 3 Block 2 Block 1 Block 0 Host

© 2009 EMC Corporation. All rights reserved. Host Nested RAID – 1+0 (Mirroring and Striping) Block 3 Block 1 RAID 1 Block 0 Block 1 RAID 0 Block 2 RAID Controller

© 2009 EMC Corporation. All rights reserved. Host Nested RAID – 1+0 (Mirroring and Striping) RAID Controller RAID 1 Block 0 RAID 0 Block 2 Block 3 Block 1 Block 0 Block 2

© 2009 EMC Corporation. All rights reserved. RAID Redundancy: Parity Parity Disk Host RAID Controller Parity calculation = 18 The middle drive fails: ? + 7 = 18 ? = 18 – 4 – 6 – 7 ? = 1 ?

© 2009 EMC Corporation. All rights reserved. RAID 3 and RAID 4 oStripes data for high performance and uses parity for improved fault tolerance. oOne drive is dedicated for parity information. oIf a drive fails, data can be reconstructed using data in the parity drive. oFor RAID 3, data read / write is done across the entire stripe. oProvide good bandwidth for large sequential data access such as video streaming. oFor RAID 4, data read/write can be independently on single disk.

© 2009 EMC Corporation. All rights reserved. Host RAID Controller Block 1 Block 2 Block 3 P Block 0 Block 3 Block 2 Block 1 Block 0 Parity Generated RAID 3

© 2009 EMC Corporation. All rights reserved. RAID 5 and RAID 6 oRAID 5 is similar to RAID 4, except that the parity is distributed across all disks instead of stored on a dedicated disk. oThis overcomes the write bottleneck on the parity disk. oRAID 6 is similar to RAID 5, except that it includes a second parity element to allow survival in the event of two disk failures. oThe probability for this to happen increases and the number of drives in the array increases. oCalculates both horizontal parity (as in RAID 5) and diagonal parity. oHas more write penalty than in RAID 5. oRebuild operation may take longer than on RAID 5.

© 2009 EMC Corporation. All rights reserved. Host Block 0 P Block 7 RAID Controller P Block 0Block 4Block 0 Block 1 Block 5 Block 2 Block 6 Block 3 Parity Generated Block 0 P Block 4 P Block 4 P Block 4 Parity Generated RAID 5

© 2009 EMC Corporation. All rights reserved. RAID Min Disks Storage Efficiency % CostRead PerformanceWrite Performance 02100Low Very good for both random and sequential read Very good 1250High Good Better than a single disk Good Slower than a single disk, as every write must be committed to two disks 33 (n-1)*100/n where n= number of disks Moderate Good for random reads and very good for sequential reads Poor to fair for small random writes Good for large, sequential writes 53 (n-1)*100/n where n= number of disks Moderate Very good for random reads Good for sequential reads Fair for random write Slower due to parity overhead Fair to good for sequential writes 64 (n-2)*100/n where n= number of disks Moderate but more than RAID 5 Very good for random reads Good for sequential reads Good for small, random writes (has write penalty) 1+0 and HighVery goodGood RAID Comparison

© 2009 EMC Corporation. All rights reserved. RAID Penalty Exercise oTotal IOPS at peak workload is 1200 oRead/Write ratio 2:1 oCalculate IOPS requirement at peak activity for oRAID 1/0 oRAID 5 Additional Task Discuss impact of sequential & Random I/O in different RAID Configuration

© 2009 EMC Corporation. All rights reserved. RAID Controller Hot Spares

© 2009 EMC Corporation. All rights reserved. Chapter Summary Key points covered in this chapter: oWhat RAID is and the needs it addresses oThe concepts upon which RAID is built oSome commonly implemented RAID levels