Chapter 4: Storage Devices and Media

Fundamentals of Storage Media and Storage Devices

  • Storage Media vs. Storage Devices:
    • Storage Media: The physical hardware materials or components where computer data, code, and files are actually retained and recorded.
    • Storage Device: The mechanical and electronic hardware mechanism that reads data from or writes data to the corresponding storage media.
  • Primary Storage Media Classifications:
    • All computer storage media are divided into three fundamental technological categories, each distinguished by its underlying method of recording, retaining, and accessing data:
      • Magnetic Storage Media: Encodes data by altering the magnetic polarity of physical magnetic layers.
      • Optical Storage Media: Employs laser light beams to read and write microscopic depressions and reflective surfaces on a disc.
      • Solid-State Storage Media: Utilises electronic flash memory circuits containing no mechanical moving parts.

Magnetic Storage Media and Devices

  • Magnetic Tape and Tape Drives:

    • Physical Structure: Magnetic tape is constructed as a thin, flexible strip of plastic coated with a specialized magnetisable layer.
    • Data Representation: Data is represented in binary format using magnetic states across the surface:
      • A magnetised area represents binary 11.
      • A demagnetised area represents binary 00.
    • Access Method (Serial Access):
      • A magnetic tape drive is required to read and write data to the tape.
      • It utilizes serial access (also known as sequential access), meaning every record must be traversed in sequence from the beginning until the targeted record is found.
      • Because locating specific files can take an extensive amount of time, magnetic tape cannot be used in real-time or interactive online applications.
    • Applications of Magnetic Tape:
      • Batch Processing Applications: Extensively utilized in offline, high-volume batch tasks where sequential execution is standard, such as clearing bank cheques and payroll processing.
      • Backup Media: Used to create secondary safety copies of critical enterprise data, benefiting from the media's capacity to hold vast amounts of information.
      • Long-Term Archival: Magnetic tape is exceptionally stable over time, making it ideal for storing permanent historical records and archives.
    • Advantages:
      • Offers enormous, massive data storage capacity.
      • Significantly cheaper per unit of storage than a hard disk drive (HDD\text{HDD}).
    • Disadvantages:
      • Exceedingly slow data access times due to sequential searching.
      • Highly susceptible to corruption when exposed to strong external magnetic fields (e.g., placing a tape close to the powerful magnet of a loudspeaker can erase or distort stored data).
  • Hard Disk Drives (HDD):

    • Internal Architecture and Data Encoding:
      • Platters: Rigid, circular magnetic disks where information is physically recorded.
      • Read/Write Heads: Electromagnetic heads positioned over the platters that read and alter magnetic fields on the surfaces.
      • Tracks and Sectors: Data is laid out along concentric circles on each platter known as tracks. Each track is subdivided into smaller geometric segments known as sectors.
      • Mechanical Tolerances and Head Crashes: Read/write heads hover above the spinning platter surfaces at microscopic distances. Any intrusion by foreign particles—such as a dust particle, a smoke particle, or a human hair—can cause a catastrophic head crash, where the read/write head collides with the platter, physically gouging the magnetic surface and causing permanent data loss.
    • Access Method (Direct Access):
      • Data on an HDD\text{HDD} is retrieved using direct access (random access).
      • Direct access allows the read/write head to navigate immediately to any specific track and sector on the platter without reading through preceding data from the start of the disk.
  • Fixed vs. Portable Hard Disk Drives:

    • Fixed Hard Disk Drives:
      • Permanently mounted inside the internal chassis of desktop computers, laptop computers, and network file servers.
      • Primary Applications:
        • Storing system software (such as the computer's operating system).
        • Storing applications software.
        • Storing general user data files.
        • Powering real-time systems (such as industrial robots).
        • Managing interactive online systems (such as airline ticketing platforms).
        • Operating file servers in computer networking infrastructures.
      • Advantages:
        • Low overall cost relative to high capacity.
        • Large data storage capacity.
        • High read and write access speeds.
        • Direct access capability eliminates the need to seek sequentially from the start.
      • Disadvantages:
        • Lacks portability; permanently installed and cannot be easily transferred between different computers.
    • Portable Hard Disk Drives:
      • External hard disk drives housed in a protective enclosure and linked to host systems via Universal Serial Bus (USB\text{USB}) cables.
      • Primary Applications:
        • Dedicated external backup systems used to prevent catastrophic data loss.
        • Physically transporting and transferring large files between different computers.
      • Advantages:
        • Facilitates file sharing and transfer across separate computer systems.
        • Compact, convenient form factor for carrying.
        • Retains a large storage capacity.
        • Substantially faster read/write speeds compared to magnetic tape drives.
      • Disadvantages:
        • Vulnerable to physical shock and mechanical damage when carried or dropped.
        • Elevated risk of being lost or stolen during transit.

Optical Storage Media and Technology

  • Optical Media Principles and Standard Designations:

    • Optical discs encode data as a sequence of microscopic indentations known as pits and flat intervening spaces known as lands, which are read by detecting variations in reflected laser light.
    • Functional Suffix Designations:
      • ROM (Read-Only Memory): E.g., CD-ROM\text{CD-ROM} and DVD-ROM\text{DVD-ROM}. The data is permanently pressed during manufacturing and can only be read; content can never be modified, overwritten, or erased.
      • R (Recordable / Write Once Only): E.g., CD-R\text{CD-R} and DVD-R\text{DVD-R}. Allows a user to write data onto the disc a single time. Once burned, the recorded information is immutable and cannot be edited or rewritten.
      • RW (Rewritable): E.g., CD-RW\text{CD-RW} and DVD-RW\text{DVD-RW}. Constructed with phase-change layers that allow data to be written, erased, and rewritten multiple times.
  • Blu-ray Technology vs. DVDs:

    • Laser Optics and Wavelength:
      • The term Blu-ray derives directly from the blue laser light utilized to read from and write to the disc surface.
      • Blu-ray drives deploy a blue laser with an optical wavelength of 405 nm405\,\text{nm}.
      • Standard DVD\text{DVD} drives deploy a conventional red laser with a longer optical wavelength of 650 nm650\,\text{nm}.
    • Physical Data Density:
      • The shorter 405 nm405\,\text{nm} wavelength of the blue laser enables a much tighter optical focus, producing significantly smaller pits and lands on the disc surface than the red laser.
      • Because the pits and lands are substantially smaller and packed closer together, Blu-ray discs achieve far greater data density and total storage capacity than DVD\text{DVD} media.
  • General Profile of Optical Discs:

    • Common Uses:
      • Commercial publishing, distribution, and playback of audio music, movies, software programs, and video games.
      • Secondary local storage for file backups and data transport between desktop systems.
    • Advantages:
      • Inexpensive to produce and purchase.
      • Faster data access and reading speeds than sequential magnetic tape.
    • Disadvantages:
      • Significantly lower maximum storage capacity compared to hard disk drives.
      • Slower read/write access speeds than hard disk drives (takes longer to read and transfer data).
      • Exposed optical surfaces can be scratched or smudged, impairing laser read operations.

Solid-State Storage Media and Solid-State Drives (SSD)

  • Solid-State Technology and Flash Memory:

    • Flash Memory Definition: An electronic, non-volatile computer storage medium that can be electrically erased and reprogrammed.
    • Absence of Moving Parts: Designated as solid-state precisely because it contains no mechanical moving components, motors, or rotating disks.
    • Solid-State Family: Encompasses solid-state drives (SSD\text{SSD}), pen drives, flash drives, memory sticks, and memory cards.
  • Solid-State Drives (SSD):

    • Market Adoption: Solid-state drives are rapidly replacing traditional hard disk drives (HDD\text{HDD}) as the primary storage units inside desktop personal computers and laptops.
    • Operational Role: Perform the identical system functions as an HDD\text{HDD}, housing operating systems, software applications, and user file systems.
    • Advantages over Hard Disk Drives:
      • Access Speed: Significantly faster read, write, and overall access speeds.
      • Dimensions and Mass: Considerably smaller and lighter in weight.
      • Acoustic Noise: Completely silent during operation (quiet).
      • Power Efficiency: Consumes less electrical energy, reducing heat generation and extending laptop battery life.
      • Thermal Output: Runs cooler than mechanical HDD\text{HDD} units.
      • Mechanical Reliability: Higher operational reliability due to the lack of mechanical parts that could suffer physical wear and tear.
      • Shock Resistance: Minimal risk of physical data loss or structural damage if the device is dropped, bumped, or knocked.
    • Disadvantages compared to Hard Disk Drives:
      • Unit Cost: More expensive per gigabyte (GB\text{GB}) of storage capacity.
      • Capacity Ceilings: Total storage capacity is generally lower than that offered by mechanical hard drives at comparable market price points.
      • Endurance Limitations: Subject to a finite lifespan governed by limited erase/write cycles (high-quality SSD\text{SSD} hardware typically supports up to approximately 100,000100{,}000 cycles, meaning it cannot be written to indefinitely).

Portable Solid-State Devices: Pen Drives and Memory Cards

  • Pen Drives / Flash Drives / Memory Sticks:

    • Terminology and Physical Form: Synonymous terms referring to small, highly portable solid-state drives that interface with host systems through a Universal Serial Bus (USB\text{USB}) port.
    • Uses: Primarily utilized for backing up essential user files and physically transporting documents between computers.
    • Advantages:
      • Small, lightweight, and easily pocketable.
      • Immune to external magnetic fields (cannot be erased by magnets).
      • Not vulnerable to physical surface scratches like optical discs.
    • Disadvantages:
      • Easy to lose or have stolen due to compact physical dimensions.
      • Vulnerable to data corruption if removed improperly during an active read/write operation.
  • Memory Cards:

    • Architecture and Interfaces: Removable solid-state storage cards that insert into dedicated host device slots or external card reader peripherals to read and write data.
    • Form Factors and Applications:
      • SD Card (Secure Digital): Used widely in portable electronics including digital video recorders, digital cameras, audio players, smartphones, and tablets.
      • xD Card (xD-Picture Card): Specialized format developed specifically for digital cameras.
      • CFast Card: High-speed, heavy-duty card format utilized primarily in higher-end digital photography and professional video cameras.
    • Advantages:
      • Highly portable: Small, light, and compact.
      • High physical durability due to solid-state design with no moving parts.
      • Non-volatile memory ensures zero data loss when power is disconnected.
      • Extremely low electrical power requirements.
      • Available in a broad range of memory capacities.
      • Interoperable across various consumer devices (cameras, computers, mobile phones).
    • Disadvantages:
      • Can break easily due to thin casing and delicate electrical contacts.
      • Easy to misplace or lose due to small physical size.
      • Features lower overall storage capacity than full-sized hard disks.
      • More expensive per gigabyte of memory compared to hard disk drives.
      • Lacks universal integrated hardware support: Many computers do not include built-in card reader slots, forcing users to purchase external card reader peripherals to access stored content.

Storage Device Analysis and Review Exercises

  • Analytical Activity: Storage Tiers and Unit Costs:

    • Investigation Targets: Evaluating consumer hard disk drives across standard storage capacities:
      • 500 gigabytes500\,\text{gigabytes} (0.5 terabyte0.5\,\text{terabyte} / half a terabyte).
      • 1 terabyte1\,\text{terabyte}.
      • 2 terabytes2\,\text{terabytes}.
    • Calculation Methodology: To evaluate storage cost-effectiveness, compute the cost per gigabyte (GB\text{GB}) of storage using the formula:         Cost per Gigabyte=Total Retail CostCapacity in Gigabytes\text{Cost per Gigabyte} = \frac{\text{Total Retail Cost}}{\text{Capacity in Gigabytes}}
  • Exercise: Technical True or False Verification:

    • Statement: "Hard disk drives store data magnetically."
      • Status: True. Data is encoded by magnetising microscopic regions across platter surfaces.
    • Statement: "All hard disk drives contain only one disk."
      • Status: False. Hard disk drives typically contain a stack of multiple platters paired with multiple read/write heads to increase capacity.
    • Statement: "Fixed hard disk drives are more easily lost than portable ones."
      • Status: False. Fixed drives are bolted inside computer chassis, whereas portable hard disk drives are small, external, and susceptible to loss or theft.
    • Statement: "The advantage of magnetic tape over disk drive storage is that data can be accessed randomly."
      • Status: False. Magnetic tape uses serial (sequential) access; disk drives provide direct (random) access. The true advantage of magnetic tape is its low cost per gigabyte and high capacity for long-term archiving.
    • Statement: "Data on a hard disk drive is read and written using read/write heads."
      • Status: True. Electromagnetic read/write heads glide above spinning platters to read and alter magnetic states.