LVM commands return "Failed to create regex device filter" error.

Solution Unverified - Updated -

Issue

  • LVM commands return "Failed to create regex device filter" error.
lvscan
   Invalid filter pattern "a/dev/mTST.*|".
   Failed to create regex device filter

pvscan
   Invalid filter pattern "a/dev/mTST.*|".
   Failed to create regex device filter

The *lvm* filter in */etc/lvm/lvm.conf* file is 

filter = [ "a/dev/mTST.*|" "a|/dev/sd5.*|", "a|/dev/xs.*|", 
"a|/dev/md.*|", "a|/dev/ld.*|", "r|.*|" ]

Environment

  • Red Hat Enterprise Linux
  • LVM

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