Hello,

I'm trying to change the lock type of a shared VG from «dlm» to «sanlock».

>From the manpage I understand that I should first change it to «none» and
then change it to «sanlock».

So I changed the lock type to «none» without problem.

I then started lvmlockd + sanlock and tried to change the lock type to
«sanlock» but it failed :

# vgchange --lock-type sanlock data
  Global lock failed: check that global lockspace is started

What could I have missed ?

Here is the log buffer from lvmlockd :

1635939300 lvmlockd started
1635939316 new cl 1 pi 2 fd 8
1635939316 recv vgchange[2576] cl 1 lock gl "" mode ex flags 0
1635939316 read_cluster_name: open error -1, check dlm_controld
1635939316 lockspace "" not found for sanlock gl, searching...
1635939316 work search for gl
1635939316 worker found no gl_is_enabled
1635939316 lockspace "" not found after search
1635939316 read_cluster_name: open error -1, check dlm_controld
1635939316 send vgchange[2576] cl 1 lock gl rv -210 ENOLS
NO_LOCKSPACES,NO_GL_LS
1635939316 close vgchange[2576] cl 1 fd 8
1635939320 new cl 2 pi 2 fd 8
1635939320 recv client[2577] cl 2 dump_log . "" mode iv flags 0

Thank you.

Regards,

-- 
Charles
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to