blkpr
Register, reserve, release, preempt, and clear persistent reservations on a block device that supports Persistent Reservations. tldr-pages
On Linux
Linux
Register (command) a new reservation with a given key on a given device
blkpr --command register --key reservation_key path/to/deviceIdentifySet the type of an existing reservation to exclusive access
blkpr --command reserve --key reservation_key --type exclusive-access path/to/deviceIdentifyPreempt the existing reservation with a given key and replace it with a new reservation
blkpr --command preempt --oldkey old_key --key new_key --type write-exclusive path/to/deviceIdentifyRelease a reservation with a given key and type on a given device
blkpr --command release --key reservation_key --type reservation_type path/to/deviceIdentifyClear all reservations from a given device
blkpr --command clear --key key path/to/deviceIdentify