[linux-lvm] [lvmlockd] "Duplicate sanlock global locks" warned but not found in "lvmlockctl -i"

David Teigland teigland at redhat.com
Wed Jun 27 15:26:08 UTC 2018


On Wed, Jun 27, 2018 at 11:15:03PM +0800, Damon Wang wrote:
> I’m wonder why I see only one global lock in lvmlockctl -i, should I got
> multiple gl lock in lvmlock -i when it warn “duplicate gl lock”?

lvmlockctl is showing you the one global lock that lvmlockd is using, and
the vgs command is showing you all the global locks that it sees on disk.
Just disable the global lock that is not being used (the one not in
lvmlockctl) with lvmlockctl --gl-disable and the warning should disappear.

Dave




More information about the linux-lvm mailing list