does the guest have a snapshot ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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/crispor_1604.sn'/>
      <backingStore type='file' index='1'>
        <format type='raw'/>
        <source file='/var/lib/libvirt/images/crispor_1604/crispor_1604.img'/>
        <backingStore/>
      </backingStore>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
 ...

both files are currently in access by the respective qemu process.
lsof:
qemu-kvm  19533       root   13u      REG              253,0  29761732608   12091393 /var/lib/libvirt/images/crispor_1604/crispor_1604.sn
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 crispor_1604.sn

crispor_1604.sn has a recent timestamp.

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


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 ?

Thanks.


Bernd

-- 

Bernd Lentes 
Systemadministration 
Institute for Metabolism and Cell Death (MCD) 
Building 35.34 - Raum 208 
HelmholtzZentrum münchen 
bernd.lentes@xxxxxxxxxxxxxxxxxxxxx 
phone: +49 89 3187 1241 
phone: +49 89 3187 3827 
fax: +49 89 3187 2294 
http://www.helmholtz-muenchen.de/mcd

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
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir.in 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








[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux