All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: dm-devel@redhat.com
Subject: Re: multipathd removing DM devices that don't belong to it
Date: Mon, 27 Jul 2015 11:12:34 +0200	[thread overview]
Message-ID: <55B5F602.1020206@suse.de> (raw)
In-Reply-To: <DM2PR11MB0335ECB1EAC777CF47163BEED5810@DM2PR11MB0335.namprd11.prod.outlook.com>

On 07/24/2015 07:53 PM, Artem Danielov wrote:
> Hi,
> 
> Any chance you guys have looked into this problem? Thank you!
> 
>  
> 
> *From:* Artem Danielov
> *Sent:* Tuesday, June 16, 2015 15:02
> *To:* 'dm-devel@redhat.com'
> *Subject:* multipathd removing DM devices that don't belong to it
> 
>  
> 
> 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.
> 
Well, hardly surprising.
ATM multipathd expects to be the only one creating multipath tables,
so of course it would try to 'rectify' the situation.

What one could try is to use a different UUID prefix (ie something
else than 'mpath') and then teach multipath to ignore all
device-mapper devices of type 'multipath' but without the 'mpath'
UUID prefix.

>  
> 
> Is this a bug?
> 
Not as such.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		               zSeries & Storage
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)

  reply	other threads:[~2015-07-27  9:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-24 17:53 multipathd removing DM devices that don't belong to it Artem Danielov
2015-07-27  9:12 ` Hannes Reinecke [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-20 19:17 Artem Danielov
2015-06-16 22:02 Artem Danielov
2015-06-22 16:04 ` Benjamin Marzinski

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=55B5F602.1020206@suse.de \
    --to=hare@suse.de \
    --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.