[linux-lvm] LVM fast mode
teigland at redhat.com
Mon Mar 7 16:23:53 UTC 2022
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
lvm won't be doing any cluster-related activity unless you have enabled
lvmlockd and have created a shared vg.
More information about the linux-lvm