[libvirt] implementing locking with libvirt on ubuntu

Upendra Moturi upendra.m at hexagrid.com
Fri Dec 2 06:08:02 UTC 2011

I am trying to implement locking i,e two vms are not started with same
disk on ubuntu.

Using libvirt 0.9.7 (Installed it from source)
qemu-kvm 0.14.1
kernel 3.0.0-13-server

Steps followed while installing from source
cd libvirt-0.9.7
make install

I found that sanlock or virtlockd (fcntl) daemons can do that,but not
able implement it.
I dont find virtlockd daemon running.

>From below link

it is said to create lockd directory under /var/lib/libvirt
I dont find this directory after installation from source

Am i missing something ?
Please guide me in implementing locking on ubuntu.

Thanks and Regards,

More information about the libvir-list mailing list