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:oci-growfs Utility Failed with Error “Unable to expand /dev/sda3. No partitions expanded, exit.”

APPLIES TO:

Oracle Cloud Infrastructure - Version N/A and later

Linux x86-64


SYMPTOMS:

Unable to increase the size of root filesystem from default size and it reports following error while resizing it using “oci-growfs” utility.

[root@localhost] /usr/libexec/oci-growfs
Mountpoint Data
---------------
        mountpoint: /
            source: /dev/sda3
   filesystem type: xfs
      source size: 38.4G
              type: part
              size: 38.4G
  physical devices: ['/dev/sda3']
  physical volumes: ['/dev/sda']
  partition number: ['3']
NOCHANGE: disk=/dev/sda partition=3: size=80486400, it cannot be grown
Unable to expand /dev/sda3.
No partitions expanded, exit.
[root@localhost] 


CAUSE:

oci-growfs utility or other manual approach involves deleting the last partition and recreate a new partition using available blocks. Since /dev/sda3 is not the last partition its size cannot be increased.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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