LVM commands return "Failed to create regex device filter" error.
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
