Skip to contentSkip to conversation

Virtual machine disk locking issue

DISCUSSION Expert Alert 1 participant 1 message Nov 27, 2013 KVM

lore
Share & tools
lore
#0 lore raw

Hi ,
I am trying to configure virtual machine disk locking, i have followed :
http://libvirt.org/locking.html

However i am not seeing this:

__LIBVIRT__DISK__
under /var/lib/libvirt/sanlock

and guessing for this reason, when i am trying
to start to vm, i am getting bellow issues

2013-11-27 12:46:32.846+0000: 26072: error : virCommandHandshakeWait:2413
 : internal error unsupported configuration: Read/write, exclusive access,
 disks were present, but no leases specified

[root@kvm1 sanlock]#
egrep -v ^# /etc/libvirt/qemu-sanlock.conf

host_id = 1
auto_disk_leases=0
require_lease_for_disks=0

Dont understand where I am doing wrong.
Can any one please help me.

Kind Regards