lvdisplay ignoring filter in /etc/lvm.conf?
On futher-further testing..it appears that a "vgscan -vvvvvvvvvvvvvv" does not update the lvm cache like it used too before RHEL 5.5.
vgdisplay apparently uses the device list in the /etc/lvm/cache/.cache file.
If you make a change to your filter line in the lvm.conf, it won't take affect until you manually "rm /etc/lvm/cache/.cache", then run vgscan, and then the "Found duplicate PV" messages will be gone.
Quoted 2 lines · Don Hoover
On futher-further testing..it appears that a "vgscan -vvvvvvvvvvvvvv" does not update the lvm cache like it used too before RHEL 5.5.
btw -vvvv is enough ;-)
anyway, seems there is some bug, please can you report it to bugzilla.redhat.com (or through support channel)? I'll try to investigate it there.
Thanks,
Milan
Quoted 3 lines · Milan Broz
Quoted 2 lines · Don Hoover
On futher-further testing..it appears that a "vgscan -vvvvvvvvvvvvvv" does not update the lvm cache like it used too before RHEL 5.5.
It is only cluster lvm problem,
I filled that problem here https://bugzilla.redhat.com/show_bug.cgi?id=591861
Add to cc if interested.
Workaround for now is to manually remove that .cache file after filter change.
Thanks for reporting this,
Milan