oVirt: Unlock Virtual Disks

So every now and then, a clone operation will break on oVirt. However, it will often leave the source machine in a locked state, unable to be used. Luckily, the solution is pretty simple. All you need to do is ssh into the oVirt-engine machine and run the following.

Unlock all disks 
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t all

Unlock specific VM disk
/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t vm UUID_OF_VM

Just wait a little bit and the disks should be unlocked.



About: Ryan Parker

I currently work as a system administrator for the local school district. I also have a side job helping small to medium business with their technology. One of my hobbies is building out infrastructures for myself, friends, and clients.


Leave a Reply

Your email address will not be published. Required fields are marked *