NAME
blkpr - run a persistent-reservations command on a device
SYNOPSIS
blkpr [options] device
DESCRIPTION
blkpr is used to run a persistent-reservations command on a device that supports the Persistent Reservations feature.
The device argument is the pathname of the block device.
OPTIONS
- -c, --command command
-
The command for managing persistent reservations. Supported commands are: register, reserve, release, preempt, preempt-abort, clear, read-keys, and read-reservation.
- -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.
- -h, --help
-
Display help text and exit.
- -V, --version
-
Display version and exit.
AUTHORS
zhenwei pi <[email protected]>
SEE ALSO
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/>
REPORTING BUGS
For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.
AVAILABILITY
The blkpr command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.