Mass-Storage Structure

References:

  1. Abraham Silberschatz, Greg Gagne, and Peter Baer Galvin, "Operating System Concepts, Ninth Edition ", Chapter 10 ( Was chapter 12 )

10.1 Overview of Mass-Storage Structure

10.1.1 Magnetic Disks


Figure 10.1 - Moving-head disk mechanism.

10.1.2 Solid-State Disks - New

10.1.3 Magnetic Tapes - was 12.1.2

10.2 Disk Structure

10.3 Disk Attachment

Disk drives can be attached either directly to a particular host ( a local disk ) or to a network.

10.3.1 Host-Attached Storage

10.3.2 Network-Attached Storage


Figure 10.2 - Network-attached storage.

10.3.3 Storage-Area Network


Figure 10.3 - Storage-area network.

10.4 Disk Scheduling

10.4.1 FCFS Scheduling


Figure 10.4 - FCFS disk scheduling.

10.4.2 SSTF Scheduling


Figure 10.5 - SSTF disk scheduling.

10.4.3 SCAN Scheduling


Figure 10.6 - SCAN disk scheduling.

10.4.4 C-SCAN Scheduling


Figure 10.7 - C-SCAN disk scheduling.

12.4.5 LOOK Scheduling


Figure 10.8 - C-LOOK disk scheduling.

10.4.6 Selection of a Disk-Scheduling Algorithm

10.5 Disk Management

105.1 Disk Formatting

10.5.2 Boot Block


Figure 10.9 - Booting from disk in Windows 2000.

10.5.3 Bad Blocks

10.6 Swap-Space Management

10.6.1 Swap-Space Use

10.6.2 Swap-Space Location

Swap space can be physically located in one of two locations:

12.6.3 Swap-Space Management: An Example


Figure 10.10 - The data structures for swapping on Linux systems.

10.7 RAID Structure

10.7.1 Improvement of Reliability via Redundancy

10.7.2 Improvement in Performance via Parallelism

10.7.3 RAID Levels


Figure 10.11 - RAID levels.


Figure 10.12 - RAID 0 + 1 and 1 + 0

10.7.4 Selecting a RAID Level

10.7.5 Extensions

10.7.6 Problems with RAID


Figure 10.13 - ZFS checksums all metadata and data.


Figure 10.14 - (a) Traditional volumes and file systems. (b) a ZFS pool and file systems.

10.8 Stable-Storage Implementation ( Optional )

10.9 Summary


Was 12.9 Tertiary-Storage Structure - Optional, Omitted from Ninth Edition

12.9.1 Tertiary-Storage Devices

12.9.1.1 Removable Disks

12.9.1.2 Tapes

12.9.1.3 Future Technology

12.9.2 Operating-System Support

12.9.2.1 Application Interface

12.9.2.2 File Naming

12.9.2.3 Hierarchical Storage Management

12.9.3 Performance Issues

12.9.3.1 Speed

12.9.3.1 Reliability

12.9.3.3 Cost


Old Figure 12.15 - Price per megabyte of DRAM, from 1981 to 2008


Old Figure 12.16 - Price per megabyte of magnetic hard disk, from 1981 to 2008.


Old Figure 12.17 - Price per megabyte of a tape drive, from 1984 to 2008.