linux-nvme / nvme-cli

NVMe management command line interface.
https://nvmexpress.org
GNU General Public License v2.0
1.41k stars 637 forks source link

How do I make nvme-cli work to a /dev/sda device? #2385

Closed jcdutton closed 2 weeks ago

jcdutton commented 2 weeks ago

How do I make nvme-cli work to a /dev/sda device?

I have a nvme device in a usb enclosure. I can use smarctl to speak to the nvme device. I would like the "nvme" command from nvme-cli to also be able to talk to it.

keithbusch commented 2 weeks ago

nvmecli uses ioctls provided by the Kernel's NVMe layer to send commands. Devices that present themselves through the scsi layer can't be used by this program.