From: David Teigland <teigland@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH LVM2 v1 1/2] blkdeactive: Introduce option "forcevg" to forcibly deactivate VG
Date: Thu, 25 Feb 2021 10:47:53 -0600 [thread overview]
Message-ID: <20210225164753.GB9864@redhat.com> (raw)
In-Reply-To: <602d5fc8-f2ff-23cd-676d-b14db3186786@redhat.com>
On Thu, Feb 25, 2021 at 01:54:35PM +0100, Zdenek Kabelac wrote:
> lvm supports options --nolocking --noudevsync
> so there should be a mechanism to bypass many problem when necessary -
>
> it's just we shouldn't use the biggest hammer as the first thing in the row.
>
> the option --force should be able to 'gradualy' raise 'actions'.
>
> Depending on what kind of trouble is user expecting.
>
> But under-cutting device with error target should be definitely the last.
I think we need a solution like you're talking about, specifically a way
to deactivate a VG without metadata, based only on info from dm devices.
It's needed for a couple of other cases I know of also.
If we had a command like that, we could also add an option for it to go
directly to wipe_table. (In this specific sanlock scenario we know that
the devices are not responsive, so we know that intermediate steps would
just get stuck.)
Until we have that command, blkdeactivate seems to be a workable option,
and it's simple to change it later with a config setting.
prev parent reply other threads:[~2021-02-25 16:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-25 11:04 [PATCH LVM2 v1 1/2] blkdeactive: Introduce option "forcevg" to forcibly deactivate VG Leo Yan
2021-02-25 11:04 ` [PATCH LVM2 v1 2/2] lvmlockctl: Automatically handle failure Leo Yan
2021-03-02 0:40 ` David Teigland
2021-03-02 17:52 ` David Teigland
2021-03-03 3:48 ` Leo Yan
2021-02-25 12:01 ` [PATCH LVM2 v1 1/2] blkdeactive: Introduce option "forcevg" to forcibly deactivate VG Zdenek Kabelac
2021-02-25 12:39 ` Leo Yan
2021-02-25 12:54 ` Zdenek Kabelac
2021-02-25 16:47 ` 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=20210225164753.GB9864@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.