table of contents
- experimental 3.2-1
| NVME-NS-DETACH(1) | NVMe Manual | NVME-NS-DETACH(1) |
NAME¶
nvme-ns-detach - Send NVMe detach namespace, return result.
SYNOPSIS¶
nvme [<global-options>] ns detach <device>
[--namespace-id=<nsid> | -n <nsid>]
[--controllers=<ctrl-list,> | -c <ctrl-list,>]
DESCRIPTION¶
For the NVMe device given, sends the nvme namespace detach command for the provided namespace identifier, detaching to the provided list of controller identifiers.
OPTIONS¶
-n <nsid>, --namespace-id=<nsid>
-c <ctrl-list,>, --controllers=<ctrl-list,>
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>
--quiet
--set-options=<key=value>[,<key=value>...]
--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¶
No examples yet.
NVME¶
Part of the nvme-user suite
| 10/30/2026 | NVMe |