NVME-DIM(1)
π NVME-DIM(1) π
okay so bestie, welcome to the NVMe Manual page for nvme-dim β the command that handles your Discovery Controller registration business. Itβs giving main character energy, but only for persistent DC connections. Letβs get into it π
πΈ NAME πΈ
nvme-dim β Send Discovery Information Management command to one or more Discovery Controllers. periodt.
β¨ SYNOPSIS β¨
nvme [<global-options>] dim
[--task=<task> | -t <task>]
[--nqn=<nqn> | -n <nqn>]
[--device=<device> | -d <device>]
π¦ DESCRIPTION π¦
Send the Discovery Information Management (DIM) command to one or more Discovery Controllers. The DIM command lets you do two types of tasks: register or deregister. iconic behavior.
The DIM command is used to explicitly register with Discovery Controllers (DC), especially with Central Discovery Controllers (CDC). CDCs maintain a database (DB) of all the Hosts and Storage Subsystems in a network. The register task adds a host to the CDCβs DB. The deregister task removes a host from the CDCβs DB.
During a register operation the host sends mandatory information such as the Hostβs NQN and ID, as well as the Hostβs hostname and the Operating Systemβs version that it is running on. There is also an optional Host Symbolic Name that can be registered with the CDC.
β οΈ okay huge caveat, bestie: this command can only be applied to existing DC connections previously created with thenvme-discover(1)command using the--persistentoption. Like, it is not out here making brand-new connections. Respect the vibe check.
π OPTIONS π
-t <task>,--task <task>β The task to perform:registerorderegister.-n <subnqn>,--nqn <nqn>β The DIM command will be sent to the Discovery Controller (DC) matching this NQN. A list of comma-separated NQNs can be supplied to apply the command to more than one DC.-d <device>,--device <device>β The DIM command will be sent to the Discovery Controllers (DC) associated with this NVMe device handle. A list of comma-separated device handles can be supplied to apply the command to more than one DC.
π GLOBAL OPTIONS π
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-runβ Print the command that would be executed, but do not actually execute it.--no-ioctl-probingβ Disable probing for 64-bit IOCTL support.--no-retriesβ Disable retry logic on transient errors.-o <fmt>,--output-format=<fmt>β Set the reporting format tonormal, tabular, 'json, or binary. Only one output format may be used at a time.--output-format-version=<version>β Select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names. Other versions are rejected.--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level.--set-options=<key=value>[,<key=value>...]β Set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β Set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff).-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity.
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
π EXAMPLES π
- Register with the Central Discovery Controller (CDC) named
nqn.1988-11.com.dell:SFSS:1:20220118125153e8:
# nvme dim --task=register --nqn=nqn.1988-11.com.dell:SFSS:1:20220118125153e8
- Deregister from Central Discovery Controller (CDC) associated with
nvme4:
# nvme dim --task=deregister --device=nvme4
π«Ά SEE ALSO π«Ά
nvme-discover(1) β literally the connected bestie of this page. Go read it, iykyk.
π NVME π
Part of the nvme-user suite. Short, sweet, iconic.
π cute sign-off: source/versionNVMe, date10/30/2026, pageNVME-DIM(1). Bye bestie β go be the main character of your discovery database π β¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms