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