<div dir="ltr">Hi Hitoshi,<br><br>Thanks for your response and for your time.<br>Correct me if I'm wrong.<br><br>I thought about using qcow2 to use qemu to have the ability to use internal shapshot.<br><br>To have a consistent image of my virtual machines using sheepdog, I think I should turn off the virtual machine, then make the snapshot ( dog vdi snapshot -s ) and then turn it on again.<br><br>Using internal snapshot feature of qcow2/qemu I could avoid switching off the machine.<br><br>External snapshot do not seem to be supported with sheepdog:<br><br># virsh snapshot-create-as test3 test3-backup --disk-only --atomic<br><br>error: unsupported configuration: source for disk 'vda' is not a regular file; refusing to generate external snapshot name<br><br>I'm thinking correctly or i am wrong?<br><br>Thanks,<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-29 7:45 GMT+02:00 Hitoshi Mitake <span dir="ltr"><<a href="mailto:mitake.hitoshi@gmail.com" target="_blank">mitake.hitoshi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Sep 28, 2016 at 12:41 AM, Cristian Del Carlo <span dir="ltr"><<a href="mailto:cristian.delcarlo@targetsolutions.it" target="_blank">cristian.delcarlo@<wbr>targetsolutions.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi list,<br><br></div><div>sorry if i have another question.<br><br></div>I use sheepdog v0.9.3 and libvirt 1.2.17.<br></div>I have problems with qcow2.<br><br></div>I create the image with the command:<br>qemu-img create -f qcow2 -o preallocation=metadata sheepdog:test2.qcow2 20G<br><br></div>After the command i can check the image:<br><br># qemu-img info sheepdog:///test2.qcow2<br>image: sheepdog:///test2.qcow2<br>file format: qcow2<br>virtual size: 20G (21474836480 bytes)<br>disk size: unavailable<br>cluster_size: 65536<br>Format specific information:<br>    compat: 1.1<br>    lazy refcounts: false<br><br></div>But when i start to install a linux vm ( with virtmanager 1.3.2 ) if i repeat the command i have the following :<br><br># qemu-img info sheepdog:///test2.qcow2<br>image: sheepdog:///test2.qcow2<br>file format: raw<br>virtual size: 20G (21478375424 bytes)<br>disk size: unavailable<br><br></div>Even with "qemu-img convert" i have problem and i can work only with raw file.<br><br></div>Where is the problem?<br></div></blockquote><div><br></div></div></div><div>What is the motivation of using qcow2 format on sheepdog virtual block device? It is a very rare use case so the functionality would have bugs. If it is critical for you, could you open an issue on github?</div><div><br></div><div>Thanks,</div><div>Hitoshi</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr"><div><div><div><br></div><div>I would like to use qcow2 to have the possibility to use the command "virsh snapshot-create --live vm".<br><br></div><div>Thanks.<br><br></div><div>Best regards,<div><div><div><div><div><div><div><div dir="ltr"><div><span></span><span></span><br></div><div><font><b><font color="#990000"><i><br></i></font></b></font></div><div><font><b><font color="#990000"><i>Cristian Del Carlo</i></font></b></font></div><br></div></div>
</div></div></div></div></div></div></div></div></div></div>
<br></span><span class="HOEnZb"><font color="#888888">--<br>
sheepdog-users mailing lists<br>
<a href="mailto:sheepdog-users@lists.wpkg.org" target="_blank">sheepdog-users@lists.wpkg.org</a><br>
<a href="https://lists.wpkg.org/mailman/listinfo/sheepdog-users" rel="noreferrer" target="_blank">https://lists.wpkg.org/mailman<wbr>/listinfo/sheepdog-users</a><br>
<br></font></span></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span></span><span></span><br></div><div><font><b><font color="#990000"><i><br></i></font></b></font></div><div><font><b><font color="#990000"><i>Cristian Del Carlo</i></font></b><br></font></div><div></div><div><i><font>Target Solutions s.r.l.<br></font></i></div><div><i><font><br></font></i></div>

<div><font><span><b><font color="#ff0000">T</font></b><b> </b>+</span>39 0583 1905621</font></div><div><font><font color="#ff0000"><b>F</b></font> <a value="+3905831905675">+39 0583 1905675</a></font></div><div>
<font><a value="+393356026770"></a></font></div><div><font><font color="#ff0000"><b>@</b></font> </font><font><a href="mailto:cristian.delcarlo@targetsolutions.it" target="_blank">cristian.delcarlo@targetsolutions.it</a></font><br></div>

<div><br><a href="http://www.targetsolutions.it/" target="_blank"><font>http://www.targetsolutions.it</font></a><br><font>P.IVA e C.Fiscale: 01815270465  Reg. Imp. di Lucca<br>Capitale Sociale:  €11.000,00 iv - REA n° 173227<br>
<br></font><font size="1">Il
 testo e gli eventuali documenti trasmessi contengono informazioni 
riservate al destinatario indicato. La seguente e-mail e' confidenziale e
 la sua riservatezza e' tutelata legalmente dal Decreto Legislativo 196 
del 30/06/2003 (Codice di tutela della privacy). La lettura, copia o 
altro uso non autorizzato o qualsiasi altra azione derivante dalla 
conoscenza di queste informazioni sono rigorosamente vietate. Qualora 
abbiate ricevuto questo documento per errore siete cortesemente pregati 
di darne immediata comunicazione al mittente e di provvedere, 
immediatamente, alla sua distruzione.</font></div></div></div>
</div>