Skip to content
Daniel Wagner edited this page Jan 20, 2025 · 10 revisions

nvme list shows wrong disk/block size

nvme-cli v2 relies on the kernel reporting the correct disk/block size via the sysfs interface.

Also ensure libnvme has:

and Linux kernel has (v6.8):

nvme id-ns shows the correct disk/block size because it will issue a command to read the current value.

nvme list shows old firmware version after firmware udpate

nvme-cli reads the firmware version from sysfs. Older kernel don't update the firmware entry in sysfs after an firmware upgrade. After a reboot the correct version will be shown. Altnernative you can use nvme id-ctrl to check the firmware version.

Clone this wiki locally