This chapter covers the three primary storage device types you must understand for the CompTIA A+ 220-1101 exam: Hard Disk Drives (HDD), Solid-State Drives (SSD), and Non-Volatile Memory Express (NVMe) drives. These devices are fundamental to computer performance and are tested extensively under Objective 3.4, typically appearing in 10-15% of exam questions. You will learn the internal mechanisms, performance characteristics, interface differences, and how to select the appropriate drive for a given scenario.
Jump to a section
Imagine a large library with millions of books. The old system (HDD) works like a librarian who must walk to a giant card catalog, find the book's location (sector), then physically walk to the shelf and retrieve the book. Each request requires the librarian to move a mechanical arm (actuator) to the correct row and wait for the spinning carousel (platter) to rotate the book to the front. This takes time—latency. Now consider an SSD: it's like having every book's exact location stored in a digital directory on a tablet. The librarian simply types the title, and the tablet instantly shows the shelf and position. No walking, no waiting for rotation. The librarian can grab the book immediately. NVMe is like upgrading from a single librarian to a team of 64,000 librarians, each with their own tablet, all working in parallel. They can retrieve dozens of books at once because they have multiple direct pathways (PCIe lanes) to the shelves, bypassing the bottleneck of a single narrow corridor (SATA). The old librarian (SATA) could only carry one book at a time through a single door; NVMe librarians use multiple wide doors, each capable of carrying many books simultaneously. This is why NVMe is dramatically faster for random access and multitasking.
1. Hard Disk Drives (HDD): The Legacy Workhorse
A Hard Disk Drive (HDD) is an electromechanical data storage device that stores and retrieves digital data using magnetic storage and rotating platters. It has been the primary non-volatile storage in computers for decades, but its mechanical nature creates inherent performance limitations.
#### How an HDD Works Internally
An HDD consists of one or more rigid, rapidly rotating platters coated with magnetic material. A read/write head on a moving actuator arm accesses data as the platters spin. The key components:
Platters: Circular disks, typically made of glass or aluminum, coated with a magnetic layer. Common sizes: 2.5-inch (laptop) and 3.5-inch (desktop). Platters spin at speeds of 5,400 RPM (economy), 7,200 RPM (standard), 10,000 RPM (performance), or 15,000 RPM (enterprise).
Read/Write Heads: One head per platter surface, mounted on an actuator arm. They float nanometers above the platter on a cushion of air. They never touch the platter during operation; contact causes a head crash.
Actuator: A voice coil motor that moves the heads across the platters. It is controlled by a servo mechanism that reads positioning data embedded on the platters.
Spindle Motor: Rotates the platters at a constant speed. The motor must maintain precise speed to ensure data can be read/written reliably.
Data is stored in concentric circles called tracks. Each track is divided into sectors, typically 512 bytes or 4,096 bytes (Advanced Format). A cylinder is the set of tracks at the same radial position across all platters. The HDD controller uses logical block addressing (LBA) to map logical block numbers to physical cylinder-head-sector (CHS) addresses.
#### Performance Metrics
Seek Time: Time for the actuator to move the heads to the correct track. Average seek time for modern HDDs: 8-12 ms (7,200 RPM), 4-6 ms (15,000 RPM).
Rotational Latency: Time for the platter to rotate the desired sector under the head. Average latency = half a rotation. For 7,200 RPM: (60/7,200)/2 = 4.17 ms. For 10,000 RPM: 3.0 ms.
Access Time: Seek time + rotational latency + command overhead. Typical: 12-18 ms.
Data Transfer Rate: Sustained read/write speed, typically 150-250 MB/s for consumer HDDs. Enterprise HDDs can reach 300 MB/s.
IOPS (Input/Output Operations Per Second): For random access, HDDs achieve 100-200 IOPS due to mechanical delays. Sequential access is higher.
#### Interface: SATA
Most HDDs use Serial ATA (SATA) interface. SATA III (6 Gb/s) is the current standard, with a maximum data rate of 600 MB/s (after 8b/10b encoding). SATA uses a point-to-point connection—each drive connects directly to a SATA port on the motherboard or controller. SATA supports hot-swapping (if the controller and OS support it).
#### Common Failure Modes
Head Crash: The read/write head contacts the platter, damaging the magnetic coating. Often caused by shock or power loss.
Bad Sectors: Areas of the platter that become unreadable due to wear or defects. The drive firmware remaps them to spare sectors.
Stiction: The heads stick to the platter when the drive is powered off, preventing spin-up. Common in older drives.
Motor Failure: The spindle motor seizes or fails to spin.
2. Solid-State Drives (SSD): Faster and More Reliable
A Solid-State Drive (SSD) uses NAND flash memory to store data, with no moving parts. This eliminates seek time and rotational latency, dramatically improving random access performance.
#### How NAND Flash Works
NAND flash memory cells store charge in a floating gate transistor. Each cell can hold one or more bits depending on the type:
SLC (Single-Level Cell): 1 bit per cell. Fastest, most durable, most expensive. Used in enterprise.
MLC (Multi-Level Cell): 2 bits per cell. Good balance of cost and performance. Common in consumer SSDs.
TLC (Triple-Level Cell): 3 bits per cell. Lower cost, slower, less durable. Most common in consumer SSDs today.
QLC (Quad-Level Cell): 4 bits per cell. Cheapest, slowest, lowest endurance. Used for bulk storage.
Cells are organized into pages (typically 4-16 KB) and blocks (typically 256-512 pages). Data is read and written in page-sized chunks, but erased in block-sized chunks. This asymmetry is critical: to overwrite a single page, the entire block must be read, modified, and rewritten to a new block, then the old block is erased. This is called write amplification.
#### SSD Controller
The SSD controller is a specialized processor that manages:
Flash Translation Layer (FTL): Maps logical block addresses (LBAs) to physical flash pages. Handles wear leveling, garbage collection, and bad block management.
Wear Leveling: Distributes write/erase cycles evenly across all blocks to prevent premature failure of heavily used cells. NAND cells have a limited lifespan: SLC ~100,000 cycles, MLC ~10,000, TLC ~3,000, QLC ~1,000.
Garbage Collection: During idle time, the controller consolidates valid pages from partially filled blocks into a new block, then erases the old blocks, making them available for new writes.
TRIM Command: An ATA command (supported by modern OSes) that informs the SSD which pages are no longer in use (e.g., after file deletion). This allows the SSD to pre-erase those blocks, maintaining write performance over time. Without TRIM, the SSD must move valid data out of a block before erasing it, slowing writes.
#### Performance
Sequential Read/Write: Consumer SATA SSDs: 500-560 MB/s. NVMe SSDs (covered next): 3,500-7,000 MB/s.
Random Read/Write (IOPS): SATA SSDs: 50,000-100,000 IOPS. NVMe: 500,000-1,000,000 IOPS.
Latency: SATA SSD: 0.1-0.2 ms (read), 0.3-0.5 ms (write). NVMe: 0.01-0.1 ms.
#### Interface: SATA vs. NVMe
SATA SSDs use the same interface as HDDs but are limited by the SATA protocol's command queue depth (NCQ allows up to 32 commands). NVMe (Non-Volatile Memory Express) is a protocol designed specifically for flash storage, using PCI Express (PCIe) lanes directly. It supports deep command queues (up to 64,000 commands per queue, with up to 65,535 queues) and reduces latency by eliminating the need for the SATA controller and AHCI driver overhead.
3. NVMe SSDs: The Modern Standard
NVMe is not a form factor but a protocol. NVMe drives typically come in M.2 or U.2 form factors and connect via PCIe.
#### M.2 Form Factor
M.2 is a small form factor expansion card that can support SATA or NVMe. Key points:
- Keying: M.2 SSDs have a key notch to prevent insertion into incompatible slots: - B-key: Supports SATA and PCIe x2. Typically used for Wi-Fi/Bluetooth cards. - M-key: Supports PCIe x4. High-performance NVMe SSDs use M-key. - B+M-key: Supports both SATA and PCIe x2/x4. Can fit in either slot but may be limited to x2 speed. - Lengths: Common lengths: 2230, 2242, 2260, 2280 (most common), 22110. The number indicates width (22 mm) and length in mm. - NVMe vs. SATA M.2: An M.2 slot can support either SATA or NVMe, but not always both. Check motherboard specifications. A SATA M.2 drive will not work in an NVMe-only slot, and vice versa.
#### PCIe Lanes
NVMe drives use PCIe lanes directly. Common configurations:
PCIe 3.0 x4: 4 lanes at 8 GT/s each, total ~3.94 GB/s (after encoding overhead).
PCIe 4.0 x4: 16 GT/s per lane, ~7.88 GB/s.
PCIe 5.0 x4: 32 GT/s per lane, ~15.76 GB/s (newer drives).
#### NVMe Features
Multiple Queues: Up to 65,535 I/O queues, each with up to 64,000 commands. This allows massive parallelism.
Interrupt Moderation: Reduces CPU overhead by coalescing interrupts.
Direct Memory Access (DMA): Data is transferred directly between the drive and system memory without involving the CPU for every byte.
#### Installation Considerations
Driver Support: Windows 8.1/10/11, macOS, and Linux have native NVMe drivers. Older OSes may need additional drivers.
BIOS/UEFI Settings: Ensure the M.2 slot is enabled and set to PCIe/NVMe mode. Some motherboards disable certain SATA ports when an M.2 SSD is installed (shared lanes).
Thermal Throttling: High-performance NVMe drives generate significant heat. Many include heatsinks; some motherboards have built-in M.2 heatsinks. Without adequate cooling, the drive may throttle performance to prevent damage.
4. Comparing HDD, SATA SSD, and NVMe SSD
| Feature | HDD | SATA SSD | NVMe SSD | |---------|-----|----------|----------| | Interface | SATA | SATA | PCIe (NVMe) | | Max Sequential Read | ~250 MB/s | ~560 MB/s | ~7,000 MB/s (PCIe 4.0) | | Random IOPS (4K) | ~200 | ~100,000 | ~1,000,000 | | Latency | ~10 ms | ~0.1 ms | ~0.01 ms | | Capacity | Up to 20 TB+ | Up to 8 TB | Up to 8 TB | | Cost per GB | ~$0.02 | ~$0.10 | ~$0.15 | | Durability | Low (mechanical) | High (no moving parts) | High | | Power Consumption | ~6-10 W | ~2-5 W | ~3-8 W |
5. RAID Configurations (Brief Overview)
RAID (Redundant Array of Independent Disks) combines multiple drives for performance or redundancy. Covered in detail in another chapter, but key points for storage:
RAID 0: Striping. Data split across drives. Increases performance but no redundancy. Failure of one drive loses all data.
RAID 1: Mirroring. Data duplicated on two drives. Redundancy but no performance gain for writes.
RAID 5: Striping with parity. Requires at least 3 drives. Can survive one drive failure. Good balance.
RAID 10: Mirroring + striping. Requires 4 drives. High performance and redundancy.
Identify Storage Requirements
Before selecting a drive, determine the primary use case: OS boot drive, application storage, bulk data, or high-performance database. For a boot drive, NVMe SSD provides the fastest boot times and application loading. For bulk storage of media files, a large HDD offers the best cost per gigabyte. For a server database, enterprise NVMe or SAS SSDs are preferred for high IOPS and reliability. Also consider capacity needs, budget, and form factor compatibility (2.5", 3.5", M.2).
Check Interface Compatibility
Verify the motherboard supports the desired interface. For SATA drives, ensure an available SATA port and power connector. For M.2 NVMe, check the M.2 slot key (B or M) and whether it supports SATA or NVMe. Some M.2 slots are SATA-only or NVMe-only. Also check if the slot shares bandwidth with SATA ports or PCIe slots—installing an M.2 drive may disable certain SATA ports. For U.2 NVMe drives, ensure the motherboard has a U.2 connector or use an adapter.
Select Appropriate Form Factor
For laptops, 2.5-inch SATA SSDs or M.2 SSDs are common. Desktops can accommodate 3.5-inch HDDs, 2.5-inch SSDs, and M.2 SSDs. M.2 drives are compact and require no cables, but they may run hot. Ensure adequate airflow or a heatsink. For servers, 2.5-inch SAS or SATA SSDs are typical, often in hot-swap bays. U.2 drives offer NVMe performance in a 2.5-inch form factor with hot-swap capability.
Install the Drive Correctly
For SATA drives, connect the data cable to the motherboard SATA port and the power cable from the PSU. For M.2, insert the card at a 30-degree angle into the slot, then press down and secure with a screw. Avoid touching the gold contacts. Ensure the drive is fully seated. For 2.5-inch drives in desktops, use a mounting bracket or adapter to fit in a 3.5-inch bay. In laptops, the drive may be held by screws or a tray. Always handle drives carefully, especially HDDs, which are sensitive to shock.
Configure BIOS/UEFI and Initialize Drive
Enter the BIOS/UEFI to ensure the drive is detected. For NVMe drives, the BIOS must support NVMe (UEFI with CSM disabled may be required). Set the storage controller mode to AHCI (not IDE) for optimal performance with SSDs. After booting the OS, initialize the drive using Disk Management (Windows) or Disk Utility (macOS). Create a partition table (GPT recommended for drives >2 TB and UEFI systems) and format with a file system (NTFS for Windows, APFS for macOS, ext4 for Linux).
Enterprise Scenario 1: Database Server Performance Upgrade
A financial services company runs a high-frequency trading database on a server with 12 HDDs in RAID 10. The database experiences high latency during peak trading hours, causing transaction delays. The bottleneck is random I/O performance—the HDDs can only deliver ~1,200 IOPS (100 per drive × 12). The solution: replace the HDD array with a single enterprise NVMe SSD (e.g., Samsung PM9A3) capable of 1,000,000 IOPS. The NVMe drive connects via PCIe 4.0 x4, providing 7 GB/s sequential throughput. The migration involves cloning the database to the new drive, updating the OS to use native NVMe drivers, and adjusting the database configuration to optimize for low latency. The result: transaction latency drops from 15 ms to 0.1 ms, and the server can handle 10x the trading volume. The key consideration is thermal management—the NVMe drive requires active cooling (a heatsink with a fan) to avoid throttling.
Enterprise Scenario 2: Media Production Workstation
A video editing studio needs a storage solution for 4K and 8K raw footage. Each editor's workstation requires fast access to project files and the ability to work with multiple streams simultaneously. The solution combines a 2 TB NVMe SSD for active projects and a 16 TB HDD for archived footage. The NVMe drive (e.g., WD Black SN850) provides 7,000 MB/s sequential read speeds, allowing instant scrubbing through 8K timelines. The HDD (e.g., Seagate IronWolf Pro) provides bulk storage at $0.02/GB. The editor uses a workflow where current projects reside on the NVMe, and completed projects are moved to the HDD. The system is configured with a script that automatically migrates files older than 30 days. Common issues: the HDD becomes a bottleneck when transferring large files; the solution is to use the NVMe as a cache (Intel Optane or similar) or to upgrade to a 10 GbE network for shared storage.
Enterprise Scenario 3: Virtualization Host Storage
A data center runs 50 virtual machines (VMs) on a single hypervisor host. The VMs require high random I/O for OS boot volumes and application data. The host has 24 2.5-inch 10K RPM SAS HDDs in a RAID 5 array, providing ~3,000 IOPS. As VMs are added, I/O wait times increase. The upgrade replaces the SAS array with a single U.2 NVMe SSD (e.g., Intel D7-P5510) with 30 TB capacity. The NVMe drive supports 1,000,000 IOPS, easily handling all 50 VMs. The hypervisor (VMware vSphere) uses the NVMe drive as a datastore formatted with VMFS. The drive is installed in a hot-swap U.2 bay connected to a PCIe switch. The key challenge is that the hypervisor's NVMe driver must be updated to support the drive. Misconfiguration can lead to the drive not being recognized or running at PCIe 3.0 speeds instead of 4.0. The solution ensures the BIOS sets the PCIe slot to Gen4, and the hypervisor uses the in-box NVMe driver.
The 220-1101 exam tests Objective 3.4: "Given a scenario, select, install, and configure storage devices." This includes understanding the differences between HDD, SSD, and NVMe, their interfaces (SATA, PATA, SCSI, SAS, NVMe), form factors (3.5", 2.5", M.2), and when to use each. Expect 3-5 questions on this topic.
Common Wrong Answers and Why Candidates Choose Them:
"NVMe is a form factor." — Many candidates confuse NVMe with M.2. NVMe is a protocol; M.2 is a form factor. An M.2 drive can be SATA or NVMe. The exam expects you to know that NVMe uses PCIe lanes and is faster than SATA.
"SSDs do not require TRIM." — Some think TRIM is optional. In reality, TRIM is essential for maintaining SSD write performance over time. Without TRIM, the SSD must perform garbage collection more frequently, slowing writes. Windows 7 and later support TRIM automatically.
"SATA III has a maximum throughput of 6 Gb/s, so an SSD can achieve 6 Gb/s." — The 6 Gb/s is the raw bit rate; after 8b/10b encoding, the actual data throughput is 600 MB/s. A SATA SSD can reach about 560 MB/s, not 750 MB/s.
"M.2 drives are always faster than 2.5-inch SSDs." — Not true. M.2 SATA drives are the same speed as 2.5-inch SATA SSDs. Only M.2 NVMe drives offer higher speeds. The form factor does not determine speed.
Specific Numbers and Terms to Memorize: - SATA III: 6 Gb/s, 600 MB/s effective - PCIe 3.0 x4: ~3.9 GB/s; PCIe 4.0 x4: ~7.9 GB/s - HDD speeds: 5,400, 7,200, 10,000, 15,000 RPM - SSD types: SLC, MLC, TLC, QLC (know endurance order) - M.2 key types: B-key (SATA/PCIe x2), M-key (PCIe x4), B+M-key - Form factors: 3.5" (desktop HDD), 2.5" (laptop HDD/SSD), M.2 (2280 common) - NVMe queue depth: up to 64,000 commands per queue, up to 65,535 queues
Edge Cases the Exam Loves: - A motherboard with an M.2 slot that shares bandwidth with SATA ports: installing an M.2 NVMe drive may disable two SATA ports. - An M.2 slot that only supports SATA: inserting an NVMe drive will not work. - Compatibility: Some older motherboards do not support booting from NVMe without a BIOS update.
How to Eliminate Wrong Answers: - If a question asks for the fastest storage, choose NVMe over SATA SSD over HDD. - If a question asks about cost-effective bulk storage, choose HDD. - If a question mentions a laptop upgrade, consider 2.5" SSD or M.2 SATA (if NVMe not supported). - If a question involves random I/O performance, SSD (especially NVMe) is superior. - Pay attention to interface limitations: SATA maxes out at 600 MB/s; PCIe 3.0 x4 at ~3.9 GB/s.
HDDs use spinning platters and moving heads; SSDs use NAND flash with no moving parts.
SSD performance is measured in IOPS; HDDs are limited to ~200 IOPS, while NVMe SSDs exceed 1,000,000 IOPS.
SATA III has a maximum data rate of 6 Gb/s, yielding ~600 MB/s after 8b/10b encoding.
NVMe uses PCIe lanes; PCIe 3.0 x4 provides ~3.9 GB/s, PCIe 4.0 x4 provides ~7.9 GB/s.
M.2 is a form factor; M.2 slots can be SATA-only, NVMe-only, or both. Check keying: B-key for SATA/PCIe x2, M-key for PCIe x4.
TRIM command is essential for maintaining SSD write performance by allowing the drive to pre-erase unused blocks.
NAND flash types: SLC (1 bit/cell, highest endurance), MLC (2 bits), TLC (3 bits), QLC (4 bits, lowest endurance).
HDDs are best for cost-effective bulk storage; SSDs for OS and applications; NVMe for high-performance computing.
These come up on the exam all the time. Here's how to tell them apart.
SATA SSD
Max sequential speed ~560 MB/s (limited by SATA III 6 Gb/s)
Uses AHCI driver, single command queue with 32 commands
Latency ~0.1 ms read, ~0.3 ms write
Lower power consumption (~2-5 W)
Cost per GB ~$0.10
NVMe SSD
Max sequential speed up to 7,000 MB/s (PCIe 4.0 x4)
Uses NVMe driver, up to 65,535 queues with 64,000 commands each
Latency ~0.01 ms read, ~0.02 ms write
Higher power consumption (~3-8 W) and heat generation
Cost per GB ~$0.15
Mistake
NVMe is a form factor like M.2.
Correct
NVMe is a protocol designed for flash storage over PCIe. M.2 is a form factor that can support SATA or NVMe. An M.2 drive can be SATA or NVMe; the protocol is independent of the form factor.
Mistake
All SSDs have the same performance.
Correct
SSD performance varies dramatically by interface (SATA vs. NVMe) and NAND type (SLC, MLC, TLC, QLC). SATA SSDs max at ~560 MB/s, while NVMe SSDs can exceed 7,000 MB/s. Also, QLC drives are slower and have lower endurance than SLC.
Mistake
An M.2 SSD will always be faster than a 2.5-inch SSD.
Correct
Only if the M.2 drive uses NVMe. A SATA M.2 drive performs identically to a 2.5-inch SATA SSD because both use the same SATA interface and protocol.
Mistake
SSDs do not need defragmentation.
Correct
True, but not for the reason many think. Defragmenting an SSD causes unnecessary write cycles and reduces lifespan. Windows automatically disables defragmentation for SSDs and instead runs the TRIM command. However, the myth is that defragmentation is harmful; it's actually just unnecessary and wears the drive.
Mistake
TRIM is only needed for older SSDs.
Correct
TRIM is essential for all SSDs to maintain write performance over time. Without TRIM, the SSD cannot pre-erase unused blocks, leading to write amplification and slower writes. Modern OSes support TRIM automatically, but it must be enabled.
Reveal each answer, then mark whether you got it right. Score 60%+ to unlock the next chapter.
SATA SSDs use the SATA interface, which has a maximum throughput of 600 MB/s, and use the AHCI driver with a single command queue limited to 32 commands. NVMe SSDs connect via PCIe lanes (e.g., PCIe 4.0 x4 provides ~7.9 GB/s) and use a protocol designed for flash, supporting up to 65,535 queues with 64,000 commands each, resulting in much lower latency and higher IOPS. For the exam, remember that NVMe is significantly faster than SATA.
No, unless the slot is labeled as supporting both (B+M key). An M.2 slot that is SATA-only (B-key) will not detect an NVMe drive (M-key). Always check the motherboard manual. Conversely, an NVMe-only slot will not work with a SATA M.2 drive. Some motherboards have dual-mode slots that support both, but you must set the BIOS to the correct mode.
TRIM is an ATA command that allows the operating system to inform the SSD which data blocks are no longer in use (e.g., after file deletion). Without TRIM, the SSD does not know that those blocks are free, so when it needs to write new data, it must first read the old block, modify it, and write it to a new block (write amplification), slowing performance. TRIM enables the SSD to pre-erase unused blocks during idle time, maintaining high write speeds. Windows 7+ and most modern OSes support TRIM automatically.
For a boot drive and frequently used applications, choose an NVMe SSD for the fastest performance. For a budget-friendly system, a SATA SSD is a good compromise. For bulk storage of large files (videos, backups), an HDD offers the lowest cost per gigabyte. In a laptop, consider power consumption and heat: NVMe drives can run hot. Always check interface compatibility and form factor (2.5", M.2). For the exam, remember that NVMe is best for high performance, HDD for capacity, and SATA SSD for balance.
MLC (Multi-Level Cell) stores 2 bits per cell, offering a good balance of speed, endurance, and cost. TLC (Triple-Level Cell) stores 3 bits per cell, cheaper but slower and with lower endurance (typically 3,000 write cycles). QLC (Quad-Level Cell) stores 4 bits per cell, cheapest and slowest, with endurance as low as 1,000 cycles. SLC (Single-Level Cell) stores 1 bit per cell, fastest and most durable (100,000 cycles), but expensive. For the exam, know that SLC > MLC > TLC > QLC in terms of performance and endurance, but reverse in cost.
Throttling occurs when an SSD's temperature exceeds a safe threshold (typically around 70-80°C for NVMe drives). The controller reduces performance (e.g., lowers PCIe speed or pauses operations) to prevent damage. This is common in high-performance NVMe drives under sustained loads. To avoid throttling, ensure adequate cooling: use heatsinks, ensure airflow, or choose drives with lower thermal output. The exam may test that NVMe drives generate more heat than SATA SSDs.
Yes, but with caveats. The motherboard must have an M.2 slot that supports NVMe (or a PCIe adapter). The BIOS must support NVMe booting; older BIOS may not. In such cases, you can use a bootloader like Clover or modify the BIOS to add NVMe support. Alternatively, use a SATA SSD as the boot drive and NVMe as a secondary drive. For the exam, know that UEFI systems generally support NVMe boot, while legacy BIOS may not.
You've just covered Storage Devices: HDD, SSD, NVMe — now see how well it sticks with free 220-1101 practice questions. Full explanations included, no account needed.
Done with this chapter?