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, find the volume that you want to work with. If you need help finding the list page or the volumes, see Listing Volumes.
    2. From the Actions menu (three dots), select Edit.
      The Edit block volume panel opens.
    3. Turn on Enable reservations.
    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 and specify the isReservationsEnabled attribute of UpdateVolumeDetails to true to enable persistent reservations.