Files
os-brick/os_brick/initiator/connectors/nvmeof.py
Szczerbik, Przemyslaw 6ea276c22e nvmeof: Use subnqn to disconnect a volume
nvme-cli no longer allows to use a path to nvme block device
(e.g. /dev/nvme0n1) as an argument to nvme disconnect command.
For more details, please see:
https://github.com/linux-nvme/nvme-cli/issues/563

To address this issue, change the command that is executed to
disconnect a volume from:

$ nvme disconnect -d <device>

to:

$ nvme disconnect -n <subnqn>

Change-Id: I51a30825da5e7378ebc1d6f4a12645d73d7feb19
Closes-Bug: #1843431
Signed-off-by: Szczerbik, Przemyslaw <przemyslawx.szczerbik@intel.com>
2019-10-09 17:06:36 +00:00

9.0 KiB