archive mirror
 help / color / mirror / Atom feed
From: David Teigland <>
To: Damon Wang <>
Subject: Re: [linux-lvm] [lvmlockd] "Duplicate sanlock global locks" warned but not found in "lvmlockctl -i"
Date: Wed, 27 Jun 2018 10:26:08 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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.


  reply	other threads:[~2018-06-27 15:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27 14:03 [linux-lvm] [lvmlockd] "Duplicate sanlock global locks" warned but not found in "lvmlockctl -i" Damon Wang
2018-06-27 14:23 ` David Teigland
2018-06-27 15:15   ` Damon Wang
2018-06-27 15:26     ` David Teigland [this message]
2018-06-27 16:35       ` Damon Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).