Ask Your Question
0

VM filesystem not resizing

asked 2014-04-07 01:54:20 -0500

RHK gravatar image

updated 2014-04-08 00:47:56 -0500

I launched a VM instance with Flavor-1 | 1GB RAM | 2 VCPU | 25.0GB Disk, i checked the file system it was fine. After some time i did resize instance to Flavor-2 | 2GB RAM | 2 VCPU | 10.0GB Disk. After confiem resize instance i checd the status,

 # nova list

Here it is showing Flavor-2

I checked in dashboard there also it is showing updated one (Flavor-2), but when i login to VM instance and checked filesystem

 # df -h

here filesystem is showing Flavor-1 (memory resource), RAM size is updating but harddisk is not updating. Need any one help to fix this issue.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-04-07 08:27:22 -0500

Anand TS gravatar image

Hi RHK,

It is not possible to downgrade the disk size of instance from higher to lower size in my knowledge whereas you can change at the cpu level.

here your flavor 1 has 25 Gb Disk and flavor 2 has 10Gb Disk. So in this case it won't work as expected when you resize the instance.

Thanks, Anand

edit flag offensive delete link more

Comments

Thank you for your response. But when i resize instance (flavor-1 to flavor-2) 25 to 10GB disk in Dashboard/CLI status is showing flavor-2 details. As per general scenario i will accept ur answer. But why dashboard and CLI status size showing updated flavor. Was it bug?

Regards, RHK

RHK gravatar imageRHK ( 2014-04-08 00:44:01 -0500 )edit

It's possible that your disk has been resized, but the partition table hasn't been updated, so it's still reporting the previous size ? Using fdisk and you see the details of the disk now connected to the machine ??

DaveJ gravatar imageDaveJ ( 2014-04-08 08:05:20 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-04-07 01:54:20 -0500

Seen: 543 times

Last updated: Apr 08 '14