[dm-devel] [PATCH 1/2] multipathd: fix irritating "minor number mismatch" message

Martin Wilck mwilck at suse.com
Tue Nov 13 21:30:51 UTC 2018


This is really an alias mismatch, not a minor number mismatch.

Signed-off-by: Martin Wilck <mwilck at suse.com>
---
 multipathd/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/multipathd/main.c b/multipathd/main.c
index 6289718d..0dddddb3 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -778,8 +778,8 @@ uev_remove_map (struct uevent * uev, struct vectors * vecs)
 		goto out;
 	}
 	if (strcmp(mpp->alias, alias)) {
-		condlog(2, "%s: minor number mismatch (map %d, event %d)",
-			mpp->alias, mpp->dmi->minor, minor);
+		condlog(2, "%s: map alias mismatch: have \"%s\", got \"%s\")",
+			uev->kernel, mpp->alias, alias);
 		goto out;
 	}
 
-- 
2.19.1




More information about the dm-devel mailing list