[libvirt-users] snapshot anomaly

Sakhi Hadebe sakhi at sanren.ac.za
Wed Aug 23 14:50:07 UTC 2017


Hi,

Can you try this command:
virsh snapshot-delete serv1r2 snap --metadata




On Wed, Aug 23, 2017 at 4:41 PM, Doug Hughes <doug.hughes at keystonenap.com>
wrote:

> 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.
>
> # virsh snapshot-list serv1r2
>  Name                 Creation Time             State
> ------------------------------------------------------------
>  snap                 2017-01-30 17:01:11 -0500 shutoff
>
> # virsh snapshot-delete serv1r2 snap --disk-only
> error: command 'snapshot-delete' doesn't support option --disk-only
>
> # virsh snapshot-dumpxml serv1r2 snap
> <domainsnapshot>
>   <name>snap</name>
>   <state>shutoff</state>
>   <creationTime>1485813671</creationTime>
>   <memory snapshot='no'/>
>   <disks>
>     <disk name='vda' snapshot='external' type='file'>
>       <driver type='qcow2'/>
>       <source file='/*var/lib/libvirt/images/serv1r2-savesnap.qcow2'/*>
>     </disk>
>     <disk name='fda' snapshot='no'/>
>     <disk name='hda' snapshot='no'/>
>   </disks>
>
> #  ls -l /var/lib/libvirt/images/serv1r2-savesnap.qcow2
> ls: cannot access /var/lib/libvirt/images/serv1r2-savesnap.qcow2: No such
> file or directory
>
> # virsh snapshot-create-as --domain serv1r2 snap --diskspec
> vda,file=/var/lib/libvirt/flashimages/serv1r2-snap.qcow2  --disk-only
> --atomic --no-metadata --quiesce
> error: internal error: unexpected domain snapshot snap already exists
>
> # virsh snapshot-revert serv1r2 snap
> error: unsupported configuration: revert to external snapshot not
> supported yet
>
> Any idea for breaking out of this box?
>
>
>
> --
> Doug Hughes
> Keystone NAP
> Fairless Hills, PA
> 1.844.KEYBLOCK (539.2562)
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
>



-- 
Regards,
Sakhi Hadebe

Engineer: South African National Research Network (SANReN)Competency
Area, Meraka, CSIR

Tel:   +27 12 841 2308 <+27128414213>
Fax:   +27 12 841 4223 <+27128414223>
Cell:  +27 71 331 9622 <+27823034657>
Email: sakhi at sanren.ac.za <shadebe at csir.co.za>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170823/93afd36f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keystone-nap.png
Type: image/png
Size: 3476 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170823/93afd36f/attachment.png>


More information about the libvirt-users mailing list