I tried the latest nvme-cli to do the nvme reset and nvme subsystem-reset on one nvme disk,
but it shows "Unknown error -15" when I use the NS device[1], but the previous version shows "Reset: Block device required"[2].
And also I think "Block device required" is misleading since we need put the char device /dev/nvme0 here.
[1]
# ./nvme --version
nvme version 3.0-a.1 (git 2.16-2216-ga57c1b3)
libnvme version 3.0-a.1 (git 2.16-2216-ga57c1b3)
# ./nvme reset /dev/nvme0n1
Reset: Unknown error -15
[2]
# nvme --version
nvme version 2.16 (git 2.16)
libnvme version 1.16.1 (git 1.16.1)
# nvme reset /dev/nvme0n1
Reset: Block device required
# nvme subsystem-reset /dev/nvme0n1
Subsystem-reset: Block device required
I tried the latest nvme-cli to do the
nvme resetandnvme subsystem-reseton one nvme disk,but it shows "Unknown error -15" when I use the NS device[1], but the previous version shows "Reset: Block device required"[2].
And also I think "Block device required" is misleading since we need put the char device
/dev/nvme0here.[1]
[2]