Storage Devices: Types, Capacity and Access
Saved in this browser only. See all revisions due
Key points
- Magnetic tape is sequential access; HDD, SSD and CD are direct access
- HDD access time = seek time + rotational latency + transfer time
- CD 700 MB, DVD 4.7 GB single layer, Blu-ray 25 GB single layer
- Memory hierarchy: Register, Cache, RAM, SSD, HDD, optical or tape
- Defragmentation helps HDD only; SSDs use TRIM
- RAID 0 has no fault tolerance; RAID 5 usable capacity is (n − 1) x S
On this page
Types of storage
| Type | Examples | Note |
|---|---|---|
| Magnetic | HDD, magnetic tape, floppy disk | Tape is used for long-term archives |
| Optical | CD, DVD, Blu-ray | Read using a laser |
| Solid-state | SSD, pen drive, SD card | Flash based, no moving parts |
| Cloud | Google Drive, OneDrive, DigiLocker | Stored on remote servers |
Access methods
- Sequential access: data must be read in order from the beginning. Magnetic tape works this way.
- Direct or random access: any location can be reached directly. HDD, SSD and CD work this way.
Inside a hard disk
A platter is the spinning magnetic disc. A track is a concentric circle, a sector is a part of a track, and a cylinder is the set of tracks at the same position across all platters.
Formula
Access time = Seek time + Rotational latency + Data transfer time
Seek time is the movement of the head to the right track. Rotational latency is the wait for the right sector to arrive under the head. Speed is measured in RPM, such as 5400 or 7200.
Optical disc capacity
| Disc | Typical capacity | Laser |
|---|---|---|
| CD | 700 MB | Infrared |
| DVD single layer | 4.7 GB | Red |
| DVD dual layer | 8.5 GB | Red |
| Blu-ray single layer | 25 GB | Blue-violet |
Key point
If the question does not say dual layer, use the single-layer figure. DVD means 4.7 GB unless stated otherwise.
Memory hierarchy
Order
Register > Cache > RAM > SSD > HDD > Optical disc or magnetic tape
Speed and cost fall from left to right; capacity rises.
Defragmentation and RAID
Defragmentation rejoins scattered file parts and speeds up an HDD. It is not needed for an SSD, which has no moving head, and unnecessary writes shorten its life. SSDs use TRIM instead.
RAID, Redundant Array of Independent Disks, combines several disks for speed or safety.
| Level | Technique | Minimum disks | Usable capacity | Fault tolerance |
|---|---|---|---|---|
| RAID 0 | Striping | 2 | n x S | None |
| RAID 1 | Mirroring | 2 | S | One disk |
| RAID 5 | Striping with parity | 3 | (n − 1) x S | One disk |
| RAID 6 | Double parity | 4 | (n − 2) x S | Two disks |
Exam tip
Despite the word Redundant in the name, RAID 0 offers no redundancy at all. It is pure striping for speed.
Practice questions
Answer all, then check. Explanations appear after checking.
Finished this topic? Tick it off.
Saved in this browser only. See all revisions due