Hi Ala, > Von: Adam Litke [ali...@redhat.com] > Gesendet: Freitag, 30. September 2016 15:54 > An: Markus Stockhausen > Cc: Ovirt Users; Ala Hino; Nir Soffer > Betreff: Re: [ovirt-users] Cleanup illegal snapshot > > On 30/09/16 05:47 +0000, Markus Stockhausen wrote: > >Hi, > > > >if a OVirt snapshot is illegal we might have 2 situations. > > > >1) qemu is still using it - lsof shows qemu access to the base raw and the > >delta qcow2 file. -> E.g. a previous live merge failed. In the past we > >successfully solved that situation by setting the status of the delta image > >in the database to OK. > > > >2) qemu is no longer using it. lsof shows qemu access only to the the base > >raw file -> E.g. a previous live merge succeded in qemu but Ovirt did not > >recognize. > > > >How to clean up the 2nd situation? > > It seems that you will have to first clean up the engine database to > remove references to the snapshot that no longer exists. Then you > will need to remove the unused qcow2 volume. > > Unfortunately I cannot provide safe instructions for modifying the > database but maybe Ala Hino (added to CC:) will be able to help with > that.
Do you have some tip for me? > > One you have fixed the DB you should be able to delete the volume > using a vdsm verb on the SPM host: > > # vdsClient -s 0 deleteVolume <sdUUID> <spUUID> <imgUUID> <volUUID> = -- IMPORTANT! This message has been scanned for viruses and phishing links. However, it is your responsibility to evaluate the links and attachments you choose to click. If you are uncertain, we always try to help. Greetings helpd...@actnet.se -- IMPORTANT! This message has been scanned for viruses and phishing links. However, it is your responsibility to evaluate the links and attachments you choose to click. If you are uncertain, we always try to help. Greetings helpd...@actnet.se
**************************************************************************** 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 ****************************************************************************
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/G7CFMCDMLDUQXYYGDLZ2B2D4VIKYDE7M/