Enabling Persistent Reservations for an Existing Volume
Enable persistent reservations for an existing volume in the Block Volume service. Persistent reservations is disabled by default.
AVAILABLE
state. For instructions to detach a volume, see Detaching a Volume.- On the Block Volumes list page, select the block volume that you want to work with. If you need help finding the list page or the block volume, see Listing Volumes.
- On the details page, select Edit.
- In the Edit volume panel, under Reservations, switch on the Enable reservations toggle.
- Select Save changes.
Use the oci bv volume update command and required parameters to update the volume. Set the
--is-reservations-enabled
parameter totrue
to enable persistent reservations.oci bv volume update --volume-id <volume_ocid> --display-name=<display_name> --is-reservations-enabled=true --config-file <config_path> --profile <profile_name>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateVolume operation to update a volume. Set the isReservationsEnabled
attribute of UpdateVolumeDetails totrue
to enable persistent reservations.