Enabling Detached Volume Autotuning for an Existing Block Volume
Learn how to enable detached volume autotuning to automatically adjust an existing block volume's performance based on attachment to or detachment from an instance.
- 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.
- From the for the volume, select Edit.
- In the Edit block volume (or Edit volume) panel, under Target volume performance, turn on Detached volume auto-tune.
- Select Save changes.
Use the
oci bv volume updatecommand specify the--volume-id,compartment-id, and--autotune-policiesparameters to enable detached volume autotuning:oci bv volume update --volume-id <volume_ID> --compartment-id <compartment_ID> --autotune-policies <auto-tune_policies_JSON>'For example:
oci bv volume update --volume-id ocid1.volume.oc1.phx.<unique_ID> --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
UpdateVolumeoperation and specify theautotunePoliciesattribute in theUpdateVolumeDetailsresource to enable detached volume autotuning.