1NVME-ZNS-OFFLINE-(1) NVMe Manual NVME-ZNS-OFFLINE-(1)
2
3
4
6 nvme-zns-offline-zone - Offlines one or all zones
7
9 nvme zns offline-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 "Offline Zone" action. This will transition the zone to the
17 offlined 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 offline.
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 • Offline all zones on namespace 1:
40
41 # nvme zns offline-zone /dev/nvme0 -a -n 1
42
44 Part of nvme-cli
45
46
47
48NVMe 09/29/2023 NVME-ZNS-OFFLINE-(1)