From: "Benjamin Marzinski" <bmarzins@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: multipathd removing DM devices that don't belong to it
Date: Mon, 22 Jun 2015 11:04:38 -0500 [thread overview]
Message-ID: <20150622160438.GL1409@octiron.msp.redhat.com> (raw)
In-Reply-To: <DM2PR11MB0335E7DB799EB58FD218AC62D5A70@DM2PR11MB0335.namprd11.prod.outlook.com>
On Tue, Jun 16, 2015 at 10:02:23PM +0000, Artem Danielov wrote:
> Hello,
>
> Looking for an advice on whether this is an expected behavior or a bug.
>
> device-mapper-multipath-0.4.9-77.el7.x86_64
>
>
>
> When multipathd service starts it will remove any DM devices with
> multipath target, even if the underlying devices are blacklisted.
>
> We are trying to use dmsetup directly to implement custom multipath
> management logic separate from multipathd. But unfortunately if multipathd
> is present and enabled it removes DM devices with multipath target that we
> create.
>
>
>
> Is this a bug?
I don't know if I'd call it a bug. It is certainly how multipath is
designed to work. The issue is this. When you start multipathd up do a
reconfigure. It doesn't know if the configuration has changed. So, if
there are devices configured and it doesn't think they should be, it
assumes that you've changed your configuration, and you'd like it to use
your current configuration, which means removing devices that no longer
are allowed.
I don't see any way of making this work, without adding a section to the
multipath.conf file to ignore devices with certain wwids entirely (which
is different from blacklisting them).
-Ben
>
>
>
> Thanks for your help!
>
>
>
> Artem Danielov | Chief Technology Officer | FlashGrid Inc. |
> [1]artem@flashgrid.io | +1-503-568-5249
>
>
>
> References
>
> Visible links
> 1. mailto:artem@flashgrid.io
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
next prev parent reply other threads:[~2015-06-22 16:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-16 22:02 multipathd removing DM devices that don't belong to it Artem Danielov
2015-06-22 16:04 ` Benjamin Marzinski [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-24 17:53 Artem Danielov
2015-07-27 9:12 ` Hannes Reinecke
2015-08-20 19:17 Artem Danielov
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=20150622160438.GL1409@octiron.msp.redhat.com \
--to=bmarzins@redhat.com \
--cc=dm-devel@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.