<div>Hi,</div><div> </div><div>Why you are not use this</div><div> </div><pre><code><span style="font-family:"Calibri","sans-serif";font-size:12pt">glance image-download <Image ID> --file filename.img</span></code><span style="font-family:"Calibri","sans-serif";font-size:12pt"></span></pre>
<div><br>Br.</div><div> </div><div>Umar<br></div><div class="gmail_quote">On Fri, Jan 18, 2013 at 11:26 AM, Wangpan <span dir="ltr"><<a href="mailto:hzwangpan@corp.netease.com" target="_blank">hzwangpan@corp.netease.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><u></u>
<div style="border-width:0px;margin:12px;line-height:1.3" marginwidth="0" marginheight="0">
<div><font color="#000000" size="3" face="宋体">I think you are right,
and copy /var/lib/glance/images/xxxxxxxxxxx to remote host is the fastest
way.</font></div>
<div>You can check the snapshot by using it create an instance in the new
openstack environment.</div>
<div> </div>
<div align="left"><font color="#c0c0c0" face="Verdana">2013-01-18</font></div>
<div align="left"><font face="Verdana">
<hr style="width:122px;min-height:2px" align="left" size="2"><span class="HOEnZb"><font color="#888888">
</font></span></font></div><span class="HOEnZb"><font color="#888888">
<div align="left"><font color="#c0c0c0" face="Verdana"><span>Wangpan</span></font></div>
<div><font face="Verdana">
<hr>
</font></div>
<div><font face="Verdana"><strong>发件人:</strong>Ajiva Fan</font></div>
<div><font face="Verdana"><strong>发送时间:</strong><a href="tel:2013-01-18%C2%A014" target="_blank" value="+12013011814">2013-01-18 14</a>:08</font></div>
<div><font face="Verdana"><strong>主题:</strong>[Openstack] [glance] how to
export snapshot to local file system</font></div>
<div><font face="Verdana"><strong>收件人:</strong>"<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>"<<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>></font></div>
<div><font face="Verdana"><strong>抄送:</strong></font></div></font></span><div><div class="h5">
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">
<div>dear all, </div>
<div> </div>
<div>i have deployed openstack essex on ubuntu 12.04 precise, there are </div>
<div>some instances running for couple of days </div>
<div>now the server becomes unstable, so i want to save my instances' </div>
<div>snapshot to remote file system in order to use them in a new </div>
<div>environment. i find that there is no such command in glance, so what </div>
<div>should i do? </div>
<div> </div>
<div>i guess i can achieve it by following steps: </div>
<div>1. snapshot instance </div>
<div>2. locate the snapshot file in /var/lib/glance/images/xxxxxxxxxxx </div>
<div>3. copy this file to a remote host </div>
<div>4. upload this file by 'glance add' as disk_format=qcow2 to a new </div>
<div>openstack environment </div>
<div> </div>
<div>is it correct? and is there any convenient way? </div>
<div> </div>
<div>thanks for any help </div>
<div> </div>
<div>_______________________________________________ </div>
<div>Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a> </div>
<div>Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a> </div>
<div>Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a> </div>
<div>More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a> </div></font></div></div></div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Umar Draz<br>Network Architect