<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-signature">I have been using internal snapshots on
production qcow2 images for a couple of years, admittedly as
infrequently as possible with one exception and that exception has
had multiple snapshots taken and removed using virt-manager's GUI.<br>
<br>
I was unaware of this:<br>
<blockquote type="cite">There are some technical downsides to
<br>
internal snapshots IIUC, such as inability to free the space
used by the
<br>
internal snapshot when it is deleted,</blockquote>
<br>
This might explain why this VM recently kept going into a paused
state and I had to extend the volume to get it to stay up. This
VM is used for testing our software in SharePoint and we make
heavy use of snapshots. Is there nothing I can to do recover that
space? <br>
<br>
What would be the best practice then for a VM that needs to be
able to create and remove snapshots on a regular basis?<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
<p><b>Paul O'Rorke</b><br>
<b>Tracker Software Products (Canada) Limited </b><br>
<a href="http://www.tracker-software.com/">www.tracker-software.com</a><br>
Tel:
+1 (250) 324 1621<br>
Fax: +1 (250) 324 1623<br>
<br>
<a href="http://www.tracker-software.com/"> <img
src="https://www.tracker-software.com/fckfiles/image/images/resellers/logo/TrackerSofwareProducts_Logo_330x100.png"
name="image.png" height="100" border="0" align="bottom"
width="330">
</a>
<br>
<br>
Support:
<br>
<a href="http://www.tracker-software.com/support">http://www.tracker-software.com/support
</a><br>
Download latest Releases
<br>
<a href="http://www.tracker-software.com/downloads/">http://www.tracker-software.com/downloads/</a></p>
<p><br>
<br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
</div>
<div class="moz-cite-prefix">On 2018-05-01 01:11 PM, Gionatan Danti
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:d166c5e3340dcfb685734e13127c4132@assyoma.it">Il
01-05-2018 10:56 Daniel P. Berrangé ha scritto:
<br>
<blockquote type="cite">qcow2 is widely used in production at
large scale in general. Just not
<br>
with internal snapshots - almost everything uses external
snapshots,
<br>
aka backing file chains.
<br>
<br>
The QEMU community still tends to discourage use of internal
snapshots.
<br>
There are not even any QMP monitor commands to use them - you
are forced
<br>
to use the legacy HMP interface to QEMU for mgmt. All of the
workaround
<br>
providing interesting block storage mgmt is focused on external
snapshots
<br>
(aka the backing_file option). There are some technical
downsides to
<br>
internal snapshots IIUC, such as inability to free the space
used by the
<br>
internal snapshot when it is deleted, loading/saving snapshots
blocks
<br>
execution of the guest OS, and probably more I've forgotten
about.
<br>
<br>
The only nice thing about internal snapshots is simplicity of
mgmt, and
<br>
that is a very nice thing indeed, which is why virt-manager has
code
<br>
to support that - it was much easier to add that code for
external
<br>
snapshots. Just a shame about all the downsides :-(
<br>
</blockquote>
<br>
So internal snapshots remain something very useful for lab/tests,
but are not recommended for regular use in production environment,
right?
<br>
<br>
Thanks.
<br>
<br>
</blockquote>
<br>
</body>
</html>