archive mirror
 help / color / mirror / Atom feed
From: Wyllys Ingersoll <>
Subject: [linux-lvm] Device XXX excluded by a filter - why??
Date: Wed, 23 May 2018 11:53:34 -0400	[thread overview]
Message-ID: <> (raw)

Using the following lvm2 version on Ubuntu 16.04.3 running kernel 4.16.03
  LVM version:     2.02.176(2) (2017-11-03)
  Library version: 1.02.145 (2017-11-03)
  Driver version:  4.37.0

ceph-volume attempts to create a VG on a raw block device to use as a
bluestore OSD.  The command it uses looks like this:

vgcreate --force --yes ceph-a637b0e7-e54f-4fe9-8afc-a74671d94f6e /dev/sdi

The disk (/dev/sdi) in this case is a blank (no partition table) GPT
label 3.7T drive.

vgcreate complains and fails:
     stderr: Device /dev/sdi excluded by a filter.

I cannot figure out what "filter" is causing this.  The global_filter
in lvm.conf is wide open:
filter = [ "a|.*/|" ]

Turning up debug logging does not show any additional reasons.
Repeatedly running pvscan or vgscan to update the cache does not fix
it either.

What could be blocking this device from being used?

   Wyllys Ingersoll
   Keeper Technology, LLC

             reply	other threads:[~2018-05-23 15:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-23 15:53 Wyllys Ingersoll [this message]
2018-05-30 10:49 ` [linux-lvm] Device XXX excluded by a filter - why?? Marian Csontos
2018-05-31  2:17   ` Damon Wang

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:

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

  git send-email \
    --in-reply-to='' \ \ \

* 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).