nvme-resv-release man page

nvme-resv-release — Release an nvme reservation

Synopsis

nvme resv-release <device>

Description

The Reservation Release command is used to release or clear a reservation held on a namespace.

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’.
-t <rtype>, --rtyep=<rtype>

Reservation Type: This field specifies the type of reservation to be created.

ValueDefinition
0hReserved
1hWrite Exclusive Reservation
2hExclusive Access Reservation
3hWrite Exclusive - Registrants Only Reservation
4hExclusive Access - Registrants Only Reservation
5hWrite Exclusive - All Registrants Reservation
6hExclusive Access - All Registrants Reservation
07h-FFhReserved
-a <rrela>, --rrela=<rrela>

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

ValueDefinition
0Release
1Clear
2-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