Enabling Detached Volume Autotuning for a New Block Volume

Learn how to enable detached volume autotuning when creating a new block volume to automatically adjust its performance based on attachment to or detachment from an instance.

  • This task can't be performed using the Console.
  • Use the oci bv volume create command and specify the --compartment-id, --autotune-policies parameters to enable detached volume autotuning:

    oci bv volume create --compartment-id <compartment_ID> --autotune-policies <auto-tune_policies_JSON>' 

    For example:

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

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

  • Run the CreateVolume operation and specify the autotunePolicies attribute in the CreateVolumeDetails resource to enable detached volume autotuning.