Re: LVM fast mode

David Teigland <[email protected]>
Newsgroups gmane.linux.lvm.general
Message-ID <[email protected]>
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
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.