RAID. Storage-centric computing, cloud computing. Benefits:

Similar documents
How To Write A Disk Array

Chapter 6 External Memory. Dr. Mohamed H. Al-Meer

Operating Systems. RAID Redundant Array of Independent Disks. Submitted by Ankur Niyogi 2003EE20367

Lecture 36: Chapter 6

Storing Data: Disks and Files

Reliability and Fault Tolerance in Storage

RAID. Contents. Definition and Use of the Different RAID Levels. The different RAID levels: Definition Cost / Efficiency Reliability Performance

PIONEER RESEARCH & DEVELOPMENT GROUP

CS420: Operating Systems

Fault Tolerance & Reliability CDA Chapter 3 RAID & Sample Commercial FT Systems

RAID Performance Analysis

Dependable Systems. 9. Redundant arrays of. Prof. Dr. Miroslaw Malek. Wintersemester 2004/05

Why disk arrays? CPUs improving faster than disks

Data Storage - II: Efficient Usage & Errors

Why disk arrays? CPUs speeds increase faster than disks. - Time won t really help workloads where disk in bottleneck

How to choose the right RAID for your Dedicated Server

RAID Level Descriptions. RAID 0 (Striping)

An Introduction to RAID. Giovanni Stracquadanio

technology brief RAID Levels March 1997 Introduction Characteristics of RAID Levels

Disks and RAID. Profs. Bracy and Van Renesse. based on slides by Prof. Sirer

File System Design and Implementation

Definition of RAID Levels

Striped Set, Advantages and Disadvantages of Using RAID

DELL RAID PRIMER DELL PERC RAID CONTROLLERS. Joe H. Trickey III. Dell Storage RAID Product Marketing. John Seward. Dell Storage RAID Engineering

RAID Basics Training Guide

RAID. Tiffany Yu-Han Chen. # The performance of different RAID levels # read/write/reliability (fault-tolerant)/overhead

RAID HARDWARE. On board SATA RAID controller. RAID drive caddy (hot swappable) SATA RAID controller card. Anne Watson 1

How To Create A Multi Disk Raid

CS161: Operating Systems

How To Improve Performance On A Single Chip Computer

RAID Made Easy By Jon L. Jacobi, PCWorld

Comprehending the Tradeoffs between Deploying Oracle Database on RAID 5 and RAID 10 Storage Configurations. Database Solutions Engineering

Input / Ouput devices. I/O Chapter 8. Goals & Constraints. Measures of Performance. Anatomy of a Disk Drive. Introduction - 8.1

RAID Overview

RAID technology and IBM TotalStorage NAS products

RAID Technology. RAID Overview

HARD DRIVE CHARACTERISTICS REFRESHER

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

Module 6. RAID and Expansion Devices

RAID Overview: Identifying What RAID Levels Best Meet Customer Needs. Diamond Series RAID Storage Array

IBM ^ xseries ServeRAID Technology

RAID Storage System of Standalone NVR

Introduction Disks RAID Tertiary storage. Mass Storage. CMSC 412, University of Maryland. Guest lecturer: David Hovemeyer.

Physical Data Organization

Lecture 23: Multiprocessors

Disk Array Data Organizations and RAID

RAID. RAID 0 No redundancy ( AID?) Just stripe data over multiple disks But it does improve performance. Chapter 6 Storage and Other I/O Topics 29

Filing Systems. Filing Systems

Disk Storage & Dependability

COSC 6374 Parallel Computation. Parallel I/O (I) I/O basics. Concept of a clusters

Database Management Systems

Chapter 13. Disk Storage, Basic File Structures, and Hashing

VERY IMPORTANT NOTE! - RAID

RAID: Redundant Arrays of Independent Disks

California Software Labs

W4118: RAID. Instructor: Junfeng Yang

Summer Student Project Report

Hard Disk Drives and RAID

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 13-1

Distributed Storage Networks and Computer Forensics

RAID Levels and Components Explained Page 1 of 23

Algorithms and Methods for Distributed Storage Networks 5 Raid-6 Encoding Christian Schindelhauer

Storing Data: Disks and Files. Disks and Files. Why Not Store Everything in Main Memory? Chapter 7

RAID Implementation for StorSimple Storage Management Appliance

Price/performance Modern Memory Hierarchy

Standard RAID levels - Wikipedia, the free encycl...

Storage node capacity in RAID0 is equal to the sum total capacity of all disks in the storage node.

Storage and File Structure

Chapter 9: Peripheral Devices: Magnetic Disks

Storage. The text highlighted in green in these slides contain external hyperlinks. 1 / 14

HP Smart Array Controllers and basic RAID performance factors

Chapter 13 Disk Storage, Basic File Structures, and Hashing.

Guide to SATA Hard Disks Installation and RAID Configuration

Sistemas Operativos: Input/Output Disks

Using RAID6 for Advanced Data Protection

OceanStor 9000 InfoProtector Technical White Paper. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

Today s Papers. RAID Basics (Two optional papers) Array Reliability. EECS 262a Advanced Topics in Computer Systems Lecture 4

CS 61C: Great Ideas in Computer Architecture. Dependability: Parity, RAID, ECC

Storage Technologies - 2

Introduction. What is RAID? The Array and RAID Controller Concept. Click here to print this article. Re-Printed From SLCentral

1 Storage Devices Summary

Nutanix Tech Note. Failure Analysis All Rights Reserved, Nutanix Corporation

NAS 251 Introduction to RAID

Best Practices RAID Implementations for Snap Servers and JBOD Expansion

An Introduction to RAID 6 ULTAMUS TM RAID

Chapter 13. Chapter Outline. Disk Storage, Basic File Structures, and Hashing

Chapter 11 I/O Management and Disk Scheduling

SSDs and RAID: What s the right strategy. Paul Goodwin VP Product Development Avant Technology

Technical White paper RAID Protection and Drive Failure Fast Recovery

High-Performance SSD-Based RAID Storage. Madhukar Gunjan Chakhaiyar Product Test Architect

Transcription:

RAID Storage-centric computing, cloud computing. Benefits: Improved reliability (via error correcting code, redundancy). Improved performance (via redundancy).

Independent disks. RAID Level 0 Provides a striping configuration at the level of blocks (block striped). No redundancy (such as mirroring or parity bits). Requests to different disks can be handled in parallel. Single large request can be handled in parallel (improved performance but not reliability). - Bit-level striping - Byte-level striping - Block-level striping: most common

Independent disks. RAID Level 1 Redundancy (mirroring). Read can be from either disk. Write to both disks (can be done in parallel). Improved reliability (but not necessarily performance). High cost.

RAID Level 2 Synchronized spindles (r/w heads in same pos.). Parity bits for error-correcting code. P1 = x3 x5 x7 (parity=0 when # of 1 bits is even) P2 = x3 x6 x7 (parity=1 when # of 1 bits is odd) P4 = x5 x6 x7 Can correct 1-bit error C1 = P1 x3 x5 x7 if C1 = 1, there must be an error in one of the 4 bits: 1, 3, 5, and 7, which can be determined using a table. Hamming Code P1 P2 X3 P4 X5 X6 X7 - When a bit in data disks is damaged, the computed parity does not match the stored parity. - When a stored parity bit is damaged, then it does not match the computed parity.

1-bit error correction C1 = P1 x3 x5 x7 C2 = P2 x3 x6 x7 C4 = P4 x5 x6 x7 When C1C2C4 = 000, there is no disk errors. Otherwise, there is some disk error. Example: If X3X5X6X7 = 1010, then P1P2P4 = 101, hence C1C2C4 = 000. If we have the following: C1C2C4 = 110, then according to the table, it indicates that X3 is the disk that has the error (X3 appears in both C1 and C2). C4 0 0 0 0 1 1 1 1 C2 0 0 1 1 0 0 1 1 C1 0 1 0 1 0 1 0 1 ------------------------------------------ -- 1 2 3 4 5 6 7 P1 error P2 error X3 in error P4 error X5 in error X6 in error X7 in error If one of the disks fails, the remaining disks can be used to reconstruct the damaged data. It requires 3 disks overhead for 4 disks of data, whereas RAID 1 requires 4 disks overhead.

RAID Level 3 (bit-interleaved parity) Single parity disk is needed (P4). P4 is defined as follows: P4(i) = x3(i) x2(i) x1(i) x0(i) If x1 fails, then recovery can be carried out x1(i) = 0: if P4(i) = x3(i) x2(i) x0(i) x1(i) = 1: if P4(i) x3(i) x2(i) x0(i) Reduced mode: Read: missing data regenerated on the fly. Write: update parity disk (P4) for later regeneration.

RAID Level 3 (contd.) Since disk controllers can detect if a sector has been read correctly, so a single parity bit can be used for error correction and detection. RAID 3 is as good as RAID 2, but only with one parity disk overhead (RAID 2 is not used in practice). Advantages over RAID 1: Less overhead. - One parity disk is needed Transfer rate for R/W a single block is faster. N-way data striping (R/W of a byte are spread over multiple disks) Disadvantages over RAID 1: Fewer I/Os per second since every disk has to participate in every I/O request. Expense of computing and writing the parity.

RAID Level 4 (block-interleaved parity) Independent member disks Block level striping, and a parity block on parity disk for all N blocks on data disks. Higher overall I/O rate since all disks can be read in parallel.

RAID Level 4 (contd.) Implication of a write request P4 (i) = x3(i) x2(i) x1 (i) x0(i) = x3(i) x2(i) x1 (i) x0(i) x1(i) x1(i) = P4(i) x1(i) x1 (i) two reads (P4(i), x1(i)) and two writes (P4 (i), x1 (i)). Parity disk becomes potential bottleneck.

RAID Level 5 Independent member disks. Organized similarly as RAID 4. Parity strips are across all disks (parity for n th disk is stored in disk (n+1) mod 5) Avoid potential bottleneck in RAID 4.

Similar to RAID 5. Differences: RAID Level 6 2 bits of redundant data for every 4 bits of data Can tolerate 2 disks failures. P + Q redundancy scheme using Reed-Solomon Codes (two parity disks P and Q spreading in all disks

Nested RAID: RAID 0+1 RAID 0+1: disks are striped first, and then a stripe is mirrored to an equivalent stripe (two stripes). RAID 0 + 1 2 striping sets: {D1,D3,D5,D7}, {D2,D4,D6,D8} Bottom-line: if 2 drives fail in different stripe sets, the entire system is down (both stripes down). stripe set D2 D4 D6 D8 D1 D3 D5 D7 D1 D2 D3 D4

Nested RAID: RAID 1+0 RAID 1+0: disks are mirrored in pairs first, and then the resulting mirrored pairs are striped (one stripe). stripe set D2 D4 D6 D8 D1 D2 D3 D4 RAID 1 + 0 4 mirror sets: {D1,D2},, {D7,D8} Bottom-line: at most 4 drives can fail without affecting operation, so long as they are in diff. mirror sets. mirror set D1 D3 D5 D7

RAID Level 10 (RAID 1 + 0) It uses more disk space to provide redundant data than RAID 5. But, it offers a performance benefit through reading from all disks in parallel and avoiding the write penalty of RAID 5 (no parity). A second benefit is that it enjoys a better performance than RAID 5 when a failed drive remains unreplaced. In RAID 5, each attempted read of the failed drive can be fulfilled only by reading all of the other disks, whereas in RAID 10, a failed disk can be recovered by a single read of its mirrored pair. Because it has no parity blocks

Other Nested RAID RAID 1+0+0 RAID 0+3/3+0 RAID 0+5 / 5+0 / 5+1 / 5+3 RAID 6+0

References http://www.consensys.com/html/rzma1_raid_disk_array overvie.html http://www.ecs.umass.edu/ece/koren/architecture/raid/raidhome.html