NVME-DISCONNECT-AL(1)
π nvme-disconnect-all(1) β the NVMe over Fabrics cleanup era
okay bestie so this is nvme-disconnect-all from the NVMe manual (section 1, iykyk), and honestly? It's giving "spring cleaning for your Fabrics controllers." Let's get into it. β¨
πΈ NAME πΈ
nvme-disconnect-all β disconnect from all the connected Fabrics controllers. yes, all of them. the whole squad. π«Ά
π SYNOPSIS π
nvme [<global-options>] disconnect-all
[--transport=<STR> | -t <STR>]
[--owner=<NAME>]
[--force]
literally that's it. look at her go. π
π DESCRIPTION π
So what it does: it disconnects and removes NVMe over Fabrics controllers. But here's the main character plot twist β the default behavior is ownership-aware. That means it only disconnects controllers that have no entry in the ownership registry. Controllers that are registered to an orchestrator (like nvme-stas or nbft) are left completely untouched. not us touching them. not ever. π
Use --owner to target a specific orchestrator's controllers, or --force to disconnect all controllers regardless of ownership. Important: --force and --owner are mutually exclusive β you cannot have both, pick a lane bestie. π
When either flag is used interactively, a confirmation prompt is shown. Non-interactive invocations proceed without prompting β no vibe check, it just goes. β‘
See the documentation for the nvme-disconnect(1) command for further background if you want the deep lore. π
β¨ OPTIONS β¨
-t <STR>,--transport=<STR>β limit the disconnection to controllers using the specified transport (e.g.tcp,rdma,fc). only the chosen ones get the goodbye. π¦--owner=<NAME>β disconnect only the controllers owned by NAME in the registry. Requires interactive confirmation when stdin is a terminal. π--forceβ disconnect all controllers regardless of ownership. Requires interactive confirmation when stdin is a terminal. this one is lowkey powerful, treat her with respect. π₯
π GLOBAL OPTIONS π
These are defined at the top-level nvme command and are available to this subcommand too β the big sisters of the options world. π
--dry-runβ print the command that would be executed, but do not actually execute it. manifesting without the commitment. β¨--no-ioctl-probingβ disable probing for 64-bit IOCTL support. π§--no-retriesβ disable retry logic on transient errors. one shot, no takebacks. π-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,json, orbinary. 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 (the default) provides more consistent and script-friendly field names. Other versions are rejected β no notes, blocked. π«--quietβ suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. shhh. π€«--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. customizing, your honor. π¨--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). patience is a virtue fr fr. β³-v,--verboseβ increase the level of detail in the output. May be specified multiple times to further increase verbosity. more. MORE. π
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. periodt. π
π EXAMPLES π
- Disconnect all unowned controllers (the safe default, the sensible queen π):
# nvme disconnect-all
- Disconnect all controllers owned by
nvme-stas:
# nvme disconnect-all --owner stas
- Disconnect all controllers regardless of ownership:
# nvme disconnect-all --force
π SEE ALSO π
nvme-disconnect(1) nvme-registry-list(1) nvme-registry-delete(1)
β NVME β
Part of the nvme-user suite. she's in her ecosystem era. π
and that's the page bestie!! this one's from NVMe, version dated 10/30/2026, and it's the NVME-DISCONNECT-AL(1) page β go disconnect some controllers 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