Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: Unable to Extend Centos8 Boot Volume Using oci-growfs with Error "No such file or directory"

Applies To

Oracle Cloud Infrastructure

Linux x86-64


Symptoms

After extending the Boot Volume in the OCI Console, an attempt to use the “oci-growfs”, the command to extend the filesystem at the OS level fails with:

$ /usr/libexec/oci-growfs
-bash: /usr/libexec/oci-growfs: No such file or directory


Cause

The “oci-utils” package is not supported on CentOS 8, therefore oci-growfs is not available.


Solution

Refer to the OCI documentation that will explain how to resize the block volume from the OCI Console:

Resizing a Volume Using the Console : https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/resizingavolume.htm#console

After completing the Steps to increase the size of the Boot Volume in the OCI Console, a screen similar to the following should be supplied:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!