Ask Your Question
0

Resizing instance

asked 2014-08-06 01:12:05 -0500

Praveenkumar.2608 gravatar image

I have converted a KVM instance using LVM as storage to QCOW2 format and imported the image into OpenStack. The image is running fine. When I resize the image with custom flavor to increase the storage space. The image storage is not getting expanded. The resized image shows extra space added when executing following command:

fdisk -l | grep vda

But the vda1 for / has only 10 GB. How do I resize the instance for high storage especially LVM converted to QCOW2?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-08 11:09:32 -0500

mpetason gravatar image

You would need to use Cloud-init with grow-root. There is more information in this link:

http://docs.openstack.org/image-guide...

You'll need to look at setting up Cloud-init on your images. Further documentation on Cloud-init:

http://cloudinit.readthedocs.org/en/l...

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2014-08-06 01:12:05 -0500

Seen: 73 times

Last updated: Aug 08 '14

Related questions