Online Block Volume Resizing
This topic describes how to resize a block volume while it is online.
Before you resize a boot or block volume, create a full backup of the volume. See Backing Up Block Volumes.
-
In the Compute Cloud@Customer Console navigation menu, select Block Storage, then select Block Volumes.
-
At the top of the page, select the compartment that contains the block volume that you want to resize.
-
For the volume you plan to resize, select the Actions menu (
), then select Edit.
-
Change the size:
-
Size (in GBs): You can increase the size in 1 GB increments up to 16384 (16 TB). You can't decrease the size.
-
-
Select Save Changes.
-
Perform disk administrative tasks. See Completing the Online Resizing Operation.
-
Use the oci bv volume update command and required parameters to resize the volume.
oci bv volume update --volume-id <volume_OCID> --size-in-gbs <size_in_GBS> [OPTIONS]
<size_in_GBS> is the size of the block volume. You can increment the size. You can't decrease the size. The value must be between 50 GB and 32 TB and specified in 1 GB increments.
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
After resizing, perform disk administrative tasks. See Completing the Online Resizing Operation.
Use the UpdateVolumeDetails operation to resize 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.