[ovirt-users] Storage domain not in pool issue

VONDRA Alain AVONDRA at unicef.fr
Wed Apr 8 10:26:17 EDT 2015


Hi Adam,
Thank you to take your precious time to my problem.
First of all, I want to precise that I don't want to recreate new VMs, but to recover them in the 2 Storage domains, I don't have any backups of them.
So I don't just want to re-active the domains, I'd prefer a non destructive solution.
Regards
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-----Message d'origine-----
De : Adam Litke [mailto:alitke at redhat.com]
Envoyé : mercredi 8 avril 2015 16:05
À : VONDRA Alain
Cc : users at ovirt.org
Objet : Re: [ovirt-users] Storage domain not in pool issue

On 08/04/15 09:48 +0000, VONDRA Alain wrote:
>Hi,
>Is there any news ??
>I there anybody who can help me ?
>This long silence get me more and more worried.
>I saw that Federico Simoncelli is working on a new feature "StoragePool Metadata Removal", but I don't have any advice from him or anybody else.
>I'd be really happy to know if somebody works on this kind of problem, I guess that I'm not the only one with this issue, and potentially this can be a disaster bug that could be a bad thing for the reputation of the oVirt platform.
>Don't forget that my Data Center is out of order since March 13th, and this is not trustable for a production environment.
>Let me know what you think about it ?

Hi,

Yesterday I tried to reproduce your situation with a local oVirt setup I have.  I then tried to manually alter the metadata to force detach the storage domain from the old pool.  My steps involved the use of the vgchange command to remove and add VG tags to the volume group that holds the storage domain.  Unfortunately I was not successful in reviving the domain.  I'm trying to find some help for you since I think I have reached my limit for this situation.

How familiar are you with LVM?  If you can activate the VG for your storage domain and then activate all of its LVs, you may be able to scrape the disks off of the storage using the qemu-img command.  If you place those disks on an export domain then you could import them into your working storage domain and use them to recreate new VMs.
This is a clunky and labor intensive solution but could work if we are unable to revive the domain in its entirety.

Let me know if you'd like to pursue this approach.

--
Adam Litke


More information about the Users mailing list