Updating a Block Volume
On Compute Cloud@Customer, you can change settings for block volumes while the volumes are online, without any downtime. You can change the display name, increase the size, and change tags.
To increase the volume size, see Resizing Volumes.
Avoid entering confidential information in names and tags.
-
In the Compute Cloud@Customer Console navigation menu, click Block Storage, then click Block Volumes.
-
At the top of the page, select the compartment that contains the volume that you want to edit.
-
For the volume that you want to edit, click the Actions menu (
), then click Edit.
-
In the Edit Block Volume dialog box, make changes.
-
Name: The volume display name. The name does not have to be unique.
-
Size (in GB): You can increase the size in 1 GB increments up to 32 TB. You can't decrease the size. Before you change the size, see Resizing Volumes to understand the implications of this change.
-
Tagging: (Optional) Add one or more tags to this resource. Tags can also be applied later. For more information about tagging resources, see Resource Tags.
To use nondefault values for the block size, write bias, or secondary cache, specify the appropriate tags to set the values for these attributes. See Adding Tags at Resource Creation.
-
-
Click Save Changes.
-
Use the oci bv volume update command and required parameters to update a volume.
oci bv volume update --volume-id <volume_OCID> --display-name <new-display-name> [OPTIONS]
To use nondefault values for the block size, write bias, or secondary cache, specify the appropriate tags to set the values for these attributes. See Adding Tags at Resource Creation.
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the UpdateVolume operation to update a volume.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.