Online Boot Volume Resizing
This topic describes how to resize a boot volume while it's 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 Boot Volumes.
-
At the top of the page, select the compartment that contains the boot volume.
-
For the volume you plan to resize, select the Actions menu (
), then select Edit.
-
Change the size:
-
Size (in GBs): You can keep the size the same, or increase the size in 1 GB increments up to 16384 (16 TB). You can't decrease the size.
-
-
Select Save Changes.
-
Rescan the disk.
For details, consult the OS documentation for the OS type and version running in the instance.
-
Extend the partition.
For details, consult the OS documentation for the OS type and version running in the instance.
-
Use the oci bv boot-volume update command and required parameters to resize a boot volume.
oci bv boot-volume update --boot-volume-id <volume_OCID> --size-in-gbs <size_in_GBSs [OPTIONS]
For
size _in_GBs
specify the size of the boot volume. You can increase the size in 1 GB increments up to 16384 (16 TB). You can't decrease the size.Important
The
path
option is required and its value must beAUTOSELECT
. The value must be given in all uppercase letters. Providing any other value will cause theexport create
command to fail.The export path is always automatically generated. See the
path
property in the command output for the export path.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 UpdateBootVolume operation to resize a boot 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.