All of lore.kernel.org
 help / color / mirror / Atom feed
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 15:53:27 -0500	[thread overview]
Message-ID: <20170914205327.GA8365@redhat.com> (raw)
In-Reply-To: <64076DFF-B489-4F67-A0EB-F0F41DFBD314@huayun.com>

Hi Zhang,

I discussed this with Alasdair who had the good idea that we could do this
with just a couple of dmsetup commands, e.g.

dmsetup info -c -S "uuid=~LVM && vgname=$VG && lv_layer=\"\"" -o name --noheadings | xargs dmsetup wipe_table

If this works, I think it would be a nicer solution than going through the
blkdeactivate script.

Dave



      parent reply	other threads:[~2017-09-14 20:53 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
2017-09-14 19:22     ` Zdenek Kabelac
2017-09-14 19:34       ` David Teigland
2017-09-14 20:53 ` 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=20170914205327.GA8365@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.