CS 346 – April 4 Mass storage –Disk formatting –Managing swap space –RAID Commitment –Please finish chapter 12.

Slides:



Advertisements
Similar presentations
Silberschatz, Galvin and Gagne Operating System Concepts Disk Scheduling Disk IO requests are for blocks, by number Block requests come in an.
Advertisements

DISK FAILURES PROF. T.Y.LIN CS-257 Presenter: Shailesh Benake(104)
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.
I/O Management and Disk Scheduling
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.
Faculty of Information Technology Department of Computer Science Computer Organization Chapter 7 External Memory Mohammad Sharaf.
Mass-Storage Structure
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.
- Dr. Kalpakis CMSC Dr. Kalpakis 1 Outline In implementing DBMS we need to answer How should the system store and manage very large amounts of data?
RAID Redundant Array of Independent Disks
CS 6560: Operating Systems Design
RAID- Redundant Array of Inexpensive Drives. Purpose Provide faster data access and larger storage Provide data redundancy.
2P13 Week 11. A+ Guide to Managing and Maintaining your PC, 6e2 RAID Controllers Redundant Array of Independent (or Inexpensive) Disks Level 0 -- Striped.
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.
Reliability of Disk Systems. Reliability So far, we looked at ways to improve the performance of disk systems. Next, we will look at ways to improve the.
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, Chapter 12: Mass-Storage Systems.
Disks CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
RAID Systems CS Introduction to Operating Systems.
Servers Redundant Array of Inexpensive Disks (RAID) –A group of hard disks is called a disk array FIGURE Server with redundant NICs.
12.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Chapter 12: Mass-Storage Systems.
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.
CS 346 – Chapter 10 Mass storage –Advantages? –Disk features –Disk scheduling –Disk formatting –Managing swap space –RAID.
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.
Redundant Array of Independent Disks
Chapter Sixteen Data Recovery and Fault Tolerance.
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
Mass storage Structure Unit 5 (Chapter 14). Disk Structures Magnetic disks are faster than tapes. Disk drives are addressed as large one- dimensional.
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.
Redundant Array of Inexpensive Disks aka Redundant Array of Independent Disks (RAID) Modified from CCT slides.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
Disk Structure Disk drives are addressed as large one- dimensional arrays of logical blocks, where the logical block is the smallest unit of transfer.
Chapter 12: Mass-Storage Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 12: Mass-Storage Systems Overview of Mass.
Page 110/12/2015 CSE 30341: Operating Systems Principles Network-Attached Storage  Network-attached storage (NAS) is storage made available over a network.
CS 6502 Operating Systems Dr. J.. Garrido Device Management (Lecture 7b) CS5002 Operating Systems Dr. Jose M. Garrido.
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.
Disks Chapter 5 Thursday, April 5, Today’s Schedule Input/Output – Disks (Chapter 5.4)  Magnetic vs. Optical Disks  RAID levels and functions.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 14: Mass-Storage Systems Disk Structure Disk Scheduling Disk Management Swap-Space.
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.
Storage and File structure COP 4720 Lecture 20 Lecture Notes.
Disk storage systems Question#1 (True/False) A track is divided into multiple units called sectors.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Disk Failures Skip. Index 13.4 Disk Failures Intermittent Failures Organizing Data by Cylinders Stable Storage Error- Handling.
Network-Attached Storage. Network-attached storage devices Attached to a local area network, generally an Ethernet-based network environment.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 10: Mass-Storage Systems.
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.
I/O System Chapter 5 Designed by .VAS.
Chapter 12: Mass-Storage Structure
Operating System I/O System Monday, August 11, 2008.
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani
Chapter 12: Mass-Storage Systems
Overview Continuation from Monday (File system implementation)
TECHNICAL SEMINAR PRESENTATION
RAID Redundant Array of Inexpensive (Independent) Disks
UNIT IV RAID.
Mark Zbikowski and Gary Kimura
RAID RAID Mukesh N Tekwani April 23, 2019
Disk Scheduling The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk.
Presentation transcript:

CS 346 – April 4 Mass storage –Disk formatting –Managing swap space –RAID Commitment –Please finish chapter 12.

Disk mgmt Low-level (physical) formatting –Dividing disk medium into sectors –Besides data, sector contains error-correcting code –Later, disk controller will manipulate individual sectors High-level (logical) formatting –Record a data structure for file system on disk –Partition groups of cylinders if desired –Associate adjacent blocks into logical clusters to support file I/O Sector sparing: compensate for bad blocks! –Maintain list of bad blocks; replace each with a spare one Boot from disk: boot blocks in predefined locations contain system code to load boot partition of drive

Swap space Recall: used in virtual memory to store pages evicted from RAM –Faster to return to RAM than loading from file from scratch –In effect: disk space is now being used as extension of main memory, the very essence of VM Logically a separate partition of the disk from the file system When process started, its given some swap space Swap map: kernel data structure to track usage –Associate an counter value with each page in swap area –0 means that page is available to swap into –Positive number: number of processes using that swapped-out data (> 1 means its shared data)

RAID Increasingly practical to have several disks on a system –But increases probability & mean time to failure RAID = redundant array of independent disks –Redundancy: fault tolerance technique Six levels or strategies of RAID: use various combinations of fault tolerant techniques Typical RAID techniques in use –Striping a group of disks: split bits of each byte across disks Or block-level striping: split blocks of a file… –Mirroring another disk –Store parity (error-correcting) bits on another disk –Leaving some disks empty until needed to replace failed disk

RAID levels Various combinations of techniques… For example: RAID 0 – block striping; no mirroring or parity bits RAID 1 – add mirrored disks RAID 2, 3, 4 – extra disks store parity bits –If 1 disk fails, remaining bits of each byte and error-correction bit can be used to construct lot bit of each byte. –RAID 3 – bit-interleaved parity –RAID 4 – block-interleaved parity RAID 0+1 – a set of disks is striped, and then the stripe is mirrored to another disk RAID 1+0 – disks are mirrored into a pair of disks. This pair is then striped.

RAID extensions RAID is designed just to detect & handle disk failure Does not prevent/detect data corruption, etc. –Could be pointing to wrong file, wrong block Checksum for data and metadata on disk –Ex. For each disk block, how many bits are set? –Store with pointer to object (See Figure 12.13) –Detect whether it has changed. Grab correct data from the mirror. RAID also somewhat inflexible because its techniques require a certain number of disks. What to do?