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 value 0xffffffff can be given as all or -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 to normal, tabular, 'json, or binary. only one output format may be used at a time, pick a lane bestie.
  • --output-format-version=<version> β€” select the output format version. version 1 uses the original field naming, while version 2 (default) gives you more consistent and script-friendly field names 🌸 other versions are rejected.
  • --quiet β€” suppress informational messages. errors are still reported, and --quiet cancels any --verbose for the library log level.
  • --set-options=<key=value>[,<key=value>...] β€” set libnvme library options for this invocation. supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir.
  • --timeout=<ms> β€” set the timeout for the command in milliseconds. infinite or -1 waits 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