[dm-devel] multipathd removing DM devices that don't belong to it

Benjamin Marzinski bmarzins at redhat.com
Mon Jun 22 16:04:38 UTC 2015


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 at flashgrid.io | +1-503-568-5249
> 
>     
> 
> References
> 
>    Visible links
>    1. mailto:artem at flashgrid.io

> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel




More information about the dm-devel mailing list