From: David Teigland <teigland@redhat.com>
To: lvm-devel@redhat.com
Subject: lvmlockd: "lvm_global" lockspace cannot be closed normally
Date: Fri, 29 Sep 2017 08:42:44 -0500 [thread overview]
Message-ID: <20170929134244.GA12617@redhat.com> (raw)
In-Reply-To: <31b56a90-9c21-6b7c-881b-1fa04741885d@suse.com>
On Fri, Sep 29, 2017 at 08:57:57PM +0800, Eric Ren wrote:
> Hi David,
>
> I encountered this problem pretty often when I play with lvmlockd.
> "lvm_global" will stay on the system. It can be closed if using `dlm_tool
> leave lvm_global`.
> But, the dlm_tool command will hang there.
Currently the best way to handle this is to run 'lvmlockctl -S' which
stops all dlm lockspaces that lvm isn't using. It's effectively the same
as 'vgchange --lockstop', but won't miss the global lockspace.
IIRC the vgchange issue is that stopping the global lockspace is an effect
of stopping the last VG lockspace, but sometimes vgchange finds no VGs to
stop. I'll have another look at making vgchange --lockstop do it right.
Dave
prev parent reply other threads:[~2017-09-29 13:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-29 12:57 lvmlockd: "lvm_global" lockspace cannot be closed normally Eric Ren
2017-09-29 13:42 ` David Teigland [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170929134244.GA12617@redhat.com \
--to=teigland@redhat.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.