Unit 3 Session 4: Storage Devices | IT 231 Slides

--:-- --
↓ Scroll for more

Unit 3 · Session 4

Storage Devices

IT 231: IT and Application (BBM)

🎯 Learning Objectives

By the end of this chapter, you will be able to:

  • ✅ Define secondary storage and its purpose.
  • ✅ Describe how a Hard Disk Drive (HDD) works.
  • ✅ Describe how a Solid-State Drive (SSD) works and its advantages.
  • ✅ Identify common types of optical storage.

🔍 What is Secondary Storage?

Definition: Non-volatile devices and media used for long-term storage of data and programs.

Unlike primary memory (RAM), it retains data even when the power is off.

Think of it as the computer's filing cabinet or library, where all your files, applications, and the operating system are kept permanently.

🧮 Quick Estimate: Will It Fit?

Your phone has 64 GB free. Assume 4K video uses about 400 MB per minute.

How many minutes of 4K video can you record? Work it out with the person next to you.

Step 1: 64 GB = 64,000 MB

Step 2: 64,000 ÷ 400 = 160 minutes, about 2 hours 40 minutes

Real phones vary with resolution, frame rate and compression, so treat this as a ballpark.

1. Hard Disk Drives (HDD)

The traditional workhorse of computer storage for decades.

How it Works ⚙️

  • A mechanical device with moving parts.
  • Stores data on rapidly rotating magnetic platters.
  • A read/write head on a mechanical arm moves to access data.

Characteristics

  • ✅ Very large storage capacities (Terabytes).
  • ✅ Low cost per gigabyte.
  • ❌ Slower due to physical movement.
  • ❌ Less durable & consumes more power.

Inside a hard disk drive

Labelled hard-drive diagram: platters, spindle, read/write head, actuator arm and actuator

🎬 Watch: Writing Bits with Magnets

🧮 Worked Example: Why HDDs Feel Slow

A typical desktop HDD spins at 7,200 rpm (revolutions per minute). How long does the head wait for the data to come round?

Step 1: 7,200 ÷ 60 = 120 turns per second

Step 2: one turn takes 1 ÷ 120 s ≈ 8.3 ms

Step 3: on average the data is half a turn away: ≈ 4.2 ms, plus several more ms to swing the arm into place

An SSD finds data in about 0.1 ms, roughly 100 times faster. That is why booting, which reads thousands of small files, feels so much quicker on an SSD.

Storage Then and Now 📦

1956: IBM 350 disk unit

  • 50 disks, each 24 inches (61 cm) across
  • Held about 3.75 MB
  • Weighed about 785 kg, plus an air compressor

Today: a 3.5-inch HDD

  • Fits in your hand, under 1 kg
  • The largest hold 30 TB or more
  • That is 8 million times the IBM 350

Quick sum: how many IBM 350s would one 4 GB movie need?

4,000 MB ÷ 3.75 MB ≈ 1,067 machines, or more than 800 tonnes of disk

1956: 50 platters, about 3.75 MB

The IBM 350 RAMAC disk stack at the Computer History Museum

2. Solid-State Drives (SSD)

The modern standard for fast, responsive computing.

How it Works ⚡

  • No moving parts!
  • Uses interconnected flash-memory chips to store data electronically.
  • Like a very large, very fast USB flash drive.

Characteristics

  • ✅ Significantly faster than HDDs.
  • ✅ More durable, quieter, and power-efficient.
  • ❌ More expensive per gigabyte.

🧮 Worked Example: Will My SSD Wear Out?

Flash cells wear a little each time they are written, so makers rate SSDs in TBW (terabytes written).

A 1 TB Samsung 990 PRO is rated for 600 TBW. You write a heavy 50 GB every day. How long until you reach 600 TB?

Step 1: 600 TB = 600,000 GB

Step 2: 600,000 ÷ 50 = 12,000 days ≈ 33 years

For normal users an SSD goes out of date long before it wears out. It can still fail suddenly, though, so back it up.

📊 HDD vs. SSD: The Showdown

Hard Disk Drive (HDD)

  • Mechanical Parts
  • Slower Speed
  • Lower Cost per GB
  • Less Durable
  • Best for: Mass storage, backups, large media files.

Solid-State Drive (SSD)

  • No Moving Parts
  • Blazing Fast Speed ⚡
  • Higher Cost per GB
  • More Durable
  • Best for: Operating System, frequently used applications.

Pro Tip: Many modern systems use both! An SSD for the OS and apps, and an HDD for data.

🎬 Watch: Same Laptop, SSD vs HDD

⚡ Not All SSDs Are Equal: SATA vs NVMe

Typical top sequential speeds:

  • HDD: about 100–200 MB/s
  • SATA SSD: about 550 MB/s (the SATA connection tops out near 600 MB/s)
  • NVMe SSD (PCIe 3.0): about 3,500 MB/s
  • NVMe SSD (PCIe 4.0): about 7,000 MB/s
  • NVMe SSD (PCIe 5.0, sold since 2023): up to about 14,000 MB/s

NVMe drives are usually small M.2 sticks that connect straight to the motherboard's PCIe lanes, skipping the slower SATA link.

🧮 Worked Example: Copying a 50 GB Game

How long does copying 50 GB (50,000 MB) take at top speed?

  • HDD at 150 MB/s: 50,000 ÷ 150 ≈ 333 s, about 5½ minutes
  • SATA SSD at 550 MB/s: 50,000 ÷ 550 ≈ 91 s, about 1½ minutes
  • NVMe SSD at 3,500 MB/s: 50,000 ÷ 3,500 ≈ 14 seconds

Real copies are slower because of many small files, heat and the speed of the other drive, but the ranking holds.

Practical Application: Buying a Laptop in Nepal

Imagine you're at a computer shop in Putalisadak, Kathmandu. Which drive do you choose?

Scenario 1: University Student

  • Needs: Fast boot-up for classes, quick application loading for assignments.
  • Context: Laptops get carried around, risking bumps. Power stability can be a concern.
  • Best Choice: An SSD is essential. Its speed and durability (no moving parts) make it perfect for student life.

Scenario 2: Media Professional

  • Needs: Storing large video files and photo libraries.
  • Context: Budget is a factor, but large capacity is non-negotiable.
  • Best Choice: A hybrid setup. A 256GB/512GB SSD for the OS and editing software, plus a 1TB+ HDD for storing raw footage and archives.

3. Optical Storage 💿

Uses a laser to read and write data on a spinning disc by creating tiny pits on its surface.

CD

Compact Disc (~700 MB)

DVD

Digital Versatile Disc (~4.7 GB)

Blu-ray

Blu-ray Disc (~25 GB)

While once essential, optical drives are now rare in laptops. They've been largely replaced by faster, higher-capacity USB drives and cloud storage.

Smaller pits, bluer laser, more data

CD, DVD, HD DVD and Blu-ray compared: pit size, track pitch and laser wavelength drawn to scale

🎬 Watch: How a Laser Reads a Disc

🎬 Watch: Pits and Lands, Up Close

🔑 Pocket Storage: Flash Drives and Memory Cards

USB flash drive

  • The same flash memory as an SSD, in a stick that plugs into USB
  • Handy for moving files to an offline PC or a print shop
  • Easy to lose, and can spread malware, so scan it

Memory cards

  • SD for cameras; microSD for phones, drones and dashcams
  • Speed labels matter: U3 / V30 means it writes at least 30 MB/s, enough for 4K video

Cheap and portable, but not a backup: small, easy to lose, and cheap cards can fail without warning.

☁️ Storage You Don't Own: The Cloud

Cloud storage keeps your files on a provider's servers, which you reach over the internet.

  • Free tiers: Google Drive 15 GB (shared with Gmail and Photos), Apple iCloud 5 GB, Microsoft OneDrive 5 GB.
  • Your files still sit on physical drives, in data centres full of HDDs and SSDs, usually copied to more than one location.
  • ✅ Access anywhere, easy sharing, off-site safety. ❌ Needs internet, costs more for extra space, and privacy depends on the provider.

📼 Magnetic Tape: Still Alive in Data Centres

  • LTO (Linear Tape-Open) cartridges store data on a long reel of magnetic tape.
  • Capacity per cartridge: LTO-9 18 TB; LTO-10 30 TB (2025), with a 40 TB version in 2026.
  • ✅ Very low cost per TB, lasts for decades, and a tape kept offline can't be hit by ransomware.
  • ❌ Sequential access: to reach one file the drive must wind the tape, which can take a minute or more.

Used for archives and backups by banks, hospitals and the big cloud companies, not for everyday files.

Tape: still the cheapest place to keep a copy

An IBM LTO-2 tape drive with a cartridge half inserted, beside a boxed cleaning cartridge

💥 Every Drive Eventually Fails

Quick poll: Hands up if your photos live in only one place, such as just your phone.

  • Real data: Backblaze, a US cloud-backup company, publishes failure statistics for the hundreds of thousands of drives it runs. In recent years, about 1–2% of its hard drives have failed each year.
  • The 3-2-1 backup rule: keep 3 copies of important data, on 2 different types of storage, with 1 copy off-site (for example, in the cloud).

🧮 Worked Example: A 3-2-1 Plan for a Small Business

A pharmacy in Pokhara keeps 200 GB of billing and stock data on its office PC.

CopyWhereWhy
1Office PC's SSD (the working copy)Fast, used every day
2External HDD, backed up every eveningA second type of storage; quick restore if the PC dies
3Encrypted cloud backupOff-site: survives fire, theft or flood at the shop

Check: 3 copies ✔   2 storage types ✔   1 off-site ✔

Unplug the external HDD after each backup (ransomware encrypts every drive it can reach), and test a restore once a month.

Comparing the Storage Types 📋

TypeStores data withSpeedTypical capacityBest for
HDDSpinning magnetic plattersMedium1–30 TBBulk files, backups
SSDFlash chipsVery fast256 GB–8 TBOS and apps
USB drive / SD cardFlash chipsSlow to medium16 GB–1 TBCarrying files, cameras
Optical discLaser-read pitsSlow0.7–25 GBMusic, films, old software
Magnetic tapeMagnetic tape reelSlow to find a file18–40 TBLong-term archives
CloudProvider's data centresDepends on your internet5–15 GB free, more if paidSharing, off-site backup

Exam tip: compare on the same points for every type (technology, speed, capacity, cost, portability, best use).

🎯 Activity: Choose the Storage

In pairs, pick the best storage for each case, then reveal.

  1. A photographer archiving 10 years of RAW photos (8 TB). Answer: large HDDs plus a cloud or off-site copy
  2. A gamer who hates long loading screens. Answer: an NVMe SSD
  3. Taking slides to a classroom PC with no internet. Answer: a USB flash drive
  4. A bank keeping 20 years of records it rarely reads. Answer: magnetic tape (LTO), which is cheap and lasts decades. One LTO-10 cartridge holds 30–40 TB.

🗑️ Deleting Isn't Erasing

  • Emptying the Recycle Bin or a quick format only removes the file's address. The data stays until it is overwritten, and free recovery tools can often bring it back.
  • Before selling or giving away a laptop: keep full-disk encryption on (BitLocker / FileVault), then use Reset this PC → Remove everything with the clean-drive option, or the SSD maker's Secure Erase tool.
  • For an old drive with sensitive business data: destroy it physically (drill through the HDD platters, shred the SSD).

Selling an old phone or laptop online? Wipe it properly first: photos, documents and saved logins for wallet and bank apps are all on it.

🗣️ Discussion Time

  1. What are the three main advantages of an SSD over an HDD?
  2. Why would a user choose a computer with both an SSD and an HDD?
  3. What technologies have replaced optical drives for software installation and watching movies?

📝 Key Takeaways

  • Secondary storage is non-volatile, providing long-term memory for your computer.
  • HDDs are mechanical drives offering high capacity at a low cost, ideal for mass data storage.
  • SSDs are flash-based drives that are much faster and more durable, perfect for operating systems and apps.
  • Optical drives (CD, DVD, Blu-ray) are a slower, portable storage format that is becoming increasingly obsolete.

Exam Practice: Short Answer

  1. What is secondary storage? Give four examples.
  2. Differentiate between HDD and SSD.
  3. What is cloud storage? State one advantage and one disadvantage.

Exam Practice: Long Answer

  1. Explain the different types of secondary storage devices and compare them.
  2. Suggest a storage and backup plan for a small business, explaining the 3-2-1 rule.

Revise the chapter note before writing these answers.

Image & Video Credits (1/2)

Images

  • Hard drive diagram: Surachit, CC BY-SA 3.0, via Wikimedia Commons
  • IBM 350 RAMAC disk mechanism: ArnoldReinhold, CC BY-SA 3.0, via Wikimedia Commons
  • SATA SSD circuit board (labelled): MatteX, CC0, via Wikimedia Commons; labels added for IT231
  • CD, DVD, HD DVD and Blu-ray compared: Cmglee, CC BY-SA 3.0, via Wikimedia Commons
  • IBM LTO tape drive and cartridge: Robert, CC BY 2.0, via Wikimedia Commons

Image & Video Credits (2/2)

Videos (YouTube)

  • TED-Ed, "How do hard drives work? - Kanawat Senanan" (0:28–1:29), https://www.youtube.com/watch?v=wteUW2sL7bc
  • Edward Tech, "SSD vs HDD: Boot Test Windows 10!" (0:00–0:47), https://www.youtube.com/watch?v=j5QGqvyIa-E
  • Into The Ordinary, "How Does Blu-ray Work? - LaserDisc, CD, DVD, Blu-ray Explained" (0:18–1:44), https://www.youtube.com/watch?v=H-jxTzFrnpg
  • MicroScopers, "CD Under the Microscope [1080p Full HD]" (0:05–1:07), https://www.youtube.com/watch?v=0kMKeg5QfL8

Teaching content © Arjan KC. Third-party media remain the property of their owners.

Thank You!

Any questions?

📖 Read first (chapter notes)