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 createcommand and specify the--compartment-id,--autotune-policiesparameters 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
CreateVolumeoperation and specify theautotunePoliciesattribute in theCreateVolumeDetailsresource to enable detached volume autotuning.