Sub topic 7
Removable flash media: USB drives and memory cards
Removable flash media stores data in NAND flash and can be unplugged and carried between devices. It is the portable counterpart of the internal SSD you met earlier. This chapter assumes you know how NAND flash works in an SSD, how file systems such as FAT32 and NTFS organize data, and the basic USB port types.
What makes flash media removable
A USB flash drive and an SD card both contain NAND flash and a small controller chip. The controller handles wear leveling, error correction, and translating the host's requests into flash operations. The difference from an internal SSD is the connector. Removable media uses a standard port or slot instead of SATA or M.2, and it is built to be inserted and removed often.
Removable media is cheap and portable, but it has weaknesses compared with an SSD:
- It usually has a simpler controller and slower sustained writes.
- It has less wear-leveling headroom, so it tolerates fewer writes.
- It is easy to lose, and it is easy to damage by pulling it out mid-write.
USB flash drives
A USB flash drive plugs directly into a USB port. Its speed depends on both the drive and the port it is plugged into. The slower of the two sets the limit.
| Standard | Signaling rate | Typical connector |
|---|---|---|
| USB 2.0 | 480 Mbps | Type-A, Micro-B |
| USB 3.2 Gen 1 (formerly USB 3.0) | 5 Gbps | Type-A (usually blue), Type-C |
| USB 3.2 Gen 2 | 10 Gbps | Type-A, Type-C |
Type-C drives are common for phones and laptops. Many are dual-connector drives, with Type-A on one end and Type-C on the other. A fast drive in a USB 2.0 port runs at USB 2.0 speed.
Some enterprise and security-focused drives add hardware encryption or a keypad. Removable drives are a common route for data theft, so exam scenarios may mention encrypting them.
SD cards
The Secure Digital (SD) card is the standard removable card for cameras, drones, and single-board computers. SD cards come in three physical sizes:
- Standard SD: 32 x 24 mm.
- miniSD: smaller and largely obsolete.
- microSD: 15 x 11 mm, used in phones, action cameras, and handheld consoles.
A microSD card fits a full-size slot with a passive adapter. The adapter only reroutes the pins, so it adds no speed and no capacity.
Capacity families
The SD family name tells you the capacity range and the default file system. The names are easy to confuse on the exam.
| Family | Capacity range | Default file system |
|---|---|---|
| SD | Up to 2 GB | FAT16 |
| SDHC (High Capacity) | More than 2 GB, up to 32 GB | FAT32 |
| SDXC (eXtended Capacity) | More than 32 GB, up to 2 TB | exFAT |
| SDUC (Ultra Capacity) | More than 2 TB, up to 128 TB | exFAT |
Compatibility runs in one direction. A newer host can read older cards, but an older host cannot read newer ones. An old SDHC-only reader will not recognize an SDXC card, because it does not understand exFAT. If a card shows as unreadable or asks to be formatted in an old device, check the family first.
Speed ratings
Capacity says nothing about speed, so cards carry several speed markings:
- Speed Class (C2, C4, C6, C10) gives the minimum sustained write speed in MB/s. Class 10 means at least 10 MB/s.
- UHS Speed Class (U1, U3) gives a minimum of 10 MB/s and 30 MB/s respectively.
- Video Speed Class (V6, V10, V30, V60, V90) gives the minimum sustained write speed for video recording. V30 means 30 MB/s.
- The UHS bus (UHS-I, UHS-II, UHS-III) sets the maximum transfer rate of the interface. UHS-I tops out near 104 MB/s and UHS-II near 312 MB/s. UHS-II cards have a second row of pins.
For 4K video, choose a card whose minimum sustained write speed meets the camera's bitrate. A card with high headline read speed but a low minimum write class can still drop frames.
The write-protect switch
A full-size SD card has a small slider on its side. Moving it to the lock position makes the card read-only. A card that mounts but refuses to save, delete, or format is often switched to lock. MicroSD cards have no switch.
Other legacy formats
Older cards appear on the exam as recognition items:
- CompactFlash (CF) is a larger card based on a parallel ATA interface. It is found in older professional cameras and some industrial equipment.
- xD-Picture Card was used in older Olympus and Fujifilm cameras.
- Memory Stick was Sony's proprietary format.
Card readers
A card reader connects a card to a PC. Many laptops have a built-in SD slot, and multi-format readers connect over USB. The card appears as a drive letter in Windows, or as a block device on Linux. The reader's USB speed matters. A UHS-II card in a USB 2.0 reader is limited to USB 2.0 speed.
Working with removable media
The file system and the removal procedure cause most problems.
- FAT32 cannot store a single file larger than 4 GB, and its volumes are limited in size by many tools. exFAT removes both limits and works on Windows, macOS, and modern Linux.
- NTFS adds permissions and journaling, but it is not writable on every device, such as some cameras and TVs.
- Eject media with "Safely Remove Hardware" or the unmount command before pulling it. Write caching means data can still be in memory when the copy dialog closes. Removing the media early can corrupt the file system.
On Linux, the RM column of lsblk marks removable devices:
lsblk -o NAME,RM,SIZE,TYPE,FSTYPE,MOUNTPOINTAn RM value of 1 means the kernel treats the device as removable. On Windows, PowerShell can list removable volumes:
Get-Volume | Where-Object DriveType -eq 'Removable' | Select-Object DriveLetter, FileSystemLabel, FileSystem, SizeBoth commands show the file system, which helps when a card is full-size but will not accept a large file.
Common symptoms
| Symptom | Likely cause |
|---|---|
| Card is read-only | Write-protect switch is locked |
| Old camera asks to format an SDXC card | The device does not support exFAT or SDXC |
| Copy fails on a file over 4 GB | The media uses FAT32 |
| Drive copies slowly | Plugged into a USB 2.0 port, or the card has a low speed class |
| Drive is not detected | Bad port, bad cable or reader, dead drive, or missing driver |
| File system is corrupted | Media was removed without ejecting |
Exercise
A photographer inserts a 128 GB microSD card, using a full-size adapter, into an older laptop's SD slot. The laptop reports that the card is unreadable and offers to format it. The card works in the photographer's camera. Name the card's family, its default file system, and the most likely cause.
Show answer
A 128 GB card is SDXC, and its default file system is exFAT. The older laptop's reader probably supports only SD and SDHC, so it cannot read an SDXC card or exFAT. Formatting would erase the photos. The fix is a newer reader, such as a USB SDXC reader, or an exFAT driver update.
Exercise
You need to copy a 6 GB video file to a USB drive formatted as FAT32, and the copy fails. Why, and what do you do?
Show answer
FAT32 limits a single file to 4 GB. Copy the files off the drive first, then reformat it as exFAT, or as NTFS if it will only be used with Windows. Then copy the video again.