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.
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 thevolumeId
parameter in the request body and specify theautotunePolicies
,blockVolumeReplicas
,definedTags
,displayName
,freeformTags
,isAutoTuneEnabled
,isReservationsEnabled
,sizeInGBs
and/orvpusPerGB
attributes of theUpdateVolumeDetails
resource to edit a block volume's settings.