<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Oddly, the physical file did not exist. I'm not sure it ever did?
(no proof one way or another on that)</p>
<br>
<div class="moz-cite-prefix">On 8/23/2017 11:09 AM, Sakhi Hadebe
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJ9ctEnhysZZ46fNq3ZH7JhC0gEvbAVqv0hkyLH_SdwWRDJDDw@mail.gmail.com">
<div dir="ltr">
<div class="gmail_default" style="font-family:"trebuchet
ms",sans-serif">I had the same problem yesterday. I found
the solution from this article <a
href="https://kashyapc.fedorapeople.org/virt/lc-2012/snapshots-handout.html"
moz-do-not-send="true">https://kashyapc.fedorapeople.org/virt/lc-2012/snapshots-handout.html</a>.
According to the article it deletes the tracking metadata by
libvirt.</div>
<div class="gmail_default" style="font-family:"trebuchet
ms",sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:"trebuchet
ms",sans-serif">You can physically remove the snapshot
now that there is no tracking stream data by libvirt</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Aug 23, 2017 at 4:56 PM, Doug
Hughes <span dir="ltr"><<a
href="mailto:doug.hughes@keystonenap.com" target="_blank"
moz-do-not-send="true">doug.hughes@keystonenap.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>THat did it! Can you esplain what was going on and how
that fixed it? Thanks<br>
</p>
<div>
<div class="h5"> <br>
<div class="m_-3364292027163180564moz-cite-prefix">On
8/23/2017 10:50 AM, Sakhi Hadebe wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default">Hi,</div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default">Can you try this
command:</div>
<div class="gmail_default"><font face="trebuchet
ms, sans-serif">virsh snapshot-delete </font><span
style="font-size:12.8px">serv1r2 snap</span><span> --metadata</span></div>
<div class="gmail_default"><span
style="font-family:"trebuchet
ms",sans-serif"><br>
</span></div>
<div class="gmail_default"><br>
</div>
<div class="gmail_default"><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Aug 23, 2017 at
4:41 PM, Doug Hughes <span dir="ltr"><<a
href="mailto:doug.hughes@keystonenap.com"
target="_blank" moz-do-not-send="true">doug.hughes@keystonenap.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>I'm not sure how this snapshot got
created, but, I cannot delete it, and its
presence prevents me from creating other
snapshots. I don't know if it was created
by a command gone amok or something else.</p>
<p># virsh snapshot-list serv1r2<br>
Name Creation
Time State<br>
------------------------------<wbr>------------------------------<br>
snap 2017-01-30 17:01:11
-0500 shutoff<br>
<br>
</p>
<p># virsh snapshot-delete serv1r2 snap
--disk-only<br>
error: command 'snapshot-delete' doesn't
support option --disk-only<br>
</p>
<p># virsh snapshot-dumpxml serv1r2 snap<br>
<domainsnapshot><br>
<name>snap</name><br>
<state>shutoff</state><br>
<creationTime>1485813671</crea<wbr>tionTime><br>
<memory snapshot='no'/><br>
<disks><br>
<disk name='vda'
snapshot='external' type='file'><br>
<driver type='qcow2'/><br>
<source file='/<b>var/lib/libvirt/images/<wbr>serv1r2-savesnap.qcow2'/</b>><br>
</disk><br>
<disk name='fda' snapshot='no'/><br>
<disk name='hda' snapshot='no'/><br>
</disks></p>
<p># ls -l /var/lib/libvirt/images/serv1r<wbr>2-savesnap.qcow2<br>
ls: cannot access
/var/lib/libvirt/images/serv1r<wbr>2-savesnap.qcow2:
No such file or directory<br>
</p>
<p># virsh snapshot-create-as --domain
serv1r2 snap --diskspec
vda,file=/var/lib/libvirt/flas<wbr>himages/serv1r2-snap.qcow2
--disk-only --atomic --no-metadata
--quiesce<br>
error: internal error: unexpected domain
snapshot snap already exists<br>
</p>
<p># virsh snapshot-revert serv1r2 snap<br>
error: unsupported configuration: revert
to external snapshot not supported yet<br>
</p>
<p>Any idea for breaking out of this box?</p>
<span class="m_-3364292027163180564HOEnZb"><font
color="#888888">
<p><br>
</p>
<p><br>
</p>
<div
class="m_-3364292027163180564m_-7776500251940886334moz-signature">--
<br>
<table>
<tbody>
<tr>
<td style="padding-left:20px"
width="90%">Doug Hughes<br>
Keystone NAP<br>
Fairless Hills, PA<br>
1.844.KEYBLOCK (539.2562)</td>
<td style="padding-right:20px"><img
src="cid:part4.4FD00B51.D128FD3D@keystonenap.com" class=""> </td>
</tr>
</tbody>
</table>
</div>
</font></span></div>
<br>
______________________________<wbr>_________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com"
target="_blank" moz-do-not-send="true">libvirt-users@redhat.com</a><br>
<a
href="https://www.redhat.com/mailman/listinfo/libvirt-users"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://www.redhat.com/mailman<wbr>/listinfo/libvirt-users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-3364292027163180564gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div cols="72"><font size="2"
face="trebuchet ms, sans-serif">Regards,</font></div>
<div cols="72"><font size="2"
face="trebuchet ms, sans-serif">Sakhi
Hadebe</font></div>
<pre cols="72"><font size="2" face="trebuchet ms, sans-serif">Engineer: South African National Research Network (SANReN)Competency Area, Meraka, CSIR
Tel: <a href="tel:+27128414213" target="_blank" moz-do-not-send="true">+27 12 841 2308</a>
Fax: <a href="tel:+27128414223" target="_blank" moz-do-not-send="true">+27 12 841 4223</a>
Cell: <a href="tel:+27823034657" target="_blank" moz-do-not-send="true">+27 71 331 9622</a>
Email: <a href="mailto:shadebe@csir.co.za" target="_blank" moz-do-not-send="true">sakhi@sanren.ac.za</a></font>
</pre>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<div class="m_-3364292027163180564moz-signature">-- <br>
<table>
<tbody>
<tr>
<td style="padding-left:20px" width="90%">Doug
Hughes<br>
Keystone NAP<br>
Fairless Hills, PA<br>
1.844.KEYBLOCK (539.2562)</td>
<td style="padding-right:20px"><img
src="cid:part4.4FD00B51.D128FD3D@keystonenap.com"
class=""> </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div cols="72"><font size="2" face="trebuchet ms,
sans-serif">Regards,</font></div>
<div cols="72"><font size="2" face="trebuchet ms,
sans-serif">Sakhi Hadebe</font></div>
<pre cols="72"><font size="2" face="trebuchet ms, sans-serif">Engineer: South African National Research Network (SANReN)Competency Area, Meraka, CSIR
Tel: <a href="tel:+27128414213" target="_blank" moz-do-not-send="true">+27 12 841 2308</a>
Fax: <a href="tel:+27128414223" target="_blank" moz-do-not-send="true">+27 12 841 4223</a>
Cell: <a href="tel:+27823034657" target="_blank" moz-do-not-send="true">+27 71 331 9622</a>
Email: <a href="mailto:shadebe@csir.co.za" target="_blank" moz-do-not-send="true">sakhi@sanren.ac.za</a></font>
</pre>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<table>
<tbody>
<tr>
<td style="padding-left: 20px" width="90%">Doug Hughes<br>
Keystone NAP<br>
Fairless Hills, PA<br>
1.844.KEYBLOCK (539.2562)</td>
<td style="align: right;padding-right: 20px"><img
src="cid:part4.4FD00B51.D128FD3D@keystonenap.com">
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>