1NVME-ZNS-RESET-ZO(1) NVMe Manual NVME-ZNS-RESET-ZO(1)
2
3
4
6 nvme-zns-reset-zone - Resets one or all zones
7
9 nvme zns reset-zone <device> [--namespace-id=<NUM> | -n <NUM>]
10 [--start-lba=<LBA> | -s <LBA>]
11 [--select-all | -a]
12 [--timeout=<timeout> | -t <timeout>]
13
15 For the NVMe device given, issues the Zone Management Send command with
16 the "Reset Zone" action. This will transition the zone to the empty
17 state, setting the write pointer for each zone back to the beginning on
18 success.
19
20 The <device> parameter is mandatory and may be either the NVMe
21 character device (ex: /dev/nvme0), or a namespace block device (ex:
22 /dev/nvme0n1).
23
25 -n <NUM>, --namespace-id=<NUM>
26 Use the provided namespace id for the command. If not provided, the
27 namespace id of the block device will be used. If the command is
28 issued to a non-block device, the parameter is required.
29
30 -s <lba>, --start-lba=<lba>
31 The starting LBA of the zone to reset.
32
33 -a, --select-all
34 Select all zones for this action
35
36 -t <timeout>, --timeout=<timeout>
37 Override default timeout value. In milliseconds.
38
40 • Reset the first zone on namespace 1:
41
42 # nvme zns reset-zone /dev/nvme0 -n 1 -s 0
43
45 Part of nvme-cli
46
47
48
49NVMe 11/04/2022 NVME-ZNS-RESET-ZO(1)