does the guest have a snapshot ?

Lentes, Bernd bernd.lentes at
Fri Feb 7 14:25:22 UTC 2020


i'm cuurently a bit confused if a guest does have a valid snapshot or not.
This is the xml:
   <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/var/lib/libvirt/images/crispor_1604/'/>
      <backingStore type='file' index='1'>
        <format type='raw'/>
        <source file='/var/lib/libvirt/images/crispor_1604/crispor_1604.img'/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>

both files are currently in access by the respective qemu process.
qemu-kvm  19533       root   13u      REG              253,0  29761732608   12091393 /var/lib/libvirt/images/crispor_1604/
qemu-kvm  19533       root   14r      REG              253,0 111561775513   44793857 /var/lib/libvirt/images/crispor_1604/crispor_1604.img

Here are both files:
pc60181:/var/lib/libvirt/images/crispor_1604 # ll
-rw------- 1 root root 111561775513 Oct 22 15:23 crispor_1604.img
-rw-r--r-- 1 root root  29761732608 Feb  7 15:13 has a recent timestamp.

The snapshot is currently in use:
virsh # domblklist crispor_1604
Target     Source
vda        /var/lib/libvirt/images/crispor_1604/

But virsh does not show any snapshot:

virsh # snapshot-list crispor_1604
 Name                 Creation Time             State

So i'm a bit confused. Does it have a valid snapshot or not. How can i find out and how can i get rid of it ?




Bernd Lentes 
Institute for Metabolism and Cell Death (MCD) 
Building 35.34 - Raum 208 
HelmholtzZentrum münchen 
bernd.lentes at 
phone: +49 89 3187 1241 
phone: +49 89 3187 3827 
fax: +49 89 3187 2294

Perfekt ist wer keine Fehler macht 
Also sind Tote perfekt
Helmholtz Zentrum München

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
Aufsichtsratsvorsitzende: Prof. Dr. Veronika von Messling
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671

More information about the libvirt-users mailing list