[dm-devel] [PATCH 3/5] multipath: print warning if multipathd is not running.

Martin Wilck martin.wilck at suse.com
Thu Aug 12 10:23:09 UTC 2021


On Do, 2021-07-29 at 16:46 -0500, Benjamin Marzinski wrote:
> If multipath notices that multipath devices exist or were created,
> and
> multipathd is not running, it now prints a warning message, so users
> are
> notified of the issue.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>

I'm not sure about this. Are there zero valid use cases for using
multipath without multipathd? On production systems, I agree,
multipathd should always be running. Personally wouldn't want to see
this warning every time I run "multipath" while multipathd is
(temporarily) disabled. Have you got user requests for this feature?

In particular, I dislike the idea of putting this code into
libmultipath. I would love to get rid of the "is_daemon" logic some
day. If at all, the detection of the situation and the warning should
be implemented in multipath, IMO.

The message should be prefixed with the word "Warning: " to make sure
the admin understands that he's supposed to take action.

Regards,
Martin





More information about the dm-devel mailing list