On 11-03-14 16:39, Liron Aravot wrote:
----- Original Message -----
> From: "Boudewijn Ector" <boudewijn(a)boudewijnector.nl>
> To: "Jason Brooks" <jbrooks(a)redhat.com>
> Cc: users(a)ovirt.org
> Sent: Tuesday, March 11, 2014 1:32:00 AM
> Subject: Re: [Users] Reimporting storage domains after reinstalling ovirt
>
>
>> Some people have reported success creating an image of the desired
>> size, then noting the name of this new image, and copying the old
>> image into the place of the new one, with the new name. Something
>> like that might work, but I don't have first-hand experience w/
>> it.
>>
>> Jason
> Hi Jason,
>
>
> Due to lack of viable alternative, I've decided to go and try this
> approach. I just had a look at my datafiles:
>
> - these are either 8gb (OS) or 250gb (LVM images)
> - can't mount those directly in my host OS (tried because of the next
> point)
> - I don't know to what VM this image/VM belongs . They're all quite
> the same (basic debian install), so determining it just by running
> strings etc on those will not be easy
> - I can't import the old VMs from the old storage. If I create new
> images and dd the old information into those new images the metadata
> will not be copied too.
>
> So the only option is not reusing the VM's but creating completely
> new ones and determining which disk images are required for these VMs.
> Then creating the new image structure and dd'ing the corresponding
> images from the old VMs into the new ones. In order to do so I need to
> know what data belongs to what VM.
> Is there a trick for doing this?
>
> I still do have the database from the old ovirt machine, this might
> save me. Will have a look into that one tomorrow.
>
> Cheers,
>
> Boudewijn
Hi Boudewijn,
So we can proceed and recover your data i'd like to know -
1. can you use the db backup? will you lose any important data if you chose to use it?
2, did you have snapshots for your vm?
please answer so we can proceed with it, we can find methods for restoring without having
to perform images copy (and to restore with copying) - but each way has it's
implications.
thanks,
Liron.
Hi Liron,
Have you already been able to look at my reply on the list? It would be
great for me to be able to make some decent progress this weekend.
Cheers,
Boudewijn