Getting following error message after configuring lvm filter in CentOS/RHEL7.
WARNING: Device for PV  not found or rejected by a filter.
Lvm filter configured as below. These filter settings gets change on reboot.
filter = [ "a|/dev/emcpower.*|", "r|.*|" ]
Can’t scan lvm metadata from powerpath devices if lvm filter configured to accept all devices. LVM not accepting or scanning emcpower or third party multipath device names.
When the lvmetad daemon is running, the filter = setting in the /etc/lvm/lvm.conf file does not apply. To filter devices, you need to use the global_filter = setting.
After setting the global_filter setting in lvm.conf as shown below, the issue is resolved.
# vi /etc/lvm/lvm.conf global_filter = [ "a|/dev/emcpower.*|", "r|.*|" ]