Sub topic 11
Storage connections on the board: SATA, M.2, and NVMe
This chapter assumes you know what a chipset is and how PCIe lanes work, from the earlier chapters on chipsets and expansion slots. It also assumes you know the difference between an HDD and an SSD.
Three terms that are easy to mix up
Two different ideas are often blended together on the exam.
- Connector or form factor is the physical shape: a SATA port, or an M.2 slot.
- Interface and protocol is how data travels: SATA (using the AHCI protocol) or PCIe (using the NVMe protocol).
An M.2 slot is only a connector. A drive in it can use either the SATA or the PCIe interface.
SATA
SATA (Serial ATA) uses a thin 7-pin data cable that runs from the drive to a port on the motherboard. The drive also needs a separate power cable from the power supply. Each port serves one drive.
| Revision | Raw speed | Practical maximum |
|---|---|---|
| SATA 1.0 | 1.5 Gb/s | about 150 MB/s |
| SATA 2.0 | 3 Gb/s | about 300 MB/s |
| SATA 3.0 | 6 Gb/s | about 600 MB/s |
SATA revisions are backward compatible. A SATA III drive works in a SATA II port, but at the slower speed. Standard SATA is hot-swappable only when the controller and drive support it. eSATA is the external version of the port.
M.2
M.2 is a small slot for flat "stick" drives. It carries data and power, so there are no cables. The drive is held by a single screw at the end.
M.2 drives are named by size. For example, 2280 means 22 mm wide and 80 mm long. The slot has a key notch that must match the drive:
- B key is used by SATA-based M.2 drives (and PCIe x2).
- M key is used by PCIe x4 drives, which is what NVMe drives need.
- B+M key drives fit both kinds of slot.
Boards may support only one type in a given slot. Check the manual, because some M.2 slots take SATA only.
NVMe
NVMe (Non-Volatile Memory Express) is a protocol designed for flash storage. It runs over PCIe lanes, normally x4, which gives much higher speed and lower latency than SATA.
| Interface | Approximate maximum |
|---|---|
| SATA III | 600 MB/s |
| PCIe 3.0 x4 | about 3,900 MB/s |
| PCIe 4.0 x4 | about 7,800 MB/s |
NVMe drives are also sold as PCIe add-in cards. These fit in an x4 or larger slot.
Common errors
- Drive not detected in M.2. The drive and slot do not match. A SATA M.2 drive will not work in a PCIe-only slot.
- A SATA port stops working. Some boards disable a SATA port when a particular M.2 slot is in use, because they share bandwidth. This is documented in the manual.
- Slow NVMe speeds. The drive may be in a slot with fewer lanes, or on an older PCIe generation.
- Drive visible but not bootable. Check the boot order and the UEFI settings.
Exercise
A technician installs an M.2 2280 SSD in a motherboard's M.2 slot, but the system does not detect it. The drive is a SATA M.2 model, and the slot supports only PCIe NVMe. What is the problem, and what are two fixes?
Show answer
The slot and drive use different interfaces. The M.2 connector fits both, but the slot does not support SATA. Fixes: use an M.2 slot that supports SATA, or replace the drive with an NVMe model that suits the slot.