Re: 'multipath add path' returns ok but the path is missing in the topology

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2020-04-22 at 16:00 +0200, Gioh Kim wrote:
> 
> One question.
> Is it possible for multipathd to generate an event for removing a
> map?
> I am looking into the source code, ev_add_path and some functions
> related to add a path,
> but it looks like it does not generate any event.

I guess you mean an uevent. These events are created by the kernel when
multipath creates or reloads maps. multipathd normally doesn't trigger
the events directly.  But there are some cases where multipathd
basically runs the equivalent of "udevadm trigger -c change" on either
maps or paths. Search the code for "trigger" for details.

There are also device mapper events which are created by the kernel for
certain state changes of dm devices. Again, multipathd only receives
such events.

Regards
Martin




--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux