My Oracle Support Banner

How To Extend Current Boot Volume and Root Partition for Running Linux Instance in OCI (Oracle Cloud Infrastructure) (Doc ID 2453647.1)

Last updated on SEPTEMBER 21, 2021

Applies to:

Oracle Linux Cloud Service - Version Oracle Linux 6.0 with Unbreakable Enterprise Kernel [2.6.32] to Oracle Linux 7.5 with Unbreakable Enterprise Kernel [4.14.35] [Release OL6 to OL7U5]
Oracle Cloud Infrastructure
Linux x86-64


 The goal of this document is to explain how to extend the root partition of an OCI Instance, the root partition is the last partition on the OCI Instances "/dev/sda3", when an OCI Instance is created using a custom boot volume with a bigger size than the default size, the partition table is only created using the default partition layout and the remaining space gets un_allocated, this is why the root partition needs to be resized to use the free space or either a new partition needs to be created to reclaim that free space.

This document is intended for the Linux instances, since this is a default behaviour for the OCI Instances.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.