table of contents
- Tumbleweed 3.0~b.4-1.1
- Leap-16.0
- Leap-15.6
| NVME-ZNS-RESET-ZO(1) | NVMe Manual | NVME-ZNS-RESET-ZO(1) |
NAME¶
nvme-zns-reset-zone - Resets one or all zones
SYNOPSIS¶
nvme [<global-options>] zns reset-zone <device>
[--namespace-id=<NUM> | -n <NUM>]
[--start-lba=<LBA> | -s <LBA>]
[--select-all | -a]
DESCRIPTION¶
For the NVMe device given, issues the Zone Management Send command with the "Reset Zone" action. This will transition the zone to the empty state, setting the write pointer for each zone back to the beginning on success.
The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
OPTIONS¶
-n <NUM>, --namespace-id=<NUM>
-s <lba>, --start-lba=<lba>
-a, --select-all
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¶
# nvme zns reset-zone /dev/nvme0 -n 1 -s 0
NVME¶
Part of nvme-cli
| 07/31/2026 | NVMe |