[Users] Virtual disk "locked" and I can't start/alter the VM

Mike Kolesnik mkolesni at redhat.com
Wed Aug 8 05:43:20 UTC 2012


----- Original Message -----
> On Aug 7, 2012, at 7:40 PM, Itamar Heim <iheim at redhat.com> wrote:
> 
> > you can edit it directly in the db to remove the lock from the
> > vm_dynamic table.
> 
> Any pointers on this?

If this is the only locked disk, please try to run this query on the DB:
update images
set imagestatus = 1
where imagestatus = 2;

And see if it helped.

> 
> 
> > before that:
> > any errors in the engine logs?
> 
> Not that I can see.

If you can please attach engine.log & vdsm.log from the time of when this happened, that could help us try to identify what went wrong.

> 
> > any tasks still running?
> 
> What do you mean by this? The VM guest is listed as "Down".

What Itamar means is asynchronous tasks running on the host.
You can see them in the "Tasks" sub-tab on the web-admin, or if you run on your host:
vdsClient -s 0 getAllTasksInfo

> 
> > restarting the engine solves this?
> 
> No change.
> 
> Thanks,
> Ian

Regards,
Mike



More information about the Users mailing list