Hi Bertrand,
I solved the problem recovering from old snapshots when possibile (for
some VMs i didn't find the LVs on the VG)..
I discovered that usually the volume ovirt couldn't get the size, was
not resident on the VG.
Don't ask me why this happens or when (i'm sure it began on ovirt-3.6
maybe with version 3.6.7, i'm not sure that i had the 3.6.5), i only
know that almost all the last snapshots were not resident on the same
VG, in some way the machine was running ok up to I shut it down, then no
volume anymore.
Luckily i could recover the VMs from previous snapshots mounting LVs
manually, then with qemu-img convert creating a raw image and the last
using dd with netcat to copy on new VMs with the same features (RAM,
disk, etc.) of the original VMs.
We have about 250 VMs, about 150 have snapshots, I recovered manually
about 100 VMs, some from snapshot when clone or export worked, but
mostly using the method described.
I investigated and discovered that in some way the info on Ovirt-DB were
right, but physically on the snapshots were wrong pointing to different
VM parent-snapshots or having missing snapshots.
If you need some help let me know, but repeat i'm still recovering old
VMs, moving them to a new Datacenter.
Claudio
On 09/11/16 23:19, Bertrand Caplet wrote:
Hi Claudio,
I'm having the same problem.
Did you resolve it ? And how ?
Le 20/10/2016 à 17:11, Claudio Soprano a écrit :
> Hello all,
>
> we upgraded the engine (standalone) from 3.6.5 to 4.0.4 for the
> Backing file too long bug.
>
> we upgraded 2 hosts on 10 from 3.6.5 to 4.0.4 too.
>
> we tried to shutdown some VMs and now when we try to start them again
> we get
>
> "Unable to get volume size for domain
> 384f9059-ef2f-4d43-a54f-de71c5d589c8 volume
> 83ab4406-ea8d-443e-b64b-77b4e1dcb978"
>
> Where the domain changes for each VMs we try to start, some VMs have
> snapshots but one was cloned from a snapshot but has no snapshots itself.
>
> Also this cloned VM after the shutdown doesn't start anymore, same error.
>
> These VMs don't start neither 3.6.5 or 4.0.4 hosts.
>
> I hope in any help because we have about 200 VMs and we don't know if
> they will start again after a shutdown.
>
> Claudio
>
>
--
/ | / _____/ / | / _____/ | /
/ / | / / / / | / / / | /
/ / | / ___/ _____/ / / | / ___/ / | /
/ / | / / / / | / / / | /
______/ _/ __/ _/ _/ _/ __/ _/ _/ __/
Claudio Soprano phone: (+39)-06-9403.2349/2355
Computing Service fax: (+39)-06-9403.2649
LNF-INFN e-mail: Claudio.Soprano(a)lnf.infn.it
Via Enrico Fermi, 40 www:
http://www.lnf.infn.it/
I-00044 Frascati, Italy