logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

blkpr - run a persistent-reservations command on a device

Authors

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/>.

util-linux 2.41                                    2025-02-26                                           BLKPR(8)

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.

Name

       blkpr - run a persistent-reservations command on a device

Options

-c, --commandcommand
           The command for managing persistent reservations. Supported commands are: register, reserve, release,
           preempt, preempt-abort, and clear.

       -k, --keykey
           The key the command should operate on.

       -K, --oldkeyoldkey
           The old key the command should operate on.

       -f, --flagflag
           Supported flag is ignore-key.

       -t, --typetype
           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.

Reporting Bugs

       For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.

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/

Synopsis

blkpr [options] device

See Also