`pvcreate /dev/sdX` fails with `Device /dev/sdX not found (or ignored by filtering).`
Issue
- How to create a PV on the devices that are blacklisted from lvm filter in
/etc/lvm/lvm.conffile. - Created new partition on
/dev/sdadevice. That worked well. While runningpvcreateon this partition,pvcreatefailed with
pvcreate /dev/sda2
Device /dev/sda2 not found (or ignored by filtering).
Further it was observed that LVM filter is configured such that /dev/sda device should not be recognized.
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.
