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

Professionally im a Infrastructure Security Specialist. I current maintain a homelab with about 3TB of RAM, 240+ TB of storage, tons of CPU cores, and 100gbit networking backbone in the garage running up my electricity bill.


Leave a Reply

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