summaryrefslogtreecommitdiffstats
path: root/sys-utils/blkpr.8.adoc
blob: 0f71bd0f0dde0b6915a2a4c214c6ef30dba7a5d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//po4a: entry man manual
= blkpr(8)
:doctype: manpage
:man manual: System Administration
:man source: util-linux {release-version}
:page-layout: base
:command: blkpr

== NAME

blkpr - run persistent reservations command on a device

== SYNOPSIS

*blkpr* [options] _device_

== DESCRIPTION

*blkpr* is used to run persistent reservations command on device that supports Persistent Reservations feature.

The _device_ argument is the pathname of the block device.

== OPTIONS

*-c*, *--command* _command_::
The command of persistent reservations, supported commands are *register*, *reserve*, *release*, *preempt*,
*preempt-abort*, and *clear*.

*-k*, *--key* _key_::
The key the command should operate on.

*-K*, *--oldkey* _oldkey_::
The old key the command should operate on.

*-f*, *--flag* _flag_::
Supported flag is *ignore-key*.

*-t*, *--type* _type_::
Supported types are *write-exclusive*, *exclusive-access*, *write-exclusive-reg-only*,
*exclusive-access-reg-only*, *write-exclusive-all-regs*, and *exclusive-access-all-regs*.

*-V*, *--version*::
Display version information and exit.

*-h*, *--help*::
Display help text and exit.

== AUTHORS

mailto:pizhenwei@bytedance.com[zhenwei pi]

== SEE ALSO

*sg_persist*(8)

Linux documentation at: <https://docs.kernel.org/block/pr.html>
iSCSI specification at: <https://datatracker.ietf.org/doc/html/rfc3720>
NVMe-oF specification at: <https://nvmexpress.org/nvme-over-fabrics-part-two/>

include::man-common/bugreports.adoc[]

include::man-common/footer.adoc[]

ifdef::translation[]
include::man-common/translation.adoc[]
endif::[]