1NVME-ZNS-CLOSE-ZO(1) NVMe Manual NVME-ZNS-CLOSE-ZO(1)
2
3
4
6 nvme-zns-close-zone - Closes one or all zones
7
9 nvme zns close-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 "Close Zone" action. This will transition the zone to the closed
17 state.
18
19 The <device> parameter is mandatory and may be either the NVMe
20 character device (ex: /dev/nvme0), or a namespace block device (ex:
21 /dev/nvme0n1).
22
24 -n <NUM>, --namespace-id=<NUM>
25 Use the provided namespace id for the command. If not provided, the
26 namespace id of the block device will be used. If the command is
27 issued to a non-block device, the parameter is required.
28
29 -s <lba>, --start-lba=<lba>
30 The starting LBA of the zone to close.
31
32 -a, --select-all
33 Select all zones for this action
34
35 -t <timeout>, --timeout=<timeout>
36 Override default timeout value. In milliseconds.
37
39 • Close all zones on namespace 1:
40
41 # nvme zns close-zone /dev/nvme0 -a -n 1
42
44 Part of nvme-cli
45
46
47
48NVMe 04/11/2022 NVME-ZNS-CLOSE-ZO(1)