<div dir="ltr">Hi<div><br></div><div>As you know there are two types of snapshots, system and disk. Disk only snapshots are handled through the capacity tab in sunstone and eventually by the CPDS script in the TM. System snapshots are handled by the snapshot script of VMM.</div>

<div><br></div><div>There are no plans to redesign this, disk snapshotting can use a custom storage facility through "cpds", but system snapshots will be handled through the hypervisor....</div><div><br></div><div>

Note that system snapshots require also to checkpoint the memory state of the system, thats the reason for requiring qcow2 in kvm. So I am not really sure how this two processes, memory and disk snapshot, can be orchestrated outside of libvirt, maybe libvirt hooks?</div>

<div><br></div><div>About the bug, I am wondering if this is a rendering issue or something deeper, could you send the output of:</div><div><br></div><div><div>onevm show <VM_ID> -x</div></div><div><br></div><div>Cheers</div>

<div><br></div><div>Ruben</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 11:19 AM, Gareth Bult <span dir="ltr"><<a href="mailto:gareth@linux.co.uk" target="_blank">gareth@linux.co.uk</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
It seems that the snapshot facility relies on the "libvirt" snapshot facility which at the moment<br>
relies entirely upon the QEMU snapshot facility, which means you can really only snapshot QCOW<br>
images. Before I start to modify remotes/bmm/kvm/snapshot*, is there a way or are there any plans<br>
to move snapshot functionality to the drivers such that we can use a custom snapshot facility on<br>
a per storage facility basis?<br>
<br>
Case in point;<br>
<br>
At the moment there seems to be a script which does this;<br>
<br>
virsh --connect $LIBVIRT_URI snapshot-create-as $DOMAIN (which is QCOW2 only?)<br>
<br>
I would like it to be able to handle this;<br>
<br>
vdc-tool -n ON_IM_81 --mksnap "First Snapshot"<br>
>  :: Snapshot created [First Snapshot]<br>
<br>
vdc-tool -n ON_IM_81 --lssnap<br>
+----------+--------------------------------------+----------+----------+----------------------+<br>
| UniqueID | Snapshot Name                        |     Size |   Blocks | Created@             |<br>
+----------+--------------------------------------+----------+----------+----------------------+<br>
| 1        | First Snapshot                       |  662.53M |   370404 | 20 Oct 2013 09:55:08 |<br>
|          | 6c0ca1c0-9d62-474a-83fc-369fa01d4068 |          |          | Root:     1196295401 |<br>
+----------+--------------------------------------+----------+----------+----------------------+<br>
Number of snapshot blocks used (370404) taking ( 662.53M)<br>
Current committed blocks = 652079<br>
Current blocks (0 ) and current size (   0.00b)<br>
<br>
Obviously the vdc-tool output can be tweaked as necessary .. I would like to be able to integrate<br>
this into libvirt, but the snapshot API in libvirt appears still to be on the drawing board whereas<br>
I already have a working / usable snapshot facility ... any thoughts ?<br>
<br>
Incidentally, I think I just spotted a bug on the Placement log;<br>
<br>
#       Host    Action  Reason  Chg time                        Total time      Prolog time<br>
0       node3   live-migrate    USER    19:08:46 19/11/2013     0d 00:01        0d 00:00<br>
1       node2   live-migrate    USER    19:09:44 19/11/2013     0d 00:03        0d 00:00<br>
2       node1   live-migrate    USER    19:12:56 19/11/2013     0d 00:01        0d 00:00<br>
3       node3   live-migrate    USER    19:13:59 19/11/2013     0d 14:47        0d 00:00<br>
4       node1   none            NONE    10:00:15 20/11/2013     30d 23:55       0d 00:00<br>
<br>
We've accumulated 30d of total time overnight ?!<br>
(yes, the clocks are in sync ...)<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Gareth Bult<br>
“The odds of hitting your target go up dramatically when you aim at it.”<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>

<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</div>