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

NAME

6       nvme-zns-zone-append - Send an NVMe write command, provide results
7

SYNOPSIS

9       nvme-zns-zone-append <device> [--namespace-id=<NUM> | -n <NUM>]
10                                       [--zslba=<IONUM> | -s <IONUM>]
11                                       [--data-size=<IONUM> | -z <IONUM>]
12                                       [--metadata-size=<IONUM> | -y <IONUM>]
13                                       [--data=<FILE> | -d <FILE>]
14                                       [--metadata=<FILE> | -M <FILE>]
15                                       [--limited-retry | -l]
16                                       [--force-unit-access | -f]
17                                       [--ref-tag=<NUM> | -r <NUM>]
18                                       [--app-tag-mask=<NUM> | -m <NUM>]
19                                       [--app-tag=<NUM> | -a <NUM>]
20                                       [--prinfo=<NUM> | -p <NUM>]
21

DESCRIPTION

23       The zone append command writes the logical blocks specified by the
24       command to the medium from the data data buffer provided. Will use
25       stdin by default if you don’t provide a file.
26
27       On success, the program will report the LBA that was assigned to the
28       data for the append operation.
29

OPTIONS

31       -n <NUM>, --namespace-id=<NUM>
32           Use the provided namespace id for the command. If not provided, the
33           namespace id of the block device will be used. If the command is
34           issued to a non-block device, the parameter is required.
35
36       -s <IONUM>, --zslba=<IONUM>, -z <IONUM>, --data-size=<IONUM>
37           Size of data, in bytes.
38
39       -y <IONUM>, --metadata-size=<IONUM>
40           Size of metadata in bytes.
41
42       -d <FILE>, --data=<FILE>
43           Data file providing the data to write. If none provided, contents
44           are sent from STDIN.
45
46       -M <FILE>, --metadata=<FILE>
47           Metadata file, if necessary.
48
49       -l, --limited-retry
50           Sets the limited retry flag.
51
52       -f, --force-unit-access
53           Set the force-unit access flag.
54
55       -r <NUM>, --ref-tag=<NUM>
56           Optional reftag when used with protection information.
57
58       -m <NUM>, --app-tag-mask=<NUM>
59           Optional application tag mask when used with protection
60           information.
61
62       -a <NUM>, --app-tag=<NUM>
63           Optional application tag when used with protection information.
64
65       -p <NUM>, --prinfo=<NUM>
66           Protection Information field definition.
67

EXAMPLES

69       •   Append the data "hello world" into 4k worth of blocks into the zone
70           starting at block 0 for namespace 1:
71
72               # echo "hello world" | nvme zns zone-append /dev/nvme0 -n 1 -s 0 -z 4k
73

NVME

75       Part of the nvme-user suite
76
77
78
79NVMe                              11/04/2022              NVME-ZNS-ZONE-APP(1)
Impressum