Get NVMe Firmware Version
To obtain the firmware version of an NVMe drive on a Debian-based system, you can use the nvme
command-line utility. If it is not already installed, you can install it using the apt
package manager:
sqlsudo apt-get update
sudo apt-get install nvme-cli
After the nvme-cli
tool is installed, you can check the firmware version of the NVMe drive using the following command:
bashsudo nvme id-ctrl /dev/nvme0 -H
This command will display a lot of information about your NVMe drive. The "FR" field represents the firmware revision.
Please note that you might need to replace /dev/nvme0
with the correct path to your NVMe device if it's different. You can list all NVMe devices using the following command:
bashls /dev/nvme*
The output of this command will show you all the NVMe devices on your system. The main device names should look something like /dev/nvme0
, /dev/nvme1
, and so on, and each partition on those devices will be listed as /dev/nvme0n1
, /dev/nvme0n1p1
, etc.
Remember, it's always a good idea to run these commands with care and make sure you are pointing to the correct device.