<html><body><p>Thanks for the reply<br><br>the question is how can I distinguish the image in 'real' qcow2 format ? I mean, considering cinder copy from image to volume case, <br>I need first download that image from glance, then copy contents to volume ,'real' qcow2 will keep the image while I expect the qcow2<br>to be converted into raw format within the given command, without a explicit format, how to decide whether the convent will be made or not? <br><br>Thanks<br><br>Best Regards! <br><br>Kevin (Chen) Ji ¼Í ³¿<br><br>Engineer, zVM Development, CSTL<br>Notes: Chen CH Ji/China/IBM@IBMCN Internet: jichenjc@cn.ibm.com<br>Phone: +86-10-82454158<br>Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC <br><br><img width="16" height="16" src="cid:1__=8FBB0AD7DFA064488f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Eric Harney ---10/05/2016 06:19:32 PM---On 10/05/2016 05:46 AM, Chen CH Ji wrote: >"><font color="#424282">Eric Harney ---10/05/2016 06:19:32 PM---On 10/05/2016 05:46 AM, Chen CH Ji wrote: ></font><br><br><font size="2" color="#5F5F5F">From: </font><font size="2">Eric Harney <eharney@redhat.com></font><br><font size="2" color="#5F5F5F">To: </font><font size="2">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></font><br><font size="2" color="#5F5F5F">Date: </font><font size="2">10/05/2016 06:19 PM</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">Re: [openstack-dev] [glance][cinder][nova] zip for raw Disk Format</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt>On 10/05/2016 05:46 AM, Chen CH Ji wrote:<br>> <br>> From [1] we support a few common and vendor specific disk format, as use<br>> raw image sometimes will be very big and do we have existing any method to<br>> consider zip the raw disk so the disk space might be saved as an option to<br>> offer to end user and admin ? so something like [2] could be enhanced to<br>> support zipped format?<br>> Thanks<br>> <br><br>The qcow2 format supports compression and is one of the most widely<br>supported image formats that can be used with OpenStack.<br><br>You can convert a raw image to qcow2 with:<br> $ qemu-img convert -f raw -O qcow2 -c image.raw image.qcow2<br><br>And then upload image.qcow2 to Glance.<br><br>> [1] </tt><tt><a href="http://docs.openstack.org/developer/glance/formats.html">http://docs.openstack.org/developer/glance/formats.html</a></tt><tt><br>> [2]<br>> </tt><tt><a href="https://github.com/openstack/cinder/blob/master/cinder/image/image_utils.py#L182">https://github.com/openstack/cinder/blob/master/cinder/image/image_utils.py#L182</a></tt><tt><br>> <br>> Best Regards!<br>> <br>> Kevin (Chen) Ji ¼Í ³¿<br>> <br>> Engineer, zVM Development, CSTL<br>> Notes: Chen CH Ji/China/IBM@IBMCN Internet: jichenjc@cn.ibm.com<br>> Phone: +86-10-82454158<br>> Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,<br>> Beijing 100193, PRC<br>> <br><br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br></tt><tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt><tt><br></tt><br><br><BR>
</body></html>