Introduction to RAID Rogério Perino de Oliveira Neves Patrick De Causmaecker

Slides:



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

I/O Management and Disk Scheduling Chapter 11. I/O Driver OS module which controls an I/O device hides the device specifics from the above layers in the.
Faculty of Information Technology Department of Computer Science Computer Organization Chapter 7 External Memory Mohammad Sharaf.
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 Oh yes Whats RAID? Redundant Array (of) Independent Disks. A scheme involving multiple disks which replicates data across multiple drives. Methods.
Magnetic Disk Magnetic disks are the foundation of external memory on virtually all computer systems. A disk is a circular platter constructed of.
RAID Redundant Array of Independent Disks
CS 6560: Operating Systems Design
Raid dr. Patrick De Causmaecker What is RAID Redundant Array of Independent (Inexpensive) Disks A set of disk stations treated as one.
CSCE430/830 Computer Architecture
Chapter 6 External Memory Disk and RAID (Redundant Arrays of Independent Disks) CS-147 Fall 2010 Jonathan Wang.
Faculty of Information Technology Department of Computer Science Computer Organization and Assembly Language Chapter 6 External Memory.
RAID- Redundant Array of Inexpensive Drives. Purpose Provide faster data access and larger storage Provide data redundancy.
R.A.I.D. Copyright © 2005 by James Hug Redundant Array of Independent (or Inexpensive) Disks.
CSE521: Introduction to Computer Architecture Mazin Yousif I/O Subsystem RAID (Redundant Array of Independent Disks)
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)
CPSC-608 Database Systems Fall 2008 Instructor: Jianer Chen Office: HRBB 309B Phone: Notes #6.
1 Storage (cont’d) Disk scheduling Reducing seek time (cont’d) Reducing rotational latency RAIDs.
Other Disk Details. 2 Disk Formatting After manufacturing disk has no information –Is stack of platters coated with magnetizable metal oxide Before use,
Cse Feb-001 CSE 451 Section February 24, 2000 Project 3 – VM.
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.
RAID Systems CS Introduction to Operating Systems.
CSE 451: Operating Systems Winter 2010 Module 13 Redundant Arrays of Inexpensive Disks (RAID) and OS structure Mark Zbikowski Gary Kimura.
Storage System: RAID Questions answered in this lecture: What is RAID? How does one trade-off between: performance, capacity, and reliability? What is.
Transactions and Reliability. File system components Disk management Naming Reliability  What are the reliability issues in file systems? Security.
ICOM 6005 – Database Management Systems Design Dr. Manuel Rodríguez-Martínez Electrical and Computer Engineering Department Lecture 6 – RAID ©Manuel Rodriguez.
Storage Systems CSE 598d, Spring 2007 Lecture 5: Redundant Arrays of Inexpensive Disks Feb 8, 2007.
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 Ref: Stallings. Introduction The rate in improvement in secondary storage performance has been considerably less than the rate for processors and.
RAID Shuli Han COSC 573 Presentation.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Storage Systems.
1 Recitation 8 Disk & File System. 2 Disk Scheduling Disks are at least four orders of magnitude slower than main memory –The performance of disk I/O.
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.
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
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.
RAID COP 5611 Advanced Operating Systems Adapted from Andy Wang’s slides at FSU.
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.
RAID REDUNDANT ARRAY OF INEXPENSIVE DISKS. Why RAID?
CE Operating Systems Lecture 20 Disk I/O. Overview of lecture In this lecture we will look at: Disk Structure Disk Scheduling Disk Management Swap-Space.
I/O Management and Disk Structure Introduction to Operating Systems: Module 14.
RAID SECTION (2.3.5) ASHLEY BAILEY SEYEDFARAZ YASROBI GOKUL SHANKAR.
Copyright © Curt Hill, RAID What every server wants!
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.
RAID Disk Arrays Hank Levy. 212/5/2015 Basic Problems Disks are improving, but much less fast than CPUs We can use multiple disks for improving performance.
RAID Systems Ver.2.0 Jan 09, 2005 Syam. RAID Primer Redundant Array of Inexpensive Disks random, real-time, redundant, array, assembly, interconnected,
Auxiliary Memory Magnetic Disk:
Part IV I/O System Chapter 12: Mass Storage Structure.
RAID Technology By: Adarsha A,S 1BY08A03. Overview What is RAID Technology? What is RAID Technology? History of RAID History of RAID Techniques/Methods.
I/O Errors 1 Computer Organization II © McQuain RAID Redundant Array of Inexpensive (Independent) Disks – Use multiple smaller disks (c.f.
CS Introduction to Operating Systems
Multiple Platters.
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani
RAID Disk Arrays Hank Levy 1.
CSE 451: Operating Systems Spring 2005 Module 17 Redundant Arrays of Inexpensive Disks (RAID) Ed Lazowska Allen Center 570.
CSE 451: Operating Systems Autumn 2010 Module 19 Redundant Arrays of Inexpensive Disks (RAID) Ed Lazowska Allen Center 570.
TECHNICAL SEMINAR PRESENTATION
UNIT IV RAID.
Mark Zbikowski and Gary Kimura
CSE 451: Operating Systems Autumn 2004 Redundant Arrays of Inexpensive Disks (RAID) Hank Levy 1.
CSE 451: Operating Systems Autumn 2009 Module 19 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
CSE 451: Operating Systems Winter 2006 Module 18 Redundant Arrays of Inexpensive Disks (RAID) Ed Lazowska Allen Center 570.
Presentation transcript:

Introduction to RAID Rogério Perino de Oliveira Neves Patrick De Causmaecker William Stallings

A set of disk stations treated as one logical station Data are distributed over the disk stations Redundant capacity is used for parity allowing easy data repair Redundant Array of Independent (Inexpensive) Disks RAID

Disk Layout Methods

Why RAID Combining a group of disk stations by: Linear merging a group of disk into 1 large partition (RAID 0) Stripping merge a group of disk into one large partition, granting faster access rates (RAID 0) Create Mirror disks granting greater data safety (RAID Level 1) Add error correction (by Hamming code on RAID 2, by parity control on raid 3-6)

Levels of RAID 6 levels of RAID (0-5) have been accepted by industry Other kinds have been proposed in literature Level 2 and 4 are not commercially available, they are included for clarity

RAID 0 No Redundancy All data (user and system) are distributed over the disks so that there is a reasonable chance for parallelism Disk is logically a set of strips (blocks, sectors,…). Strips are numbered and assigned consecutively to the disks

Data mapping for a RAID 0 (Linear) Array strip 0 strip 1 strip 2 strip 3 strip 4 strip 5 strip 6 strip 7 strip 8 strip 9 strip 10 strip 11 strip 12 strip 13 strip 14 strip 15 Physical Disk 0 Physical Disk 1 Physical Disk 2 Physical Disk 3 Logical Disk

Data mapping for a RAID 0 (Striping) Array

RAID 0: Performance depends highly on the the request patterns High data transfer rates are reached if –Integral data path is fast (internal controllers, I/O bus of host system, I/O adapters and host memory busses) –Application generates efficient usage of the disk array by requests that span many consecutive strips If response time is important (transactions) more I/O requests can be handled in parallel

Raid 1 (mirrored) strip 0 strip 1 strip 2 strip 3 strip 0 strip 1 strip 2 strip 3 strip 0 strip 1 strip 2 strip 3 Set of Disks Physical Disk 0 Physical Disk 1 Physical Disk 2 Physical Disk n RAID 1 does not use parity, it simply mirrors the data to obtain reliability

RAID 1 Plus: –Increase data security –Reading request can be served by any of the two disks containing the requested data (minimum search time) –Writing request can be performed in parallel to the two disks: no “writing penalty” –Recovery from error is easy, just copy the data from the correct disk –Can be used in combination with RAID 0 for speed/data safety Minus: –Price for disks is doubled –Using RAID 0+1 requires to double the RAID 0 set.

Raid 0+1 (striped+mirrored) strip 0 strip 4 strip 8 strip 12 strip 1 strip 5 strip 9 strip 13 strip 2 strip 6 strip 10 strip 14 strip 3 strip 7 strip 11 strip 15 strip 0 strip 4 strip 8 strip 12 strip 1 strip 5 strip 9 strip 13 strip 2 strip 6 strip 10 strip 14 strip 3 strip 7 strip 11 strip 15 Set #1 of Disks Set #2 of Disks (Mirror) Physical Disk 0 Physical Disk 1 Physical Disk 2 Physical Disk 3 Physical Disk 0 Physical Disk 1 Physical Disk 2 Physical Disk 3

Raid 2 (redundancy through Hamming code) f 0 (b) b2b2 b1b1 b0b0 b2b2 f 1 (b) f 2 (b)

RAID 2 Small strips, one byte or one word Synchronized disks, each I/O operation is performed in a parallel way Error correction code (Hamming code) allows for correction of a single bit error Controller can correct without additional delay Is still expensive, only used in case many frequent errors can be expected

Hamming code P *****0 ****0 *** P *****1 ****1 ***0 =6 Stored sequence Data: 1011 in 7,6,5,3 Parity in 4,2,1 Single error can be repaired

RAID 3 (bit-interleaved parity) P(b) b2b2 b1b1 b0b0 b2b2

RAID 3 Level 2 needs log 2 (number of disks) parity disks Level 3 needs only one, for one parity bit In case one disk crashes, the data can still be reconstructed even on line (“reduced mode”) and be written (X1-4 data, P parity): P = X1+X2+X3+X4 X1=P+X2+X3+X4 RAID 2-3 have high data transfer times, but perform only one I/O at the time so that response times in transaction oriented environments are not so good

RAID 4 (block-level parity) block 0 block 4 block 8 block 12 block 1 block 5 block 9 block 13 block 2 block 6 block 10 block 14 block 3 block 7 block 11 block 15 P(0-3) P(4-7) P(8-11) P(12-15)

RAID 4 Larger strips and one parity disk Blocks are kept on one disk, allowing for parallel access by multiple I/O requests Writing penalty: when a block is written, the parity disk must be adjusted (e.g. writing on X1): P =X4+X3+X2+X1 P’=X4+X3+X2+X1’ =X4+X3+X2+X1’+X1+X1 =P+X1+X1’ Parity disk may be a bottleneck Good response times, less good transfer rates

RAID 5 (block-level distributed parity) block 0 block 4 block 8 block 12 P(16-19) block 1 block 5 block 9 P(12-15) block 16 block 2 block 6 P(8-11) block 13 block 17 block 3 P(4-7) block 10 block 14 block 18 P(0-3) block 7 block 11 block 15 block 19

RAID 5 Distribution of the parity strip to avoid the bottle neck. Can use round robin: Parity disk = (-block number/4) mod 5

Overview of Raid 0, 1 and 2

Overview of Raid 3 and 4

Overview of Raid 5 and 6