Enabling Detached Volume Autotuning for an Existing Boot Volume

Learn how to enable detached autotuning to automatically adjust an existing boot volume's performance based on its attachment to or detachment from an instance.

    1. Open the navigation menu  and select Storage. Under Block Storage, select Block Volumes. In the Block Storage menu on the sidebar, select Boot Volumes.
    2. Click the boot volume that you want to enable detached volume autotuning for
    3. Click Edit.
    4. In the Volume Size and Performance section, click the Detached Volume Auto-tune slider so that it changes from Off to On.
    5. Click Save Changes.
  • Use the oci bv boot-volume update command and specify the --volume-id,--compartment-id and --autotune-policies parameters to enable detached volume autotuning for an existing volume:

    oci bv boot-volume update --volume-id <volume_ID> --compartment-id <compartment_ID> --autotune-policies <auto-tune_policies_JSON>' 

    For example:

    oci bv boot-volume update --volume-id ocid1.volume.oc1.phx.<unique_ID> --compartment-id ocid1.compartment.oc1.phx.<unique_ID> --autotune-policies '[{"autotune-type": "DETACHED_VOLUME"}]''
    cli_command required_parameter_and_value [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the UpdateBootVolume operation and specify the autotunePolicies and DetachedVolumeAutotunePolicy attributes in the UpdateBootVolumeDetails resource to enable performance-based autotuning.