[linux-lvm] filter problem

Wim Bakker wim at unetix.nl
Wed Aug 28 09:02:41 UTC 2002


Hello,

I am evaluating lvm2
I use the following :
LVM2.1.95.10  device-mapper.0.96.04 , kernel 2.4.19
after installing everything I copied the example.conf
to /etc/lvm/lvm.conf
Everything works fine except one thing, the filtering on
devices to scan
the corresponding entry in my lvm.conf is:
filter = ["a/sda/", "r/.*/"]
this is so only the sda devices get scanned as explained in
the man page. But it doesn't work , when I do a  "lvm vgscan"
it scans all devices in the /dev directory, not very nice of
lvm to not listen to its filter directives. It is a clean system,
no previous lvm was installed,  I created one vg , called data
with one pv , /dev/sda3 , size 8.68 Gb. I then created a lv , lvol0
size 1700 PE's, and the rest of the PE's (520) I keep to make a snapshot. The
lvm partition will be used to store the database of an accountant
package, and the remaining PE's wil be used to make snapshots
of the database. Works all perfectly when tested, except for the scan filter.
Any hints as what might be the problem?
TIA
Wim Bakker





More information about the linux-lvm mailing list