table of contents
| NVME-REGISTRY-RETR(1) | NVMe Manual | NVME-REGISTRY-RETR(1) |
NAME¶
nvme-registry-retrieve - Read an attribute from a controller's registry entry
SYNOPSIS¶
nvme [<global-options>] registry retrieve <device>
--attr=<ATTR> | -a <ATTR>
DESCRIPTION¶
Read a single attribute from the ownership registry entry for an NVMe-oF controller. The registry is stored under /run/nvme/registry/ as one directory per live controller, with one plain-text file per attribute (e.g. /run/nvme/registry/nvme3/owner).
The <device> is the NVMe controller name (e.g. nvme3), given as a positional argument; the /dev/ prefix is optional.
OPTIONS¶
-a <ATTR>, --attr=<ATTR>
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 registry retrieve nvme3 --attr owner stas
SEE ALSO¶
nvme-registry-list(1) nvme-registry-update(1) nvme-registry-delete(1)
NVME¶
Part of the nvme-user suite
| 07/31/2026 | NVMe |