table of contents
- Tumbleweed 3.0~b.4-1.1
- Leap-16.0
- Leap-15.6
| NVME-CONNECT(1) | NVMe Manual | NVME-CONNECT(1) |
NAME¶
nvme-connect - Connect to a Fabrics controller.
SYNOPSIS¶
nvme [<global-options>] connect [--config=<filename>]
[--devid-file=<filename>]
[--idempotent]
[--owner=<NAME>]
[<fabrics-options>]
DESCRIPTION¶
Create a transport connection to a remote system (specified by --traddr and --trsvcid) and create a NVMe over Fabrics controller for the NVMe subsystem specified by the --nqn option.
OPTIONS¶
--config=<filename>
--devid-file=<filename>
When used with --idempotent, the existing device name is written before the command exits successfully. This allows a supervising process, such as a systemd service, to identify the device for a later disconnect operation.
The output file is created before attempting the connection. If the file cannot be created, for example because the parent directory does not exist, the command fails without attempting the connection.
--idempotent
--owner=<NAME>
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 connect --transport=rdma --traddr=192.168.1.3 \ --nqn=nqn.2014-08.com.example:nvme:nvm-subsystem-sn-d78432
SEE ALSO¶
AUTHORS¶
This was co-written by Jay Freyensee[1] and Christoph Hellwig[2]
NVME¶
Part of the nvme-user suite
NOTES¶
- 1.
- Jay Freyensee
- 2.
- Christoph Hellwig
| 07/31/2026 | NVMe |