Resize Instance - VM Root [Volumes Attached] not increase.

asked 2019-04-23 21:13:57 -0600

dckristiono gravatar image


I'm try to build instance m1.tiny [RAM 2GB - VCPUs 1 - Disk 40GB] successfully. After that, this instance resize to m1.medium [RAM 8GB - VCPUs 4 - DIsk 80GB] successfully. I check disk in dashboard instance specs RAM 8GB, VCPUs 4, Disk 80GB, but in dashboard volumes still 40GB. Im try to remote instance with ssh and check:

free -m => 8GB
cat /proc/cpuinfo => 4 vcpu
df -h ==> /dev/vda1 still 40GB.

Can help me to fix it? I'm using Centos7 with Openstack Rocky.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2019-04-23 21:44:03 -0600

The disk got larger (use lsblk to confirm), but OpenStack doesn't interfere with the instance's content. This includes the filesystem size: You are responsible for sizing the root filesystem.

edit flag offensive delete link more


hello, not work sir... this volumes attached still 40Gb

root@test:/home/ubuntu# lsblk
vda     252:0    0   40G  0 disk 
├─vda1  252:1    0 39.9G  0 part /
├─vda14 252:14   0    4M  0 part 
└─vda15 252:15   0  106M  0 part /boot/efi

can you help me?

dckristiono gravatar imagedckristiono ( 2019-04-23 22:22:30 -0600 )edit

Is vda a volume or ephemeral storage? I believe that the flavor only affects ephemeral storage, not volume-based storage.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-24 00:49:58 -0600 )edit

This is not ephemeral storage. This instance create new volume in cinder, but not increase after resize instance.

dckristiono gravatar imagedckristiono ( 2019-04-24 02:14:33 -0600 )edit

That’s your problem. Volumes are not affected by flavors.

Bernd Bausch gravatar imageBernd Bausch ( 2019-04-24 03:38:14 -0600 )edit

yes, so I just resize volume manually, correct?

dckristiono gravatar imagedckristiono ( 2019-04-24 03:54:23 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-04-23 21:11:03 -0600

Seen: 255 times

Last updated: Apr 23 '19