All of lore.kernel.org
 help / color / mirror / Atom feed
From: Don Hoover <dxh@yahoo.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lvdisplay ignoring filter in /etc/lvm.conf?
Date: Wed, 12 May 2010 08:10:47 -0700 (PDT)	[thread overview]
Message-ID: <129178.23877.qm@web65504.mail.ac4.yahoo.com> (raw)

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

             reply	other threads:[~2010-05-12 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12 15:10 Don Hoover [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=129178.23877.qm@web65504.mail.ac4.yahoo.com \
    --to=dxh@yahoo.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.