table of contents
- trixie 2.13-2
- testing 2.16-1
- unstable 2.16-1
- experimental 3.1-1
| NVME-RESV-REGISTER(1) | NVMe Manual | NVME-RESV-REGISTER(1) |
NAME¶
nvme-resv-register - Register an nvme reservation
SYNOPSIS¶
nvme [<global-options>] resv register <device>
[--namespace-id=<nsid> | -n <nsid>]
[--crkey=<crkey> | -c <crkey>]
[--nrkey=<nrkey> | -k <nrkey>]
[--rrega=<rrega> | -r <rrega>]
[--cptpl=<cptpl> | -p <cptpl>]
[--iekey | -i]
DESCRIPTION¶
The Reservation Register command is used to register, unregister, or replace a reservation key.
The bare nvme resv-register 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 register instead.
OPTIONS¶
-n <nsid>, --namespace-id=<nsid>
-c <crkey>, --crkey=<crkey>
-k <nrkey>, --nrkey=<nrkey>
-p <cptpl>, --cptpl=<cptpl>
| Value | Definition |
| 0 | No change to PTPL state |
| 1 | Reserved |
| 2 | Set PTPL state to ‘0’. Reservations are released and registrants are cleared on a power on. |
| 3 | Set PTPL state to ‘1’. Reservations and registrants persist across a power loss. |
-r <rrega>, --rrega=<rrega>
| Value | Definition |
| 0 | Register Reservation Key |
| 1 | Unregister Reservation Key |
| 2 | Replace Reservation Key |
| 3-7 | Reserved |
-i, --iekey
Indicator option, defaults to 0.
GLOBAL OPTIONS¶
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-run
--no-ioctl-probing
--no-retries
-o <fmt>, --output-format=<fmt>
--output-format-version=<version>
--timeout=<ms>
-v, --verbose
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file.
EXAMPLES¶
No examples yet
NVME¶
Part of the nvme-user suite
| 09/19/2026 | NVMe |