[prev in list] [next in list] [prev in thread] [next in thread]
List: libvirt-users
Subject: Re: [libvirt-users] domain still running although snapshot-file is deleted !?!
From: Peter Crowther <peter.crowther () melandra ! com>
Date: 2019-05-15 13:52:27
Message-ID: CALhdq6s78fCQSpcBcmk0MGsbxA+BM9Z9sg5jsFxUYeFNibW7Wg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
The file may have been unlinked (name to inode mapping removed from the
filesystem), but the inode and therefore the data will stay until no
process references the inode. I *think* this may be what's happening in
your case?
Peter
On Wed, 15 May 2019, 14:25 Lentes, Bernd, <
bernd.lentes@helmholtz-muenchen.de> wrote:
> Hi,
>
> i have a strange situation:
> A domain is still running where domblklist points to a snapshot file and
> also dumpxml says the current drive is that snapshot file.
> But the file has been deleted hours ago. And the domain is still running.
> I can login via ssh, the database and the webserver are still running,
> domain is performant.
> How can that be ?
> Also lsof shows that the file is deleted:
> qemu-syst 27007 qemu 15ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
> qemu-syst 27007 qemu 16ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
> qemu-syst 27007 27288 qemu 15ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
> qemu-syst 27007 27288 qemu 16ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
> CPU\x200/ 27007 27308 qemu 15ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
> CPU\x200/ 27007 27308 qemu 16ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
> CPU\x201/ 27007 27309 qemu 15ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
> CPU\x201/ 27007 27309 qemu 16ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
> vnc_worke 27007 27321 qemu 15ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
> vnc_worke 27007 27321 qemu 16ur REG 254,14
> 335609856 183599 /mnt/snap/sim.sn (deleted)
>
> Bernd
>
> --
>
> Bernd Lentes
> Systemadministration
> Institut f=C3=BCr Entwicklungsgenetik
> Geb=C3=A4ude 35.34 - Raum 208
> HelmholtzZentrum m=C3=BCnchen
> bernd.lentes@helmholtz-muenchen.de
> phone: +49 89 3187 1241
> phone: +49 89 3187 3827
> fax: +49 89 3187 2294
> http://www.helmholtz-muenchen.de/idg
>
> wer Fehler macht kann etwas lernen
> wer nichts macht kann auch nichts lernen
>
>
> Helmholtz Zentrum Muenchen
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
> Ingolstaedter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Stellv. Aufsichtsratsvorsitzender: MinDirig. Dr. Manfred Wolter
> Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Heinrich
> Bassler, Kerstin Guenther
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671
>
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users@redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
[Attachment #5 (text/html)]
<div dir="auto">The file may have been unlinked (name to inode mapping removed from \
the filesystem), but the inode and therefore the data will stay until no process \
references the inode. I *think* this may be what's happening in your case?<div \
dir="auto"><br></div><div dir="auto">Peter </div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 May 2019, 14:25 \
Lentes, Bernd, <<a \
href="mailto:bernd.lentes@helmholtz-muenchen.de">bernd.lentes@helmholtz-muenchen.de</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br>
i have a strange situation:<br>
A domain is still running where domblklist points to a snapshot file and also dumpxml \
says the current drive is that snapshot file.<br> But the file has been deleted hours \
ago. And the domain is still running. I can login via ssh, the database and the \
webserver are still running,<br> domain is performant.<br>
How can that be ?<br>
Also lsof shows that the file is deleted:<br>
qemu-syst 27007 qemu 15ur REG 254,14 \
335609856 183599 /mnt/snap/<a href="http://sim.sn" rel="noreferrer noreferrer" \
target="_blank">sim.sn</a> (deleted)<br> qemu-syst 27007 qemu \
16ur REG 254,14 335609856 183599 /mnt/snap/<a \
href="http://sim.sn" rel="noreferrer noreferrer" target="_blank">sim.sn</a> \
(deleted)<br> qemu-syst 27007 27288 qemu 15ur REG \
254,14 335609856 183599 /mnt/snap/<a href="http://sim.sn" rel="noreferrer \
noreferrer" target="_blank">sim.sn</a> (deleted)<br> qemu-syst 27007 27288 \
qemu 16ur REG 254,14 335609856 183599 \
/mnt/snap/<a href="http://sim.sn" rel="noreferrer noreferrer" \
target="_blank">sim.sn</a> (deleted)<br> CPU\x200/ 27007 27308 qemu \
15ur REG 254,14 335609856 183599 /mnt/snap/<a \
href="http://sim.sn" rel="noreferrer noreferrer" target="_blank">sim.sn</a> \
(deleted)<br> CPU\x200/ 27007 27308 qemu 16ur REG \
254,14 335609856 183599 /mnt/snap/<a href="http://sim.sn" rel="noreferrer \
noreferrer" target="_blank">sim.sn</a> (deleted)<br> CPU\x201/ 27007 27309 \
qemu 15ur REG 254,14 335609856 183599 \
/mnt/snap/<a href="http://sim.sn" rel="noreferrer noreferrer" \
target="_blank">sim.sn</a> (deleted)<br> CPU\x201/ 27007 27309 qemu \
16ur REG 254,14 335609856 183599 /mnt/snap/<a \
href="http://sim.sn" rel="noreferrer noreferrer" target="_blank">sim.sn</a> \
(deleted)<br> vnc_worke 27007 27321 qemu 15ur REG \
254,14 335609856 183599 /mnt/snap/<a href="http://sim.sn" rel="noreferrer \
noreferrer" target="_blank">sim.sn</a> (deleted)<br> vnc_worke 27007 27321 \
qemu 16ur REG 254,14 335609856 183599 \
/mnt/snap/<a href="http://sim.sn" rel="noreferrer noreferrer" \
target="_blank">sim.sn</a> (deleted)<br> <br>
Bernd<br>
<br>
-- <br>
<br>
Bernd Lentes <br>
Systemadministration <br>
Institut für Entwicklungsgenetik <br>
Gebäude 35.34 - Raum 208 <br>
HelmholtzZentrum münchen <br>
<a href="mailto:bernd.lentes@helmholtz-muenchen.de" target="_blank" \
rel="noreferrer">bernd.lentes@helmholtz-muenchen.de</a> <br>
phone: +49 89 3187 1241 <br>
phone: +49 89 3187 3827 <br>
fax: +49 89 3187 2294 <br>
<a href="http://www.helmholtz-muenchen.de/idg" rel="noreferrer noreferrer" \
target="_blank">http://www.helmholtz-muenchen.de/idg</a> <br> <br>
wer Fehler macht kann etwas lernen <br>
wer nichts macht kann auch nichts lernen<br>
<br>
<br>
Helmholtz Zentrum Muenchen<br>
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)<br>
Ingolstaedter Landstr. 1<br>
85764 Neuherberg<br>
<a href="http://www.helmholtz-muenchen.de" rel="noreferrer noreferrer" \
target="_blank">www.helmholtz-muenchen.de</a><br> Stellv. Aufsichtsratsvorsitzender: \
MinDirig. Dr. Manfred Wolter<br>
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Heinrich Bassler, \
Kerstin Guenther<br>
Registergericht: Amtsgericht Muenchen HRB 6466<br>
USt-IdNr: DE 129521671<br>
<br>
<br>
_______________________________________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com" target="_blank" \
rel="noreferrer">libvirt-users@redhat.com</a><br> <a \
href="https://www.redhat.com/mailman/listinfo/libvirt-users" rel="noreferrer \
noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a></blockquote></div>
_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic