Alright, i'll give it try, thanks for both of you. will update soon.
On 10/9/2013 9:32 PM, Bob Ball wrote:

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.topj...@cybera.ca]
*Sent:* 09 October 2013 14:52
*To:* Tom Fifield
*Cc:* openstack@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.



_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


--
Regards,
Mahardhika Gilang

*PT. Andalabs Technology *
Gedung Gravira
Jl. Cideng Barat no. 54
Jakarta Pusat 10150

Mobile : 0852 139 55861
Email : mahardika.gil...@andalabs.com
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to