linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	Michael Fladischer <michael@fladi.at>
Subject: Re: [linux-lvm] Cannot create PV on /dev/dm-NN (/dev/dm-N works)
Date: Wed, 28 Mar 2018 10:27:50 +0200	[thread overview]
Message-ID: <5bf42865-57aa-9bbf-9d0b-2e2e34d74a8c@redhat.com> (raw)
In-Reply-To: <5efc943a1039bda80e77469afbfffd3d323c9a8f.camel@fladi.at>

Dne 27.3.2018 v 12:38 Michael Fladischer napsal(a):
> Hi,
> 
> I'm unable to create PVs on Multipath-Volumes that are available at
> /dev/dm-NN where N~[0-9] but I can create them on single digit devices
> like /dev/dm-9:
> 
> # pvcreate /dev/dm-6
>    Physical volume "/dev/dm-6" successfully created.
> 
> # pvcreate /dev/dm-16
>    Device /dev/dm-16 not found (or ignored by filtering).
> 
> My Version of LVM is 2.02.168 from Debian 9.
> The filter ist set to a permissive value:
>    filter = [ "a|.*|" ]
>    global_filter = [ "a|.*|" ]
> 
> Any ideas why two or more digits in the device path can cause it to be
> filtered by pvcreate?
> 



Hi


lvm2 is detecting  multipath 'component' devices - those are not allowed to be 
used for pvcreate.

You can use  'pvcreate -vvv' to get more information - there will be printed 
the reason why devices are rejected....

Eventually if you can't figure this out yourself - provide this trace in 
attachment.


Regards

Zdenek

  reply	other threads:[~2018-03-28  8:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-27 10:38 [linux-lvm] Cannot create PV on /dev/dm-NN (/dev/dm-N works) Michael Fladischer
2018-03-28  8:27 ` Zdenek Kabelac [this message]
2018-03-28  8:59   ` Michael Fladischer
2018-03-28 10:08   ` Roger Heflin

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=5bf42865-57aa-9bbf-9d0b-2e2e34d74a8c@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=michael@fladi.at \
    /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).