| NVME-NS-DELETE(1) | NVMe Manual | NVME-NS-DELETE(1) |
NAME
nvme-ns-delete - Send NVMe Namespace Management delete namespace command, return result.
SYNOPSIS
nvme [<global-options>] ns delete <device>
[--namespace-id=<nsid> | -n <nsid>]
DESCRIPTION
For the NVMe device given, sends an nvme namespace management command to delete the requested namespace and provides the result.
The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1). The '--namespace-id' option is mandatory.
OPTIONS
-n <nsid>, --namespace-id=<nsid>
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
No examples yet.
NVME
Part of the nvme-user suite
| 09/07/2026 | NVMe |