`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.conf
file? - Created new partition on
/dev/sda
device. That worked well. While runningpvcreate
on this partition,pvcreate
failed 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, tools, and much more.