On Tue 08 Jun 2021 14:48, Martin Wilck wrote: > On Di, 2021-06-08 at 15:56 +0200, Peter Rajnoha wrote: > > > > The issue is that we're relying now on udev db records that contain > > info about mpath and MD components - without this, the detection (and > > hence filtering) could fail in certain cases. So if go without > > checking > > udev db, that'll be a step back. As an alternative, we'd need to call > > out mpath and MD directly from LVM2 if we really wanted to avoid > > checking udev db (but then, we're checking the same thing that is > > already checked by udev means). > > Recent multipath-tools ships the "libmpathvalid" library that > could be used for this purpose, to make the logic comply with what > multipathd itself uses. It could be used as an alternative to libudev > for this part of the equation. Ah, yes, sure! Still, we have the MD in play... Out of curiosity - if you disable mpath and MD component detection in lvm.conf, can you still hit the issue? (Of course, if you're not using any of the two in your stack.) Peter _______________________________________________ linux-lvm mailing list linux-lvm@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/