All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@redhat.com>
To: Demi Marie Obenour <demi@invisiblethingslab.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM fast mode
Date: Mon, 7 Mar 2022 10:23:53 -0600	[thread overview]
Message-ID: <20220307162353.GA15974@redhat.com> (raw)
In-Reply-To: <fec7624b-29de-0a04-0856-fa17800f3c30@invisiblethingslab.com>

On Mon, Mar 07, 2022 at 09:55:08AM -0500, Demi Marie Obenour wrote:
> Would it be possible to have a fast, but less-safe mode for lvm2?
> Right now lvm2 always enumerates every single block device on
> the system, which is hugely wasteful when one knows exactly which
> block devices are the PVs that will be affected by the operation.

You can do this by listing the PVs you know are needed with the --devices
option (or using a filter on older versions.)

> know what they are doing, and that know that e.g. clustering is not
> in use.  Using this in conjunction with clustering is a bug in the
> application.  

lvm won't be doing any cluster-related activity unless you have enabled
lvmlockd and have created a shared vg.

Dave
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


      reply	other threads:[~2022-03-07 16:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 14:55 [linux-lvm] LVM fast mode Demi Marie Obenour
2022-03-07 16:23 ` 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=20220307162353.GA15974@redhat.com \
    --to=teigland@redhat.com \
    --cc=demi@invisiblethingslab.com \
    --cc=linux-lvm@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.