Commands to identify nvme disks

lspci |grep -i ssd
lsblk |egrep “NAME|nvme”
dmesg|grep -i nvme
grep nvme /proc/modules
lsmod | grep nvme
sudo nvme list /dev/nvme0n1
sudo isdct show -a -intelssd 0

Advertisements

How to find disk model, serial, firmware version etc. in Linux

sudo hdparm -I /dev/sda | head
sudo smartctl -i /dev/sda
ls -l /dev/disk/by-id
lshw -class disk
hwinfo –disk

Nvme firmware:

sudo nvme fw-log /dev/nvme0n1
sudo nvme list
sudo isdct show -all -intelssd | grep Firmware

The isdct command provided by Intel and nvme-cli package needs to be installed.

What is NVMe?

Flash and SSD storage devices are faster than spinning disks because they have no moving parts. They can be even faster. They are still accessed using SCSI protocol that sends one command at a time. With NVMe (Non-Volatile Memory Express), a protocol that will be used to access SSDs via PCIe interface.

This is an excellent introduction to NVMe: NVMe for Absolute Beginners.