Pcornel
Storage · Storage Interfaces

PCIe

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

Back to the Topic

Answer

PCIe as a storage interface is the CPU-attached serial bus used by NVMe SSDs and HBAs. Bandwidth depends on generation and lane count, such as about 8 GB/s for a Gen4 x4 drive.

Remember

  • Bandwidth depends on generation and lanes.
  • Gen4 x4 gives about 8 GB/s.
  • Shared or downgraded links limit throughput.

First checks

  • lspci -vv | grep -E 'LnkCap|LnkSta' — links
  • lspci -tv — tree
  • dmesg | grep -i -e aer -e pcie — errors

Verify in this order

root complex → switches → endpoints

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

Confirmation

Confirm action

Continue?