blkpr Command Examples

Register, reserve, release, preempt, and clear persistent reservations on a block device that supports Persistent Reservations. More information: https://manned.org/blkpr.

blkpr {{[-c|--command]}} register {{[-k|--key]}} {{reservation_key}} {{path/to/device}}

blkpr {{[-c|--command]}} reserve {{[-k|--key]}} {{reservation_key}} {{[-t|--type]}} exclusive-access {{path/to/device}}

blkpr {{[-c|--command]}} preempt {{[-K|--oldkey]}} {{old_key}} {{[-k|--key]}} {{new_key}} {{[-t|--type]}} write-exclusive {{path/to/device}}

blkpr {{[-c|--command]}} release {{[-k|--key]}} {{reservation_key}} {{[-t|--type]}} {{reservation_type}} {{path/to/device}}

blkpr {{[-c|--command]}} clear {{[-k|--key]}} {{key}} {{path/to/device}}