1NVME-ZNS-ZONE-MGM(1)              NVMe Manual             NVME-ZNS-ZONE-MGM(1)
2
3
4

NAME

6       nvme-zns-zone-mgmt-send - Zone Management Send command
7

SYNOPSIS

9       nvme zns zone-mgmt-send <device> [--namespace-id=<NUM> | -n <NUM>]
10                                          [--start-lba=<IONUM>, -s <IONUM>]
11                                          [--zsaso, -o]
12                                          [--select-all, -a]
13                                          [--zsa=<NUM>, -z <NUM>]
14                                          [--data-len=<IONUM>, -l <IONUM>]
15                                          [--data=<FILE>, -d <FILE>]
16                                          [--timeout=<timeout> | -t <timeout>]
17

DESCRIPTION

19       For the NVMe device given, issues the Zone Management Send command with
20       the requested send action. If the send requires additional data, you
21       may specify the data length. If data is required, the input will
22       default to stdin. Alternatively, the data may come from a file that can
23       be specified.
24

OPTIONS

26       -n <NUM>, --namespace-id=<NUM>
27           Use the provided namespace id for the command. If not provided, the
28           namespace id of the block device will be used. If the command is
29           issued to a non-block device, the parameter is required.
30
31       -s <lba>, --start-lba=<lba>
32           The starting LBA of the zone to manage send.
33
34       -l <NUM>, --data-len=<NUM>
35           Send data buffer length
36
37       -o, --zsaso
38           Zone Send Action Specific Option
39
40       --select-all, -a
41           Send command to all zones
42
43       -z <NUM>, --zsa=<NUM>
44           Zone send action.
45
46       -l <IONUM>, --data-len=<IONUM>
47           Buffer length if data required
48
49       -d <FILE, --data=<FILE>
50           Optional file for data (default stdin)
51
52       -t <timeout>, --timeout=<timeout>
53           Override default timeout value. In milliseconds.
54

EXAMPLES

56       •   Send a zone management command with action set to 1 (close zone) to
57           namespace 1’s first zone:
58
59               # nvme zns zone-mgmt-send /dev/nvme0 -n 1 -s 0 -z 1
60
61       •   Write "hello world" into the zone descriptor for namespace 1’s
62           first zone (requires device supports a large enough zone extended
63           data)
64
65               # echo "hello world" | nvme zns zone-mgmt-send /dev/nvme0 -n 1 -s 0 -z 0x10
66

NVME

68       Part of nvme-cli
69
70
71
72NVMe                              04/11/2022              NVME-ZNS-ZONE-MGM(1)
Impressum