NVME-REGISTRY-DELE(1)
π NVME-REGISTRY-DELE(1) β the registry delete glow-up π
okay bestie, welcome to nvme-registry-delete, part of the nvme manual (the NVMe Manual, if we're being formal π
). this is the page where we talk about removing a controller's registry entry, or just one little attribute from it. lowkey powerful, highkey useful. let's get into it β¨
πΈ NAME πΈ
nvme-registry-delete β Remove a controller's registry entry or attribute ποΈβ¨
π¦ SYNOPSIS π¦
nvme [<global-options>] registry delete <device>
[--attr=<ATTR> | -a <ATTR>]
that's the whole vibe. <device> goes here, --attr is optional, we move π«
π DESCRIPTION π
okay so picture this: you've got an NVMe-oF controller, and it has an ownership registry entry. this command removes that entry β or just one single attribute out of it. the registry entry is literally the directory /run/nvme/registry/<device>/ plus every attribute file chillin' inside it. that's the thing. π«Ά
the <device> is the NVMe controller name (think nvme3), and you pass it as a positional argument. the /dev/ prefix? optional. wear it or don't, no cap π
- no
--attrβ the whole entry gets nuked. gone. bye π - with
--attrβ only that one attribute file gets removed, and the rest of the entry stays exactly where it is. respectful. considerate. we love to see it π
ngl, under normal operation you don't even have to do this β registry entries get removed automatically, because a udev rule fires on the kernel REMOVE event and deletes the entry for you. this command exists for manual cleanup, or for orchestrators who want to explicitly release ownership before disconnecting. main character energy π₯
β οΈ listen bestie, removing the whole entry β or the owner attribute specifically β drops ownership and can stop an orchestrator from protecting the controller. so when you run it interactively, it prompts for confirmation. non-interactive callers (scripts) just proceed without prompting, no questions asked. removing any other attribute doesn't affect ownership at all and proceeds silently π€«β¨
π OPTIONS π
-a <ATTR>,--attr=<ATTR>β the attribute to remove. if you omit it, the whole entry gets removed instead. choose your fighter π
β GLOBAL OPTIONS β
these bad boys are defined up at the top-level nvme command, and they're available to this subcommand too. slay π«Ά
--dry-runβ prints the command that would be executed, but doesn't actually execute it. a little preview moment, we stan π--no-ioctl-probingβ disables probing for 64-bit IOCTL support.--no-retriesβ disables retry logic on transient errors.-o <fmt>,--output-format=<fmt>β sets the reporting format to normal, tabular,json, or binary. only one output format at a time, bestie, pick one π--output-format-version=<version>β selects the output format version. version 1 uses the original field naming, while version 2 (the default) gives you more consistent and script-friendly field names. other versions are rejected, periodt π«--quietβ suppresses informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. shhh π€«--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. key=value combos, comma-separated, you got this β¨--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). no clock-watching energy β³-v,--verboseβ increases the level of detail in the output. you can specify it multiple times to further increase verbosity. more is more, iykyk π
π‘ these options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file β CLI stays the main character π
π EXAMPLES π
- remove the registry entry for
nvme3:
# nvme registry delete nvme3
- remove a single attribute, leaving the rest of the entry:
# nvme registry delete nvme3 --attr note
see? easy. chef's kiss π§
π SEE ALSO π
nvme-registry-list(1) Β· nvme-registry-retrieve(1) Β· nvme-registry-update(1) Β· nvme-disconnect-all(1)
π NVME π
part of the nvme-user suite π
and that's the whole page, bestie! β¨ this one's from NVMe, dated 10/30/2026, and it's the NVME-REGISTRY-DELE(1) page you just read β go forth and delete responsibly, mwah ππ¦
π¦ 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