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'm a former captain of the Cyber Defense team, Current Infrastructure Security Specialist. I also have a side job helping small to medium business with anything technology doing everything imaginable. One of my hobbies is building out infrastructures for myself, friends, and clients. I current maintain a homelab with about 400GB of RAM, 100+ TB of storage, and tons of CPU cores.


Leave a Reply

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