Storage · Physical Storage Media
SSD
Cheat sheet · https://pcornel.dk/topic.php?topic=3878
Answer
An SSD (solid-state drive) stores data in NAND flash with no moving parts, giving much lower latency and higher IOPS than HDDs. Endurance, cell type (SLC to QLC) and interface (SATA, SAS, NVMe) set its use.
Remember
- Endurance depends on cell type and spare area.
- TRIM keeps write performance steady.
- SSDs can fail suddenly or become read-only.
First checks
smartctl -a /dev/sdX | grep -i -e wear -e percent— SATA SSD wearnvme smart-log /dev/nvme0— NVMe healthlsblk -d -o NAME,ROTA,DISC-GRAN— SSD and discard support
Commands
smartctl -a
Verify in this order
host → controller → FTL → NAND
Where it usually breaks
First mismatch in media/firmware → device controller → interface/link → host driver → block device → upper storage layer; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3878