CS 480 M01 Lecture Notes 13 - Oct 17, 2022

Ch 20. Storage

    variety of configs: ligthning-fast storage => vast, archival vault
    hardware (HDD, SSD, tapes, RAID, ...) and software (device drivers, partitioning, RAID, LVM, virtualizing over network, filesystems implementations)
  1. Adding a Disk - (Simple / Traditional) Disk Installation Procedure


  2. disk partitioning (sda4 is swap ...)

  3. Storage Hardware

  4. Interfaces

  5. Attachement and Low-level Management of Drives

  6. lsblk -o +MODEL,SERIAL
    devices /dev/sda, /dev/sdb, ...
    Ephemeral device names - Adding a disk or rebooting can change the device name (sdb => sdc - names are assigned in sequence as the kernel enumerates the interfaces and devices) Formatting and bad block management ATA secure erase since 2000 PATA and SATA disks implemented command to overwrite disk data - NIST-certified
    hdparm
  1. Software Side of Storage

  2. Disk Partitioning

    less desirable than LVM in most respects - no snapshots, can't / hard to change later, ...
      ... but simple (and Windows and PC BIOS understands it)

    Disk device files

    Ways to divide up disks

    Traditional partitioning

    MBR partitioning

    next ... GPT partitioning