Incorrect filter handling from lvs --config shows duplicate of PV on unknown device
Issue
-
The
lvs --configcommand doesn't appear to use the filter option correctly when manually checking. A "Duplicate of PV warning" is given. Manually checking may yield messages like:% lvs --config 'devices{ filter = [ "a|/dev/mapper/.*|", "r|.*|" ] }' Duplicate of PV HxvCPB-EF7L-Fdm4-7oyU-fcof-qtSh-gnV6kA dev /dev/mapper/3600507680180867b8800000000000005 exists on unknown device 8:192 Duplicate of PV HxvCPB-EF7L-Fdm4-7oyU-fcof-qtSh-gnV6kA dev /dev/mapper/3600507680180867b8800000000000005 exists on unknown device 8:128
Environment
- Red Hat Enterprise Linux 7.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.