NVME-RESV-RELEASE(1)
π
nvme-resv-release β from the NVMe manual, bestie π
β¨ NAME β¨
nvme-resv-release β Release an nvme reservation. Short, iconic, and exactly what it says on the tin. π
π¦ SYNOPSIS π¦
Okay so the shape of it is:
nvme [<global-options>] resv release <device>
[--namespace-id=<nsid> | -n <nsid>]
[--crkey=<crkey> | -c <crkey>]
[--rtype=<rtype> | -t <rtype>]
[--rrela=<rrela> | -a <rrela>]
[--iekey | -i]
π DESCRIPTION π
The Reservation Release command is used to release or clear a reservation held on a namespace. Thatβs the main character move. β¨
β οΈ Heads up, bestie: the barenvme resv-releaseform (without a space) still works as a deprecated alias and will be removed in a future major version. New scripts should usenvme resv releaseinstead. Not me using the old form in fresh code β donβt do it. π
π OPTIONS π
Hereβs the whole flag lineup, no skips, no cap:
-n <nsid>,--namespace-id=<nsid>β Override thensidfield. If youβre using the admin character device, this parameter is required β like, required required. π«Ά The broadcast value0xffffffffcan also be given asallor-1.-c <crkey>,--crkey=<crkey>β Current Reservation Key: if the Reservation Register Action is001b(i.e., Unregister Reservation Key) or010b(i.e., Replace Reservation Key), then this field contains the current reservation key associated with the host. For all other Reservation Register Action values, this field is reserved. The controller ignores the value of this field when the Ignore Existing Key (IEKEY) bit is set to1. π-t <rtype>,--rtype=<rtype>β Reservation Type: this field specifies the type of reservation to be created. The vibes are:0hβ Reserved1hβ Write Exclusive Reservation2hβ Exclusive Access Reservation3hβ Write Exclusive - Registrants Only Reservation4hβ Exclusive Access - Registrants Only Reservation5hβ Write Exclusive - All Registrants Reservation6hβ Exclusive Access - All Registrants Reservation07h-FFhβ Reserved
-a <rrela>,--rrela=<rrela>β Reservation Release Action: this field specifies the registration action that is performed by the command. The choices are:0β Release1β Clear2-7β Reserved
-i,--iekeyβ Ignore Existing Key: if this bit is set to a1, then the Current Reservation Key (CRKEY) check is disabled and the command shall succeed regardless of theCRKEYfield value. Indicator option, defaults to0. So yes, itβs a little βignore the key, bestieβ button. π
π GLOBAL OPTIONS π
The following options are defined at the top-level nvme command and are available to this subcommand, iykyk:
--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. No mixing, periodt.--output-format-version=<version>β Select the output format version. Version1uses the original field naming, while version2(default) provides more consistent and script-friendly field names. Other versions are rejected. Bye. π--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. Quiet really means quiet, but errors still get to speak. π--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). No clock anxiety. β³-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity. Basically stack those-vs, bestie.
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. The file knows its place. π
π EXAMPLES π
No examples yet. Thatβs it. Thatβs the section. π
π§ NVME π§
Part of the nvme-user suite. Family. π«Ά
Okay bye bestie β source/version: NVMe; date: 10/30/2026. This page ate, no crumbs. πβ¨
π¦ 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