* Re: [linux-lvm] lvdisplay ignoring filter in /etc/lvm.conf?
@ 2010-05-12 15:56 Don Hoover
2010-05-12 19:22 ` Milan Broz
0 siblings, 1 reply; 4+ messages in thread
From: Don Hoover @ 2010-05-12 15:56 UTC (permalink / raw)
To: linux-lvm
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-lvm] lvdisplay ignoring filter in /etc/lvm.conf?
@ 2010-05-12 15:10 Don Hoover
0 siblings, 0 replies; 4+ messages in thread
From: Don Hoover @ 2010-05-12 15:10 UTC (permalink / raw)
To: linux-lvm
I am seeing some odd behavior on Redhat 5.5 LVM.
I just noticed that lvdisplay seems to ignore the filter configuration in /etc/lvm.conf.
We are getting "Found duplicate PV" errors on the /dev/sd? devices on our systems that are using clvm even though we filter those out in the lvm.conf to use the /dev/mapper/mpath* devices.
We are running in a cluster, does clvm cause lvdisplay ignore this filter? Is there a way to stop these "duplicate pv" errors from lvdisplay that is different on RHEL 55 than what worked before(filter line)?
It seems that its just lvdisplay in redhat 5.5 that is ignoring them.
For "lvscan -vvvvvvvvvvvvvvvvv"
I see this in the debug output:
#filters/filter-regex.c:172 /dev/sdgy: Skipping (regex)
For "lvdisplay -vvvvvvvvvvvvvvvvv"
I see this in the debug output:
#cache/lvmcache.c:1224 Ignoring duplicate PV Gw7zqCRUj0mjfGltw3AaHhMfznSjmMTc on /dev/sdgy - using dm /dev/mapper/mpath91
And no filter/skipping lines at all for any /dev/sd* devices...it scans them anyway for some reason.
I wonder if this is a bug that has been introdced in the latest lvm packages...I am seeing this on a RHEL55 box running:
lvm2-2.02.56-8.el5.x86_64
lvm2-cluster-2.02.56-7.el5.x86_64
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-13 11:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 15:56 [linux-lvm] lvdisplay ignoring filter in /etc/lvm.conf? Don Hoover
2010-05-12 19:22 ` Milan Broz
2010-05-13 11:39 ` Milan Broz
-- strict thread matches above, loose matches on Subject: below --
2010-05-12 15:10 Don Hoover
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).