From: David Teigland <teigland@redhat.com>
To: lvm-devel@redhat.com
Subject: [Patch review 0/1] introduce lvm forcevg option to forcibly deactivate the whole vg
Date: Thu, 14 Sep 2017 13:39:14 -0500 [thread overview]
Message-ID: <20170914183914.GB31269@redhat.com> (raw)
In-Reply-To: <f74eba33-de77-2b26-31d1-5c103f4ec261@redhat.com>
On Thu, Sep 14, 2017 at 01:24:54PM +0200, Zdenek Kabelac wrote:
> Dne 14.9.2017 v 09:37 Zhang Huan napsal(a):
> > Hi all,
> >
> > commit 92ded9af9809dd0f4233bacaafab3e7942a6afff
> > Author: Huan Zhang <zhanghuan@chinac.com>
> > Date: Thu Sep 14 15:25:05 2017 +0800
> >
> > introduce lvm forcevg option to forcibly deactivate the whole vg
>
> Hi
>
> Coincidentally - I've just opened this BZ today:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1491609
>
> Mostly likely this BZ can be extended to also support forcible table
> remove for 'vg/lvchange' command.
Using an lvm command is a problem for us here because it will read devices
and may likely get stuck, blocking the script which only has about 40
seconds to finish in our case. And this is run precisely because i/o to a
device is not working.
> The solution presented in this patch can interfere with lvm2 commands so I'd
> be worrying about data correctness.
Our particular use of this is as a helper script that sanlock runs when
the device holding the leases goes away, and the machine will be
imminently reset by the watchdog if we can't disable the LVs. Given those
unique circumstances, we don't care about other lvm commands. Is this
case is so specialized that it should be put in a separate script rather
than in blkdeactivate?
This is also described in the section "sanlock lease storage failure" in
http://man7.org/linux/man-pages/man8/lvmlockd.8.html
next prev parent reply other threads:[~2017-09-14 18:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-14 7:37 [Patch review 0/1] introduce lvm forcevg option to forcibly deactivate the whole vg Zhang Huan
2017-09-14 11:24 ` Zdenek Kabelac
2017-09-14 18:39 ` David Teigland [this message]
2017-09-14 19:22 ` Zdenek Kabelac
2017-09-14 19:34 ` David Teigland
2017-09-14 20:53 ` David Teigland
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=20170914183914.GB31269@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.