NVME-ZNS-SET-ZONE(1)
π NAME π
okay so this is the NVME-ZNS-SET-ZONE(1) page from the NVMe manual, and the command it's hyping up is nvme-zns-set-zone-desc β it sets extended descriptor data for a zone. bestie, that's the whole vibe. β¨
β¨ SYNOPSIS β¨
nvme [<global-options>] zns set-zone-desc <device>
[--namespace-id=<NUM> | -n <NUM>]
[--start-lba=<IONUM>, -s <IONUM>]
[--zrwaa | -r]
[--data=<FILE>, -d <FILE>]
π¦ DESCRIPTION π¦
For the NVMe device you give it, this issues the Zone Management Send command with the Set Zone Descriptor Extensions action. The input will default to stdin β yes, it's giving pipe energy π«Ά. Alternatively, the data may come from a file that can be specified. The data length will automatically be calculated from the zns identify namespace. no cap.
π OPTIONS π
-n <NUM>,--namespace-id=<NUM>β use the provided namespace id for the command. If not provided, the namespace id of the block device will be used. If the command is issued to a non-block device, the parameter is required. The broadcast value0xffffffffcan also be given asallor-1.-s <lba>,--start-lba=<lba>β the starting LBA of the zone to manage send.-r,--zrwaaβ allocate Zone Random Write Area to zone.-d <FILE>,--data=<FILE>β optional file for data (default stdin).
π GLOBAL OPTIONS π
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-runβ print the command that would be executed, but do not actually execute it.--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors.-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,'json, orbinary. Only one output format may be used at a time.--output-format-version=<version>β select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names. Other versions are rejected.--quietβ suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level.--set-options=<key=value>[,<key=value>...]β set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff).-v,--verboseβ increase the level of detail in the output. May be specified multiple times to further increase verbosity.
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
π EXAMPLES π
- write
"hello world"into the zone descriptor for namespace 1βs first zone (requires device supports a large enough zone extended data)
# echo "hello world" | nvme zns set-zone-desc /dev/nvme0 -n 1 -s 0
π NVME π
Part of nvme-cli β iconic, honestly.
and that's the whole page, bestie π this one comes from the NVMe manual, dated 10/30/2026, under the NVME-ZNS-SET-ZONE(1) title. go slay those zones π«Ά
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms