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.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 and specify theisReservationsEnabled
attribute ofUpdateVolumeDetails
totrue
to enable persistent reservations.