Re: [linux-lvm] lvmlockd: how to convert lock_type from sanlock to dlm?

2017-11-20 Thread Eric Ren
David, First you'll need this recent fix: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f611b68f3c02b9af2521d7ea61061af3709fe87c --force was broken at some point, and the option is now --lockopt force. Thanks! To change between lock types, you are supposed to be able to change to a

Re: [linux-lvm] lvmlockd: how to convert lock_type from sanlock to dlm?

2017-11-20 Thread David Teigland
On Mon, Nov 20, 2017 at 06:35:20PM +0800, Eric Ren wrote: > On my testing cluster,  the lvmlockd was firstly used with sanlock and > everything was OK. After some play, I want to change the "sanlock" > lock_type of a VG into "dlm" locktype. > # vgchange --lock-type none --force vg1   // the c

[linux-lvm] lvmlockd: how to convert lock_type from sanlock to dlm?

2017-11-20 Thread Eric Ren
Hello David, On my testing cluster,  the lvmlockd was firstly used with sanlock and everything was OK. After some play, I want to change the "sanlock" lock_type of a VG into "dlm" locktype. With dlm_controld running, I tried as following, but still failed. 1.  Performed as the "Changing dlm