This is a multi-part message in MIME format.
------=_NextPartTM-000-64e48ed9-898c-4d84-9f17-12746f198110
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi Ala,=0A=
=0A=
Von: Adam Litke [alitke(a)redhat.com]=0A=
Gesendet: Freitag, 30. September 2016 15:54=0A=
An: Markus Stockhausen=0A=
Cc: Ovirt Users; Ala Hino; Nir Soffer=0A=
Betreff: Re: [ovirt-users] Cleanup illegal snapshot=0A=
=0A=
On 30/09/16 05:47 +0000, Markus Stockhausen wrote:=0A=
>Hi,=0A=
>=0A=
>if a OVirt snapshot is illegal we might have 2 situations.=0A=
>=0A=
>1) qemu is still using it - lsof shows qemu access to the base raw and t=
he=0A=
>delta qcow2 file. -> E.g. a previous live merge failed. In the
past we=
=0A=
>successfully solved that situation by setting the status of the
delta im=
age=0A=
>in the database to OK.=0A=
>=0A=
>2) qemu is no longer using it. lsof shows qemu access only to the the ba=
se=0A=
>raw file -> E.g. a previous live merge succeded in qemu but
Ovirt did no=
t=0A=
>recognize.=0A=
>=0A=
>How to clean up the 2nd situation?=0A=
=0A=
It seems that you will have to first clean up the engine database to=0A=
remove references to the snapshot that no longer exists. Then you=0A=
will need to remove the unused qcow2 volume.=0A=
=0A=
Unfortunately I cannot provide safe instructions for modifying the=0A=
database but maybe Ala Hino (added to CC:) will be able to help with=0A=
that.=0A=
=0A=
Do you have some tip for me?=0A=
=0A=
=0A=
One you have fixed the DB you should be able to delete the volume=0A=
using a vdsm verb on the SPM host:=0A=
=0A=
# vdsClient -s 0 deleteVolume <sdUUID> <spUUID> <imgUUID>
<volUUID>=0A=
------=_NextPartTM-000-64e48ed9-898c-4d84-9f17-12746f198110
Content-Type: text/plain;
name="InterScan_Disclaimer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="InterScan_Disclaimer.txt"
****************************************************************************
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
Vorstand:
Kadir Akin
Dr. Michael Höhnerbach
Vorsitzender des Aufsichtsrates:
Hans Kristian Langva
Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
executive board:
Kadir Akin
Dr. Michael Höhnerbach
President of the supervisory board:
Hans Kristian Langva
Registry office: district court Cologne
Register number: HRB 52 497
****************************************************************************
------=_NextPartTM-000-64e48ed9-898c-4d84-9f17-12746f198110--