NVME-ZNS-OPEN-ZON(1)
β¨ nvme-zns-open-zone(1) β¨
okay so bestie, welcome to the nvme-zns-open-zone page from the NVMe Manual π
this one's short and sweet and honestly kind of a slay β it opens zones on your ZNS drive, no cap.
πΈ NAME πΈ
nvme-zns-open-zone β opens ONE zone or ALL the zones, your call π
π¦ SYNOPSIS π¦
nvme [<global-options>] zns open-zone <device>
[--namespace-id=<NUM> | -n <NUM>]
[--start-lba=<LBA> | -s <LBA>]
[--zrwaa | -r]
[--select-all | -a]
π DESCRIPTION π
okay so for the NVMe device you hand it, this issues the Zone Management Send command with the "Open Zone" action. and like. the whole point? it transitions the zone into the opened state. that's it, that's the vibe β¨
the <device> parameter is mandatory β non-negotiable bestie π€ β and it can be either:
- the NVMe character device (ex:
/dev/nvme0) π§ - or a namespace block device (ex:
/dev/nvme0n1) π¦
π OPTIONS π
-n <NUM>,--namespace-id=<NUM>β use the namespace id you provided for the command. if you don't pass it, the namespace id of the block device gets used instead. but heads up: if the command is issued to a non-block device, this parameter is required π also the broadcast value0xffffffffcan be given asallor-1, iykyk.-s <lba>,--start-lba=<lba>β the starting LBA of the zone you wanna open π―-r,--zrwaaβ allocate Zone Random Write Area to the zone π-a,--select-allβ select all the zones for this action, we love a group activity π
β GLOBAL OPTIONS β
these are defined at the top-level nvme command and are available to this subcommand too π«Ά
--dry-runβ print the command that would be executed, but do not actually execute it. fake it till you make it energy π--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, pick a lane bestie.--output-format-version=<version>β select the output format version. version1uses the original field naming, while version2(default) gives you 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 (yes, stack them, main character energy).- these options can also be set as machine-wide defaults in
nvme-cli.conf(5). a command-line flag always overrides the file π
π₯ EXAMPLES π₯
- open the first zone on namespace 1:
# nvme zns open-zone /dev/nvme0 -n 1 -s 0
π NVME π
part of nvme-cli π§ββοΈ
ngl this is the whole page, bestie β no hidden lore, no gotchas, just open those zones π
later, legend π this page came from the NVMe Manual, dated 10/30/2026 β that's your source/version and date, fr fr π
π¦ 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