Online Boot Volume Resizing

This topic describes how to resize a boot volume while it's online.

Important

Before you resize a boot or block volume, create a full backup of the volume. See Backing Up Block Volumes.

    1. In the Compute Cloud@Customer Console navigation menu, select Block Storage, then select Boot Volumes.

    2. At the top of the page, select the compartment that contains the boot volume.

    3. For the volume you plan to resize, select the Actions menu (An image of the three dot icon.), then select Edit.

    4. 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.

    5. Select Save Changes.

    6. Rescan the disk.

      For details, consult the OS documentation for the OS type and version running in the instance.

    7. 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 be AUTOSELECT. The value must be given in all uppercase letters. Providing any other value will cause the export 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.