<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

My understanding is that automatic resize will occur if the following are all true:<br>
* auto_disk_config=True is set as a property on the image in the Image Registry.<br>
* The disk on the image has only one partition.<br>
* The file system on the one partition is ext3 or ext4.<br></blockquote><div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">I think Xen provides some extra help in this area by doing the resize itself (I *think*). KVM defers the job to the user.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">There was a long discussion on the openstack-operators list about building CentOS images:</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"><a href="http://www.gossamer-threads.com/lists/openstack/operators/25790" target="_blank">http://www.gossamer-threads.com/lists/openstack/operators/25790</a><br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">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:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><a href="http://www.gossamer-threads.com/lists/openstack/operators/28733#28733" target="_blank">http://www.gossamer-threads.com/lists/openstack/operators/28733#28733</a><br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Hope that helps,</div><div style="font-family:arial,sans-serif;font-size:13px">Joe</div></div>
<div><br></div></div><div><br></div>-- <br><div dir="ltr">Joe Topjian<div>Systems Architect</div><div>Cybera Inc.</div><div><br></div><div><a href="http://www.cybera.ca" target="_blank">www.cybera.ca</a></div><div><br></div>
<div><font color="#666666"><span>Cybera</span><span> is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure.</span></font></div>
</div>
</div></div>