From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 27 Jun 2018 10:26:08 -0500 From: David Teigland Message-ID: <20180627152608.GC5690@redhat.com> References: <20180627142357.GB5690@redhat.com> <39BDFE7B-6CB1-475C-877B-CA0A4ED59577@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <39BDFE7B-6CB1-475C-877B-CA0A4ED59577@gmail.com> Subject: Re: [linux-lvm] [lvmlockd] "Duplicate sanlock global locks" warned but not found in "lvmlockctl -i" Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="utf-8" To: Damon Wang Cc: linux-lvm@redhat.com 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