[Openstack] What Exactly Flavor Work?

Bob Ball bob.ball at citrix.com
Wed Oct 9 14:32:34 UTC 2013


Yes, just to confirm the XenAPI driver will automatically resize disks where it can without needing an agent / cloud-init installed in the VM.

It does this by mounting the disk in the domain running nova and resizing the filesystem/device.

Bob

From: Joe Topjian [mailto:joe.topjian at cybera.ca]
Sent: 09 October 2013 14:52
To: Tom Fifield
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] What Exactly Flavor Work?


My understanding is that automatic resize will occur if the following are all true:
* auto_disk_config=True is set as a property on the image in the Image Registry.
* The disk on the image has only one partition.
* The file system on the one partition is ext3 or ext4.

I think Xen provides some extra help in this area by doing the resize itself (I *think*). KVM defers the job to the user.

There was a long discussion on the openstack-operators list about building CentOS images:

http://www.gossamer-threads.com/lists/openstack/operators/25790

The td;dr version would be this post where I link to some scripts that are able to build a complete CentOS image that resizes as you would expect:

http://www.gossamer-threads.com/lists/openstack/operators/28733#28733

Hope that helps,
Joe


--
Joe Topjian
Systems Architect
Cybera Inc.

www.cybera.ca<http://www.cybera.ca>

Cybera is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131009/8c06faa7/attachment.html>


More information about the Openstack mailing list