NVME-RESV-ACQUIRE(1)
π NVME-RESV-ACQUIRE(1) β the nvme-resv-acquire glow-up π
okay bestie, buckle up β this is the nvme-resv-acquire page from the NVMe Manual, and it's genuinely so much cooler than it sounds. it's giving "I hold the keys to the namespace" energy. π
β¨ NAME β¨
nvme-resv-acquire β literally just: acquire an nvme reservation. that's her. that's the whole vibe. π
β¨ SYNOPSIS β¨
nvme [<global-options>] resv acquire <device>
[--namespace-id=<nsid> | -n <nsid>]
[--crkey=<crkey> | -c <crkey>]
[--prkey=<prkey> | -p <prkey>]
[--rtype=<rtype> | -t <rtype>]
[--racqa=<racqa> | -a <racqa>]
[--iekey | -i]
β¨ DESCRIPTION β¨
so the Reservation Acquire command does three iconic things, and she does them well:
- acquire a reservation on a namespace π«Ά
- preempt a reservation held on a namespace π€
- abort a reservation held on a namespace π
also, quick heads up β the bare nvme resv-acquire form (yeah, the one without a space between resv and acquire) still works as a deprecated alias, but she's getting removed in a future major version. π so like, new scripts should use nvme resv acquire instead, fr fr. old form is on her way out, no cap.
β¨ OPTIONS β¨
-n <nsid>,--namespace-id=<nsid>β overrides thensidfield. heads up though: if you're using the admin character device, this parameter is required (she's not optional, bestie π ). also you can pass the broadcast value0xffffffff, which you can also write asallor-1. cute, right?-c <crkey>,--crkey=<crkey>β Current Reservation Key. this field specifies the current reservation key associated with the host. but plot twist π¬ β if theIEKEYbit is set to1in the command, then theCRKEYcheck succeeds regardless of whatever value is sitting in this field. so like, it just doesn't care.-p <prkey>,--prkey=<prkey>β Preempt Reservation Key. okay so if the Reservation Acquire Action is set to001b(that's Preempt) or010b(that's Preempt and Abort), then this field specifies the reservation key to be unregistered from the namespace. for all other Reservation Acquire Action values, this field is reserved. reserved = not her moment. π-t <rtype>,--rtype=<rtype>β Reservation Type. this field specifies the type of reservation to be created. the menu: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 <racqa>,--racqa=<racqa>β Reservation Acquire Action. this field specifies the action that is performed by the command. the lineup:0β Acquire1β Preempt2β Preempt and Abort3-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. it's giving "rules? never met her." π₯
indicator option, defaults to 0.
π GLOBAL OPTIONS π
these ones live at the top-level nvme command and are available to this subcommand. main character options, honestly π
--dry-runβ prints the command that would be executed, but does not actually execute it. window shopping, basically. ποΈ--no-ioctl-probingβ disables probing for 64-bitIOCTLsupport.--no-retriesβ disables retry logic on transient errors. one shot, no takebacks. π-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,'json, orbinary. (yes, that stray apostrophe beforejsonis exactly how the original page has it β copying it verbatim, i don't make the rules π). only one output format may be used at a time, so pick your fave.--output-format-version=<version>β selects the output format version. version1uses the original field naming, while version2(the default) provides more consistent and script-friendly field names. any other versions are rejected. π«--quietβ suppresses informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. she's quiet but not that quiet.--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). she'll wait forever if you ask nicely. π«Ά-v,--verboseβ increases the level of detail in the output. may be specified multiple times to further increase verbosity. say it with me: more-v, more lore. π
also!! these options can be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file. flag supremacy, periodt. π
β¨ EXAMPLES β¨
No examples yet π (she's mysterious. she's an enigma. we respect it.)
πΈ NVME πΈ
part of the nvme-user suite π¦
and that's the whole page, bestie β you ate that. πβ¨
sign-off time: this lil masterpiece is from the NVMe crew, dated 10/30/2026, and it's NVME-RESV-ACQUIRE(1) all day every day. go acquire some reservations, you absolute icon πππ§
π¦ 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