CMSC 421 Section 0202 I/O Systems Chapter 14: Mass-Storage Structure
Silberschatz, Galvin and Gagne 2002 14.2 Operating System Concepts
Chapter 14: Mass-Storage Systems
Disk Structure Disk Scheduling Disk Management Swap-Space Management RAID Structure Disk Attachment Stable-Storage Implementation Tertiary Storage Devices Operating System Issues Performance Issues
Silberschatz, Galvin and Gagne 2002 14.3 Operating System Concepts
Disk Structure
Disk drives are addressed as large 1-dimensional arrays
- f logical blocks, where the logical block is the smallest
unit of data transfer.
The 1-dimensional array of logical blocks is mapped into
the sectors of the disk sequentially.
Sector 0 is the first sector of the first track on the outermost
cylinder.
Mapping proceeds in order through that track, then the rest
- f the tracks in that cylinder, and then through the rest of the
cylinders from outermost to innermost.
Mapping gets complicated due to bad sectors, and the fact
that #sectors/track is not always constant; try to maintain constant data rate
Constant Linear Velocity and Constant Angular Velocity
Silberschatz, Galvin and Gagne 2002 14.4 Operating System Concepts
Disk Structure
Data rate must be uniform Two techniques to keep data rate uniform
Constant Linear Velocity Density of bits per track is uniform through out a platter Disk rotation speed increases as the head moves from
- uter tracks to inner tracks
Constant Angular Velocity Density of bits per track decreases from inner tracks to
- uter tracks
Disk rotation speed remains the same