<div dir="ltr">On Tue, Oct 8, 2013 at 9:04 PM, Mahardhika Gilang <span dir="ltr"><<a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
get confused here after several days finding away out through this issue,<br>
- i can't get real size of /vda/ disk on instance that i create<br>
- i have follow many step out here :<br>
<a href="http://www.logilab.org/blogentry/115219" target="_blank">http://www.logilab.org/<u></u>blogentry/115219</a><br>
<a href="http://waipeng.wordpress.com/2013/05/20/building-centos-images-for-openstack/" target="_blank">http://waipeng.wordpress.com/<u></u>2013/05/20/building-centos-<u></u>images-for-openstack/</a><br>
<a href="http://hackstack.org/x/blog/2013/04/25/a-centos-6-image-for-openstack/" target="_blank">http://hackstack.org/x/blog/<u></u>2013/04/25/a-centos-6-image-<u></u>for-openstack/</a><br>
none of those work, the result is the size image (ex: 5gb) that was the real /vda/<br>
- How can i get real size and same size that written on flavor and instance?<br>
- have open question here <a href="https://ask.openstack.org/en/question/5721/instance-disk-different-with-flavor/" target="_blank">https://ask.openstack.org/en/<u></u>question/5721/instance-disk-<u></u>different-with-flavor/</a><br>

no one answer yet.<br>
<br>
Please help me out.<span class=""><font color="#888888"><br>
<br>
-- <br>
Regards,<br>
Mahardhika Gilang<br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
</font></span></blockquote></div><br><div><div>Hi Mahardhika,<br></div>It was difficult for me to find the 
correct cloud-init options as well.  You will need to have the instance 
grow the disk on-the-fly during boot if you're using the KVM hypervisor.<br><br></div>The
 following is the basic cloud-init configuration that you need to 
pass as user-data to your instance on launch.  If this does not work 
then the CentOS image you're using has too old a version of cloud-init 
or this feature is not supported by cloud-init on CentOS.  Try it let us know..<br><br><pre class=""><div class="" id="file-grow_and_run-txt-LC10">#cloud-config</div><div class="" id="file-grow_and_run-txt-LC11">growpart:</div>
<div class="" id="file-grow_and_run-txt-LC12">  mode: auto</div><div class="" id="file-grow_and_run-txt-LC13">  devices: ['/']<br></div></pre><br></div></div>