linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Gordon Messmer <gordon.messmer@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] unable to exclude LVs using global_filter
Date: Mon, 1 Jan 2018 22:47:16 -0800	[thread overview]
Message-ID: <12562310-b26a-8a83-9481-d8b54fda40d5@gmail.com> (raw)

I'd like to avoid scanning LVs, and I thought I'd set global_filter 
appropriately.  The following logs show global_filter set to reject 
^/dev/VolGroup/vm_, but the system is scanning 
/dev/VolGroup/vm_wiki_data.  Any hints as to what I'm doing wrong?



Dec 06 13:08:37 kvm-test.private lvm[532]: Setting devices/global_filter 
to global_filter = [ "r|^/dev/VolGroup/vm_|", "r|^/dev/dm-|", "a|.*/|" ]
Dec 06 13:08:37 kvm-test.private lvm[534]: Setting devices/global_filter 
to global_filter = [ "r|^/dev/VolGroup/vm_|", "r|^/dev/dm-|", "a|.*/|" ]
Dec 06 13:08:38 kvm-test.private lvm[543]: Setting devices/global_filter 
to global_filter = [ "r|^/dev/VolGroup/vm_|", "r|^/dev/dm-|", "a|.*/|" ]
Dec 06 13:08:40 kvm-test.private lvm[648]: Setting devices/global_filter 
to global_filter = [ "r|^/dev/VolGroup/vm_|", "r|^/dev/dm-|", "a|.*/|" ]
Dec 06 13:08:40 kvm-test.private lvm[648]: Setting devices/filter to 
filter = [ "r|^/dev/VolGroup/vm_|", "r|^/dev/dm-|", "a|.*/|" ]
Dec 06 13:08:42 kvm-test.private lvm[751]: Setting devices/global_filter 
to global_filter = [ "r|^/dev/VolGroup/vm_|", "r|^/dev/dm-|", "a|.*/|" ]
Dec 06 13:08:42 kvm-test.private lvm[751]: Setting devices/filter to 
filter = [ "r|^/dev/VolGroup/vm_|", "r|^/dev/dm-|", "a|.*/|" ]
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting devices/global_filter 
to global_filter = [ "r|^/dev/VolGroup/vm_|", "r|^/dev/dm-|", "a|.*/|" ]
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting devices/filter to 
filter = [ "r|^/dev/VolGroup/vm_|", "r|^/dev/dm-|", "a|.*/|" ]
Dec 06 13:08:44 kvm-test.private lvm[785]: Opened 
/dev/VolGroup/vm_wiki_data RO O_DIRECT
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
size is 10485760 sectors
Dec 06 13:08:44 kvm-test.private lvm[785]: Closed /dev/VolGroup/vm_wiki_data
Dec 06 13:08:44 kvm-test.private lvm[785]: Opened 
/dev/VolGroup/vm_wiki_data RO O_DIRECT
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
block size is 4096 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
physical block size is 512 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: Closed /dev/VolGroup/vm_wiki_data
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
using cached size 10485760 sectors
Dec 06 13:08:44 kvm-test.private lvm[785]: Opened 
/dev/VolGroup/vm_wiki_data RO O_DIRECT
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
block size is 4096 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
physical block size is 512 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: Closed /dev/VolGroup/vm_wiki_data
Dec 06 13:08:44 kvm-test.private lvm[785]: Scanning dev 253:3 for 
lvmetad cache.
Dec 06 13:08:44 kvm-test.private lvm[785]: Reading label from device 
/dev/VolGroup/vm_wiki_data
Dec 06 13:08:44 kvm-test.private lvm[785]: Opened 
/dev/VolGroup/vm_wiki_data RO O_DIRECT
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
block size is 4096 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
physical block size is 512 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
lvm2 label detected at sector 1
Dec 06 13:08:44 kvm-test.private lvm[785]: lvmcache 
/dev/VolGroup/vm_wiki_data: now in VG #orphans_lvm2 (#orphans_lvm2) with 
0 mda(s).
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
PV header extension version 2 found
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
Found metadata at 8704 size 1086 (in area at 4096 size 1044480) for 
DataGroup (ZY69boAqK0Cz6TYGHdevNQfQ2O1sbJoG)
Dec 06 13:08:44 kvm-test.private lvm[785]: lvmcache has no info for 
vgname "DataGroup" with VGID ZY69boAqK0Cz6TYGHdevNQfQ2O1sbJoG.
Dec 06 13:08:44 kvm-test.private lvm[785]: lvmcache has no info for 
vgname "DataGroup".
Dec 06 13:08:44 kvm-test.private lvm[785]: lvmcache 
/dev/VolGroup/vm_wiki_data: now in VG DataGroup with 1 mda(s).
Dec 06 13:08:44 kvm-test.private lvm[785]: lvmcache 
/dev/VolGroup/vm_wiki_data: VG DataGroup: set VGID to 
ZY69boAqK0Cz6TYGHdevNQfQ2O1sbJoG.
Dec 06 13:08:44 kvm-test.private lvm[785]: lvmcache 
/dev/VolGroup/vm_wiki_data: VG DataGroup: set creation host to 
localhost.localdomain.
Dec 06 13:08:44 kvm-test.private lvm[785]: lvmcache 
/dev/VolGroup/vm_wiki_data: VG DataGroup: stored metadata checksum 
0xf5731900 with size 1086.
Dec 06 13:08:44 kvm-test.private lvm[785]: Closed /dev/VolGroup/vm_wiki_data
Dec 06 13:08:44 kvm-test.private lvm[785]: Opened 
/dev/VolGroup/vm_wiki_data RO O_DIRECT
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
block size is 4096 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
physical block size is 512 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: Allocated VG DataGroup at 
0x560c70fc8bb0.
Dec 06 13:08:44 kvm-test.private lvm[785]: Importing logical volume 
DataGroup/data.
Dec 06 13:08:44 kvm-test.private lvm[785]: Read DataGroup metadata (4) 
from /dev/VolGroup/vm_wiki_data at 8704 size 1086
Dec 06 13:08:44 kvm-test.private lvm[785]: Closed /dev/VolGroup/vm_wiki_data
Dec 06 13:08:44 kvm-test.private lvm[785]: Opened 
/dev/VolGroup/vm_wiki_data RO O_DIRECT
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
block size is 4096 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: /dev/VolGroup/vm_wiki_data: 
physical block size is 512 bytes
Dec 06 13:08:44 kvm-test.private lvm[785]: Closed /dev/VolGroup/vm_wiki_data
Dec 06 13:08:44 kvm-test.private lvm[785]: Telling lvmetad to store PV 
/dev/VolGroup/vm_wiki_data (NRKTXX-I9D8-Vxb1-hKcX-rjJX-GNhB-jgsXiW) in 
VG DataGroup
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting response to OK
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting response to OK
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting response to OK
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting seqno_after to 4
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting seqno_after to 4
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting seqno_before to 4
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting status to complete
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting vgname to DataGroup
Dec 06 13:08:44 kvm-test.private lvm[785]: Setting changed to 1
Dec 06 13:08:44 kvm-test.private lvm[785]: VG DataGroup is complete in 
lvmetad with dev /dev/VolGroup/vm_wiki_data.
Dec 06 13:08:44 kvm-test.private lvm[785]: VG DataGroup is changed in 
lvmetad.
Dec 06 13:08:44 kvm-test.private lvm[785]: Freeing VG DataGroup at 
0x560c70fc8bb0.

             reply	other threads:[~2018-01-02  6:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-02  6:47 Gordon Messmer [this message]
2018-01-02 11:03 ` [linux-lvm] unable to exclude LVs using global_filter Marian Csontos
2018-01-02 15:35   ` Gordon Messmer
2018-01-02 18:17     ` Marian Csontos
2018-01-02 18:43       ` Alasdair G Kergon
2018-01-02 18:47         ` Alasdair G Kergon
2018-01-02 19:16         ` Gordon Messmer
2018-01-03 21:18           ` Gordon Messmer
2018-01-11  4:51             ` Gordon Messmer
2018-01-02 18:58       ` Gordon Messmer

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=12562310-b26a-8a83-9481-d8b54fda40d5@gmail.com \
    --to=gordon.messmer@gmail.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 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).