NVME−RESV−REGISTER - Online Linux Manual Page

Section : 1
Updated : 02/01/2023
Source : NVMe
Note : NVMe Manual

NAMEnvme-resv-register − Register an nvme reservation

SYNOPSISnvme 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]

DESCRIPTIONThe 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​.
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> Reservation Register Action: This field specifies the registration action that is performed by the command​.
Value Definition
0 Register Reservation Key
1 Unregister Reservation Key
2 Replace Reservation Key
3−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​.

EXAMPLESNo examples yet

NVMEPart of the nvme−user suite
0
Johanes Gumabo
Data Size   :   11,495 byte
man-nvme-resv-register.1Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   50 / 5,093,769
Visitor ID   :     :  
Visitor IP   :   216.73.216.0   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   20   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.