How to enhance Boot Volume (Root partition) in OCI compute machine
By default Compute machines are created with 50 GB boot volume. But most of the cases this size won’t be enough and needed additional storage. Also sometimes proactively while creating new compute instances we might have specified high boot volume size (higher than 50 GB), but it won’t reflect after instance creation. The reason is the compute instance is deployed with OS images which are configured with default 50 GB boot volume. In either of the above cases we need to follow the below steps to increase the boot volume or Root partition size.
Let’s consider the case that we have created with default Boot value 50 GB and the partition has been created as below.

[opc@testinst ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.7G 0 1.7G 0% /dev
tmpfs 1.7G 0 1.7G 0% /dev/shm
tmpfs 1.7G 8.7M 1.7G 1% /run
tmpfs 1.7G 0 1.7G 0% /sys/fs/cgroup
/dev/sda3 39G 4.1G 35G 11% / >>>>>> Root partition size is 35 GB
/dev/sda1 200M 7.5M 193M 4% /boot/efi
tmpfs 339M 0 339M 0% /run/user/0
tmpfs 339M 0 339M 0% /run/user/1000
tmpfs 339M 0 339M 0% /run/user/994
[opc@testinst ~]$
Now we need to increase this size to 200GB.
1) Stop the instance
2) In the instance details page, click the Boot Volume.
No comments:
Post a Comment