Learning Objectives
By the end of this chapter, you will be able to:
- Define secondary storage and state why it must be non-volatile.
- Describe HDD, SSD, optical, flash, NAS, cloud, and tape by access and purpose.
- Compare storage on speed, capacity, cost, and durability.
- Design a 3-2-1 backup plan for a small business.
Secondary Storage Devices
Secondary storage is the non-volatile place where data and programs live when the machine is off. Primary memory is the desk. Secondary storage is the building. You need both because desks lose papers when the lights go out.
Storage units
| Unit | Size | Roughly holds |
|---|---|---|
| Kilobyte (KB) | 1,024 bytes | A short text document |
| Megabyte (MB) | 1,024 KB | A high quality photo, 3 to 5 MB |
| Gigabyte (GB) | 1,024 MB | About an hour of HD video |
| Terabyte (TB) | 1,024 GB | Hundreds of thousands of photos |
Manufacturers count 1 GB as 1,000 MB, which is why a 1 TB drive shows about 931 GB in Windows. The math is honest, the marketing is decimal.
Six storage families: group by physics and access
Do not memorize devices as a flat list. Group them so choice follows access pattern.
A. Magnetic with moving parts: HDD
How it works: a Hard Disk Drive stores bits as magnetic spots on rotating platters. An arm moves a read and write head across the surface.
Traits: very large capacity for low cost per GB. Moderate speed limited by rotation, typically 5,400 or 7,200 RPM, and seek time of the arm. Sensitive to shock. Dropping a running HDD can crash the head into the platter and lose data. Good for bulk storage and local backups.
B. Solid with no moving parts: SSD and flash
How it works: an SSD stores bits in interconnected Flash chips. No platters, no arm.
Traits: much faster, quiet, shock resistant, and power efficient. Higher cost per GB than HDD, but falling each year. Two common forms: SATA SSD that uses the old HDD connector, and NVMe SSD that plugs into an M.2 slot and is several times faster. USB drives and SD and microSD cards use the same Flash family, are portable and cheap, but are easy to lose and can carry malware.
C. Optical with laser pits: CD, DVD, Blu-ray
How it works: a laser burns tiny pits on a spinning disc. Another laser reads them.
Traits: portable and cheap per disc, but small capacity and slow. Largely replaced by flash and cloud for daily use, still useful for distribution and some archives.
| Disc | Typical capacity |
|---|---|
| CD | About 700 MB |
| DVD | 4.7 GB single layer |
| Blu-ray | 25 GB single layer |
D. Network and cloud: shared and off-site
NAS is a storage box on the office LAN that everyone shares and backs up to. It is still on site, but centralized and often mirrored internally.
Cloud storage such as Google Drive or OneDrive keeps files on provider servers over the internet. Accessible from anywhere, protected from local fire and theft, but needs internet and raises privacy questions about who can see what.
E. Sequential and cheapest per TB: tape
Magnetic tape remains in banks and data centers for archival backups. Very cheap per TB and durable for years, but sequential access is slow. You do not fetch a single bill from tape in seconds. You restore a whole set when the building copy is gone.
Comparison
| Feature | HDD | SSD | Optical disc | USB flash | NAS | Cloud | Tape |
|---|---|---|---|---|---|---|---|
| Technology | Magnetic, moving | Flash, no moving | Laser | Flash | Disk array on LAN | Provider servers | Magnetic, sequential |
| Speed | Moderate | Very fast | Slow | Moderate | Moderate to fast | Depends on internet | Slow access |
| Capacity | TB, very large | GB to TB | MB to GB | GB | TB, expandable | Scalable | TB to PB |
| Cost per GB | Low | Higher | Low | Moderate | Moderate | Subscription | Lowest per TB |
| Durability | Shock sensitive | Shock resistant | Scratches easily | Easy to lose | Depends on RAID | Safe from local damage | Durable, offline |
| Typical use | Bulk, local backup | OS and apps, laptops | Distribution, small archive | Transfer | Office share and nightly backup | Sharing and off-site | Long retention |
Self-check
Backup: the 3-2-1 rule
Storage fails. Laptops are stolen. Ransomware locks files. A simple rule protects a business:
Keep 3 copies of important data, on 2 different types of storage, with 1 copy off-site.
Example: a clinic in Dharan keeps patient records on the reception PC as copy 1, backs up nightly to a NAS as copy 2, and syncs encrypted backups to cloud as copy 3 off-site. When the PC drive fails, records restore within an hour because 2 is different from 1 and 3 is out of the building.
Nepal worked example: a shop that costed the plan before the flood (NPR, BS 2081)
A retail shop in Biratnagar with two tills holds 420 GB of bills, photos, and Tally data as of 2081-08-05. The owner prices a 3-2-1 plan.
- Copy 1: tills with 512 GB SSDs already owned.
- Copy 2: a 2 TB NAS with one mirrored bay. Device NPR 24,000 plus one 2 TB HDD NPR 7,500 = NPR 31,500. Holds nightly increments.
- Copy 3: cloud archive at NPR 1,200 per TB per year. For first year 0.42 TB = NPR 504, rounded to NPR 600 with taxes.
First year total = NPR 32,100. A single day without bills costs about NPR 18,000 in lost sales plus two staff hours to rebuild at NPR 500 per hour = NPR 19,000 per day of loss. The plan pays for itself if it prevents two days of loss in five years, even before audit penalties. The NAS covers type diversity. The cloud covers off-site. Tape would be cheaper per TB for year seven, but the owner needs daily restore speed now, so NAS beats tape for copy 2.
Example 1: In a cooperative, Cold retention is the audit mandate. Ask: can we produce every bill from 2081-08-05 from NAS plus cloud in the same hash set, and does tape hold the BS 2076 to 2080 cold chain for regulator requests?
Example 2: In a retail shop, speed of restore is the sales mandate. Ask: if a till dies at 11 a.m., does the NAS rebuild it before the noon rush? Copy 2 must be local and fast. Copy 3 is insurance, not the first rescue.
Summary
- Secondary storage is non-volatile. Without it, every shutdown erases the business.
- HDD is cheap and large but mechanical. SSD and flash are fast and durable with no moving parts.
- Optical is small and slow, now niche. NAS shares locally. Cloud shares and protects off-site. Tape archives cheapest per TB.
- 3 copies, 2 types, 1 off-site turns a device failure into a routine restore.
Key Takeaways
- Speed, capacity, cost, and durability trade against each other. No device wins all four.
- Moving parts add capacity per rupee and risk per shock.
- A backup with only one type or only one building is not a backup.
Discussion Questions
- When would you still buy an HDD instead of an SSD?
- Why does a shop need NAS even if it already pays for cloud?
- What does sequential access make tape good and bad at?
Exercises
Short answer
- What is secondary storage? Give four examples from different families.
- Differentiate HDD and SSD on three points.
- State the 3-2-1 rule and give a Biratnagar style example with one off-site.
Long answer
- Explain six storage families and compare them on technology, speed, capacity, cost, and typical use.
- Design a backup plan for a small business with 420 GB of data on 2081-08-05, costing NAS, cloud, and one day of lost sales in NPR and recommending tape versus NAS timing.


