7 Extend the OCI Instance Disk Space

When you create your instance, you have the opportunity to choose the disk/storage size. If you do not see the correct amount of disk space after the provisioning has completed, reboot the machine and check again. If it is still not what you expect, try running the oci-growfs utility.

To run the utility:

  1. Execute the following command as "root":
    /usr/libexec/oci-growfs
  2. Reboot your machine.

If you do not see the expected results after executing this command, it is likely you did not correctly change the default disk size at provisioning time. Refer to the Cloud or Linux documentation for information on how to extend or add additional space.

Alternatively, recreate the instance and ensure that you properly choose the desired disk size when prompted.