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.

Prerequisites: Before enabling persistent reservations, ensure that the volume is detached and in the AVAILABLE state. For instructions to detach a volume, see Detaching a Volume.
    1. 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.
    2. On the details page, select Edit.
    3. In the Edit volume panel, under Reservations, switch on the Enable reservations toggle.
    4. Select Save changes.
  • Use the oci bv volume update command and required parameters to update the volume. Set the --is-reservations-enabled parameter to true 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 to true to enable persistent reservations.