[linux-lvm] LVM fast mode

Demi Marie Obenour demi at invisiblethingslab.com
Mon Mar 7 14:55:08 UTC 2022

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.
“Less-safe” means that this is intended for use by programs that
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.  Commands that enumerate devices will, in fast mode, only
return LVs on the provided list of PVs.  Attempts to modify an LV on a
different PV would fail as of the LV did not exist.
Demi Marie Obenour (she/her/hers)
Invisible Things Lab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xB288B55FFF9C22C1.asc
Type: application/pgp-keys
Size: 4885 bytes
Desc: OpenPGP public key
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20220307/cc97c27b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20220307/cc97c27b/attachment.sig>

More information about the linux-lvm mailing list