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.

    1. On the Block Volumes list page, select Create Block Volume. If you need help finding the list page, see Listing Volumes.
    2. In the Edit volume panel, under Reservations, switch on the Enable reservations toggle.
    3. Provide other required values.
    4. Select Create Block Volume.
  • Use the oci bv volume create command and required parameters to create the volume. Set the --is-reservations-enabled parameter to true to 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 CreateVolume operation to update a volume. Set the isReservationsEnabled attribute of CreateVolumeDetails to true to enable persistent reservations.