Disk Storage and Basic File Structures
Disk Storage and Basic File Structures
Lecture 2
◼ Storage hierarchy
◼ Primary storage
◼ CPU main memory, cache memory
◼ Secondary storage
◼ Magnetic disks, flash memory, solid-state drives
◼ Tertiary storage
◼ Removable media
◼ Formatting
◼ Divides tracks into
equal-sized disk blocks
◼ Blocks separated by
interblock gaps
◼ Data transfer in units of
disk blocks
◼ Hardware address
supplied to disk I/O
hardware
◼ Clock policy
◼ First-in-first-out (FIFO)
◼ Chaining
◼ Multiple hashing
Figure 16.14 Some popular levels of RAID (a) RAID level 1: Mirroring of data on
two disks (b) RAID level 5: Striping of data with distributed parity across four disks