table of contents
- Tumbleweed 3.0~b.4-1.1
- Leap-16.0
- Leap-15.6
| NVME-DISCONNECT(1) | NVMe Manual | NVME-DISCONNECT(1) |
NAME¶
nvme-disconnect - Disconnect one or more Fabrics controller(s).
SYNOPSIS¶
nvme [<global-options>] disconnect [--device=<device> | -d <device>]
[--exclude | -x]
[<fabrics-options>]
DESCRIPTION¶
Disconnects and removes one or more existing NVMe over Fabrics controllers. If the --device option is specified, the controller with that name will be removed. If --nqn is given by itself, every controller connected to the subsystem identified by subnqn will be removed. If --nqn is combined with any of the other fabrics options below (the same ones nvme connect accepts, such as --transport, --traddr, --trsvcid, --host-traddr, --host-iface, --hostnqn or --hostid), only the controller(s) matching all of the specified options are removed — useful for disambiguating between multiple controllers connected to the same subsystem. --device cannot be combined with --nqn or any of the other fabrics options.
With --exclude, a matching entry is written to the system-wide NVMe-oF exclusion list before the controller (or subsystem) is torn down, so that a cooperating orchestrator sees the exclusion in place before the removal event fires and does not immediately reconnect. See nvme-exclusion-add(1) and the exclusion list overview for details.
OPTIONS¶
-d <device>, --device <device>
-x, --exclude
FABRICS OPTIONS¶
The following options are common to NVMe over Fabrics commands such as nvme connect:
-a <traddr>, --traddr=<traddr>
--concat
-c <#>, --reconnect-delay=<#>
-C <secret>, --kxchap-ctrl-secret=<secret>
-S <secret>, --kxchap-secret=<secret>
-C <secret>, --dhchap-ctrl-secret=<secret>
-S <secret>, --dhchap-secret=<secret>
--disable-sqflow
-G, --data-digest
-D, --duplicate-connect
-g, --hdr-digest
-f <iface>, --host-iface=<iface>
-I <hostid>, --hostid=<hostid>
-q <hostnqn>, --hostnqn=<hostnqn>
-w <traddr>, --host-traddr=<traddr>
-k <#>, --keep-alive-tmo=<#>
--keyring=<keyring>
-n <subnqn>, --nqn=<subnqn>
-i <#>, --nr-io-queues=<#>
-P <#>, --nr-poll-queues=<#>
-W <#>, --nr-write-queues=<#>
-Q <#>, --queue-size=<#>
-l <#>, --ctrl-loss-tmo=<#>
-s <trsvcid>, --trsvcid=<trsvcid>
-T <#>, --tos=<#>
-t <trtype>, --transport=<trtype>
+
| Value | Description |
| rdma | RDMA (RoCE, iWARP, InfiniBand) |
| tcp | TCP/IP |
| fc | Fibre Channel (experimental) |
| loop | Local loopback transport |
--tls
--tls-key=<tls-key>
--tls-key-identity=<identity>
GLOBAL OPTIONS¶
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-run
--no-ioctl-probing
--no-retries
-o <fmt>, --output-format=<fmt>
--output-format-version=<version>
--timeout=<ms>
-v, --verbose
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
EXAMPLES¶
# nvme disconnect --nqn=nqn.2014-08.com.example:nvme:nvm-subsystem-sn-d78432
# nvme disconnect --device=nvme4
# nvme disconnect --nqn=nqn.2014-08.com.example:nvme:nvm-subsystem-sn-d78432 \
--transport=tcp --traddr=192.168.1.100
# nvme disconnect --device=nvme4 --exclude
SEE ALSO¶
NVME¶
Part of the nvme-user suite
| 07/31/2026 | NVMe |