bashnvme

nvme command is unusable with error: bash: nvme: command not found


Drivers are loaded but I can't use the command:

lsmod | grep nvme
nvme                   32375  0 
nvme_core              58654  1 nvme

Error:

bash: nvme: command not found...


Solution

  • You need to install it. On RHEL/Fedora systems:

    sudo dnf install nvme-cli
    

    Someone else can tell you how to do it for Ubuntu. (Sorry, I'm a Red Hat guy.)