LVM filter is not being honored.

Solution Verified - Updated -

Issue

  • The LVM filter has been set to only accept specific devices still all the devices are getting scanned.
filter = [ "a|/dev/sda2$|", "a|/dev/mapper/mpath.*|", "r|.*|" ] 

Following messages were seen inspite of the above mentioned filter.

Duplicate of PV uSg9ta-crQD-IzYN-1233-l7lV-MP1F-X6vuDL dev /dev/mapper/mpatha exists on unknown device 8:48 
Duplicate of PV uSg9ta-crQD-IzYN-1233-l7lV-MP1F-X6vuDL dev /dev/mapper/mpatha exists on unknown device 8:16 
Duplicate of PV nd24t5-5ovb-zGcE-abcd-Ea7f-EFXo-anrERi dev /dev/mapper/mpathb exists on unknown device 8:64 
Duplicate of PV nd24t5-5ovb-zGcE-abcd-Ea7f-EFXo-anrERi dev /dev/mapper/mpathb exists on unknown device 8:32

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
    • LVM (Logical Volume Manager)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content