Pcornel
Storage · Physical Storage Media

NVMe

Cheat sheet · https://pcornel.dk/topic.php?topic=3893

Back to the Topic

Answer

NVMe is the storage protocol designed for flash on PCIe, with many deep queues and low overhead. NVMe drives reach hundreds of thousands of IOPS and microsecond latency, far beyond SATA or SAS.

Remember

  • NVMe runs over PCIe with many deep queues.
  • Link width and generation limit bandwidth.
  • NVMe drives throttle when hot.

First checks

  • nvme list — devices and namespaces
  • nvme smart-log /dev/nvme0 — health
  • lspci -vv -s <bdf> | grep LnkSta — PCIe link

Verify in this order

host driver → queues → controller → namespaces

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=3893

Confirmation

Confirm action

Continue?