RAID Tony Rogerson SQL Server MVP Torver Computer Consultants

Slides:



Advertisements
Similar presentations
A CASE FOR REDUNDANT ARRAYS OF INEXPENSIVE DISKS (RAID) D. A. Patterson, G. A. Gibson, R. H. Katz University of California, Berkeley.
Advertisements

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.
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 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
CS 6560: Operating Systems Design
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.
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.
Fault tolerance and disaster recovery
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.
RAID CS5493/7493. RAID : What is it? Redundant Array of Independent Disks configured into a single logical storage unit.
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.
Other Disk Details. 2 Disk Formatting After manufacturing disk has no information –Is stack of platters coated with magnetizable metal oxide Before use,
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Mass-Storage Systems Revised Tao Yang.
Servers Redundant Array of Inexpensive Disks (RAID) –A group of hard disks is called a disk array FIGURE Server with redundant NICs.
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.
Lecture 11: Storage Systems Disk, RAID, Dependability Kai Bu
NEC Computers SAS - Confidential - Oct RAID General Concept 1 RAID General Concept Auteur : Franck THOMAS.
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.
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.
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.
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.
Day 10 Hardware Fault Tolerance RAID. High availability All servers should be on UPSs –2 Types Smart UPS –Serial cable connects from UPS to computer.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
RAID Redundant Array of Inexpensive Disks. History Single Large Expensive Disk (SLED) Single Large Expensive Disk (SLED) IBM and Berkeley University IBM.
Lecture 9 of Advanced Databases Storage and File Structure (Part II) Instructor: Mr.Ahmed Al Astal.
Redundant Array of Inexpensive Disks aka Redundant Array of Independent Disks (RAID) Modified from CCT slides.
CSI-09 COMMUNICATION TECHNOLOGY FAULT TOLERANCE AUTHOR: V.V. SUBRAHMANYAM.
INFO1 – Practical problem solving in the digital world
RAID SECTION (2.3.5) ASHLEY BAILEY SEYEDFARAZ YASROBI GOKUL SHANKAR.
1/14/2005Yan Huang - CSCI5330 Database Implementation – Storage and File Structure Storage and File Structure.
McLean HIGHER COMPUTER NETWORKING Lesson 15 (a) Disaster Avoidance Description of disaster avoidance: use of anti-virus software use of fault tolerance.
Chapter 12 – Mass Storage Structures (Pgs )
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.
Αρχιτεκτονική Υπολογιστών Ενότητα # 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,
Chap 5: Hard Drives. Chap 5: Magnetic HD Chap 5: Solid State Drives.
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.
RAID Presentation Raid is an acronym for “Redundant array of independent Drives”, or Redundant array of inexpensive drives”. The main concept of RAID is.
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 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.
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
Fujitsu Training Documentation RAID Groups and Volumes
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani
RAID Disk Arrays Hank Levy 1.
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 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
IT 344: Operating Systems Winter 2007 Module 18 Redundant Arrays of Inexpensive Disks (RAID) Chia-Chi Teng CTB
Presentation transcript:

RAID Tony Rogerson SQL Server MVP Torver Computer Consultants

Agenda RAID Levels and explanation. RAID Levels and explanation. SCSI SCSI ATA ATA Backup media Backup media

RAID Most popular levels are RAID 0, 1, 5 and 10. Most popular levels are RAID 0, 1, 5 and 10. Array of inexpensive disks. Array of inexpensive disks. More disks give more heads give faster transfer rates. More disks give more heads give faster transfer rates.

RAID 0 Disk striping (data is written across disks in a stripe). Disk striping (data is written across disks in a stripe). Stripe size is a multiple of 2, size depends on the RAID level in use, RAID 1 and 0 have a high stripe size, usually 128K whereas RAID 5 has a low stripe size usually 16K. Stripe size is a multiple of 2, size depends on the RAID level in use, RAID 1 and 0 have a high stripe size, usually 128K whereas RAID 5 has a low stripe size usually 16K. RAID 0 offers no redundancy (no fault tolerance). RAID 0 offers no redundancy (no fault tolerance). The 2 128K stripes of data are written in parallel. The 2 128K stripes of data are written in parallel. Disk 0 Disk 1 Controller 256K Data 128K Data

RAID 1 (Mirroring) Minimum of 2 disks, literally one disk is a complete mirror of the other. Minimum of 2 disks, literally one disk is a complete mirror of the other. One fails the other takes over One fails the other takes over When reading can read both disks (two copies of the data) – very fast read and write access. When reading can read both disks (two copies of the data) – very fast read and write access. Disk 0 Disk 1 Controller 256K Data

Duplexing Controller Mirroring (2 controllers) each with a mirror. Controller Mirroring (2 controllers) each with a mirror. Software mirroring (RAID1) Disk 0 Disk 1 Controller Disk 0 Disk 1 Controller RAID 0, 1, 10 or 5 )

RAID 10 or RAID 01 RAID 10 is mirroring (1) then striping (0) RAID 10 is mirroring (1) then striping (0) RAID 01 is striping (0) then mirroring (1) RAID 01 is striping (0) then mirroring (1) Disk 0 Disk 1 256K Data Disk 2 Disk 3 128K Data RAID K Data 1.Write Single Stripe 2.Mirror 3.Write Single Stripe 4.Mirror Disk 0 Disk 1 Disk 2 Disk 3 128K Data RAID K Data 1.Write Single Stripe 2.Write Single Stripe 3.Mirror 256K Data

RAID 10 or RAID 01 Minimum of 4 disks because data needs mirroring and striping. Minimum of 4 disks because data needs mirroring and striping. Massive difference when comes to fault tolerance so be careful! Massive difference when comes to fault tolerance so be careful! RAID 10 allows for more fault tolerance – any disk can go so long as it has a mirror. RAID 10 allows for more fault tolerance – any disk can go so long as it has a mirror. RAID 01 has poor fault tolerance – loose 1 disk in both mirrors and array fails. RAID 01 has poor fault tolerance – loose 1 disk in both mirrors and array fails. Make absolutely sure you are getting what you think you are getting – there is a difference!! Make absolutely sure you are getting what you think you are getting – there is a difference!!

RAID 5 Minimum of 3 disks required. Minimum of 3 disks required. Uses parity to recalculate data in case of disk failure (an EOR formula). Uses parity to recalculate data in case of disk failure (an EOR formula). Critical failure occurs on failure of 2 disks. Critical failure occurs on failure of 2 disks. Performance degradation on single disk failure. Performance degradation on single disk failure. Uses a smaller stripe size to aid parity calculation. Uses a smaller stripe size to aid parity calculation. Disk 0 Disk 1 Controller 256K Data 16K Data Disk 1 16K Parity

RAID 5 Data Calculation EOR to calc parity and EOR to re-calc data EOR to calc parity and EOR to re-calc data Stripe 1 goes to Disk 1 -> (170) Stripe 2 goes to Disk 2 -> (189) Parity Stripe to Disk 3 is EOR (23) is written to disk 3. Recovery (Disk 2 has failed)… Take data from Disk EOR Take parity from Disk Data on Disk 2 is

Hot/Online Spare Completely redundant disk assigned to the array. Completely redundant disk assigned to the array. On disk failure spare is built from mirror (raid 1) or parity (raid 5). On disk failure spare is built from mirror (raid 1) or parity (raid 5). Not instantaneous; time taken to rebuild disk can be hours – exposed until disk is built. Not instantaneous; time taken to rebuild disk can be hours – exposed until disk is built. When building spare capacity may reduce. When building spare capacity may reduce. Should be same size, speed etc… of other disks in the array. Should be same size, speed etc… of other disks in the array.

RAID Recommendations RAID 10 offers best performance and fault tolerance because…. RAID 10 offers best performance and fault tolerance because…. Has two copies of the data it can read from to balance the load across more disks. Has two copies of the data it can read from to balance the load across more disks. Array survives so long as a disk mirror is intact; so on an 8 disk array you can lose 4 disks so long as they are mirrors. Array survives so long as a disk mirror is intact; so on an 8 disk array you can lose 4 disks so long as they are mirrors. RAID 5 offers higher capacity if space in the server is tight; costs less (not an issue now a days with disks costing around £300) RAID 5 offers higher capacity if space in the server is tight; costs less (not an issue now a days with disks costing around £300) Can only lose 1 disk in the array before critical failure Can only lose 1 disk in the array before critical failure

SCSI update (Oct 2003) Current mainstream level is U160 / U320 Current mainstream level is U160 / U320 Speed either 10Krpm or 15Krpm Speed either 10Krpm or 15Krpm Size 18GB -> 146GB Size 18GB -> 146GB Cost, faster disks (15Krpm) tend to be a bit more expensive – you pay for speed rather than capacity now; 36GB (10Krpm = £114, 15Krpm = £244); £146GB 10Krpm = £459 Cost, faster disks (15Krpm) tend to be a bit more expensive – you pay for speed rather than capacity now; 36GB (10Krpm = £114, 15Krpm = £244); £146GB 10Krpm = £459 Prices from on 13 th Oct.

ATA Disk access speeds less than SCSI; disks are slower - <= 7200rpm. Disk access speeds less than SCSI; disks are slower - <= 7200rpm. Good data transfer speeds on a par with SCSI U160. Good data transfer speeds on a par with SCSI U160. Ideal for holding online backups. Ideal for holding online backups. 1TB RAID 0 array (4x250GB) costs just £900. 1TB RAID 0 array (4x250GB) costs just £900.

New Backup Media Standard is DLT or DAT but other tape media in use. Standard is DLT or DAT but other tape media in use. Tape is not reliable. Tape is not reliable. New external disks USB2.0 or Firewire; 80Gb for approx £130; speeds up to 10MBytes/second. New external disks USB2.0 or Firewire; 80Gb for approx £130; speeds up to 10MBytes/second. Disk is actually an ATA disk; these disks have a massively longer life than tapes and they are less delicate and give faster access times. Disk is actually an ATA disk; these disks have a massively longer life than tapes and they are less delicate and give faster access times.

Further Reading Jim Gray has done research into Serial ATA and Parallel ATA performance and reliability, they are using the TerraServer data to do the benchmarking/testing…. Jim Gray has done research into Serial ATA and Parallel ATA performance and reliability, they are using the TerraServer data to do the benchmarking/testing…. Comparison between Serial and Parallel ATA… Comparison between Serial and Parallel ATA…

Question and Answers Thanks for listening!