1NVME-ZNS-SET-ZONE(1) NVMe Manual NVME-ZNS-SET-ZONE(1)
2
3
4
6 nvme-zns-set-zone-desc - Set extended descriptor data for a zone
7
9 nvme zns set-zone-desc <device> [--namespace-id=<NUM> | -n <NUM>]
10 [--start-lba=<IONUM>, -s <IONUM>]
11 [--zrwaa | -r]
12 [-data=<FILE>, -d <FILE>]
13 [--timeout=<timeout> | -t <timeout>]
14
16 For the NVMe device given, issues the Zone Management Send command with
17 the Set Zone Descriptor Extensions action. The input will default to
18 stdin. Alternatively, the data may come from a file that can be
19 specified. The data length will automatically be calculated from the
20 zns identify namespace.
21
23 -n <NUM>, --namespace-id=<NUM>
24 Use the provided namespace id for the command. If not provided, the
25 namespace id of the block device will be used. If the command is
26 issued to a non-block device, the parameter is required.
27
28 -s <lba>, --start-lba=<lba>
29 The starting LBA of the zone to manage send.
30
31 -r, --zrwaa
32 Allocate Zone Random Write Area to zone.
33
34 -d <FILE, -data=<FILE>
35 Optional file for data (default stdin)
36
37 -t <timeout>, --timeout=<timeout>
38 Override default timeout value. In milliseconds.
39
41 • Write "hello world" into the zone descriptor for namespace 1’s
42 first zone (requires device supports a large enough zone extended
43 data)
44
45 # echo "hello world" | nvme zns set-zone-desc /dev/nvme0 -n 1 -s 0
46
48 Part of nvme-cli
49
50
51
52NVMe 09/29/2023 NVME-ZNS-SET-ZONE(1)