linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Changing shared VG lock type
@ 2021-11-03 11:40 Charles Koprowski
  2021-11-04 15:25 ` David Teigland
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Koprowski @ 2021-11-03 11:40 UTC (permalink / raw)
  To: linux-lvm


[-- Attachment #1.1: Type: text/plain, Size: 1242 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1666 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-05 13:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 11:40 [linux-lvm] Changing shared VG lock type Charles Koprowski
2021-11-04 15:25 ` David Teigland
2021-11-05 11:37   ` Charles Koprowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).