NVME-DETACH-NS(1) NVMe Manual NVME-DETACH-NS(1)

nvme-detach-ns - Send NVMe detach namespace, return result.

nvme detach-ns <device> [--namespace-id=<nsid> | -n <nsid>]
                        [--controllers=<ctrl-list,> | -c <ctrl-list,>
                        [--output-format=<fmt> | -o <fmt>] [--verbose | -v]

For the NVMe device given, sends the nvme namespace detach command for the provided namespace identifier, attaching to the provided list of controller identifiers.

-n <nsid>, --namespace-id=<nsid>

The namespace identifier to detach.

-c <ctrl-list,>, --controllers=<ctrl-list,>

The comma separated list of controller identifiers to detach the namespace from.

-o <fmt>, --output-format=<fmt>

Set the reporting format to normal, json or binary. Only one output format can be used at a time.

-v, --verbose

Increase the information detail in the output.

No examples yet.

Part of the nvme-user suite

11/16/2024 NVMe