Editing a Block Volume's Settings

Edit the settings for a block volume in the Block Volume service.

You can edit the following settings for block volumes:

  • Volume name

  • Volume size

  • Volume performance

  • Autotune settings for dynamic performance scaling

  • Assigned backup policy for scheduled volume backups

  • Cross region replication

You can update these settings when volumes are online and attached to instances or when they're detached from instances.

This topic provides the basic steps for editing a volume. For instructions applicable to the specific volume setting that you're editing, and more information about that setting, select the links provided in the steps.

    1. 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.
    2. From the Actions menu (three dots) for the volume, select Edit.
    3. In the Edit block volume panel, update the fields you want to change.
    4. Select Save changes.
  • Use the oci bv volume update command and required parameters to edit a block volume:

    oci bv volume update --volume-id volume_ocid  [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the UpdateVolume operation and specify the volumeId parameter in the request body and specify the autotunePolicies, blockVolumeReplicas, definedTags, displayName, freeformTags, isAutoTuneEnabled, isReservationsEnabled, sizeInGBs and/or vpusPerGB attributes of the UpdateVolumeDetails resource to edit a block volume's settings.