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 bare nvme resv-release form (without a space) still works as a deprecated alias and will be removed in a future major version. New scripts should use nvme resv release instead. 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 the nsid field. If you’re using the admin character device, this parameter is required β€” like, required required. 🫢 The broadcast value 0xffffffff can also be given as all or -1.
  • -c <crkey>, --crkey=<crkey> β€” Current Reservation Key: if the Reservation Register Action is 001b (i.e., Unregister Reservation Key) or 010b (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 to 1. πŸ™ˆ
  • -t <rtype>, --rtype=<rtype> β€” Reservation Type: this field specifies the type of reservation to be created. The vibes are:
    • 0h β€” Reserved
    • 1h β€” Write Exclusive Reservation
    • 2h β€” Exclusive Access Reservation
    • 3h β€” Write Exclusive - Registrants Only Reservation
    • 4h β€” Exclusive Access - Registrants Only Reservation
    • 5h β€” Write Exclusive - All Registrants Reservation
    • 6h β€” Exclusive Access - All Registrants Reservation
    • 07h-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 β€” Release
    • 1 β€” Clear
    • 2-7 β€” Reserved
  • -i, --iekey β€” Ignore Existing Key: if this bit is set to a 1, then the Current Reservation Key (CRKEY) check is disabled and the command shall succeed regardless of the CRKEY field value. Indicator option, defaults to 0. 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 to normal, tabular, 'json, or binary. Only one output format may be used at a time. No mixing, periodt.
  • --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. Bye. πŸ™…
  • --quiet β€” Suppress informational messages. Errors are still reported, and --quiet cancels any --verbose for 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 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). 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