nvme-resv-register man page

nvme-resv-register — Register an nvme reservation

Synopsis

nvme resv-register <device>

Description

The Reservation Register command is used to register, unregister, or replace a reservation key.

Options

-n <nsid>, --namespace-id=<nsid>
Override the nsid field. If using the admin character device, this parameter is required.
-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’.
-k <nrkey>, --nrkey=<nrkey>
New Reservation Key: If the Reservation Register Action is 000b (i.e., Register Reservation Key) or 010b (i.e., Replace Reservation Key), then this field contains the new reservation key associated with the host. For all other Reservation Register Action values, this field is reserved.
-p <cptpl>, --cptpl=<cptpl>

Change Persist Through Power Loss State: This field allows the Persist Through Power Loss state associated with the namespace to be modified as a side effect of processing this command.

ValueDefinition
0No change to PTPL state
1Reserved
2Set PTPL state to ‘0’. Reservations are released and registrants are cleared on a power on.
3Set PTPL state to ‘1’. Reservations and registrants persist across a power loss.
-a <rrega>, --rrega=<rrega>

Reservation Register Action: This field specifies the registration action that is performed by the command.

ValueDefinition
0Register Reservation Key
1Unregister Reservation Key
2Replace Reservation Key
3-7Reserved
-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.

Examples

No examples yet

Nvme

Part of the nvme-user suite

Referenced By

nvme(1).

10/21/2016 NVMe NVMe Manual