Enabling Persistent Reservations for a New Volume
Enable persistent reservations for a new volume in the Block Volume service. You can enable persistent reservations when you create a new volume, clone an existing volume, restore a volume from a backup, or activate a volume replica. Persistent reservations is disabled by default.
Use the
oci bv volume createcommand and required parameters to create the volume. Set the--is-reservations-enabledparameter totrueto enable persistent reservations.oci bv volume create --availability-domain <availability_domain> --compartment-id <compartment_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 CreateVolumeoperation to update a volume and specify theisReservationsEnabledattribute ofCreateVolumeDetailstotrueto enable persistent reservations.