From 707dc32c54b1fd3a79139d62bbf5c58681ae17be Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Wed, 5 Jan 2022 08:09:10 +0100 Subject: [PATCH] main: better warning at cluster UUID mismatch --- kernel/sy_old/mars_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/sy_old/mars_main.c b/kernel/sy_old/mars_main.c index 991dc860..4b876ad2 100644 --- a/kernel/sy_old/mars_main.c +++ b/kernel/sy_old/mars_main.c @@ -7900,7 +7900,10 @@ static int __init init_main(void) status = mars_stat("/mars/uuid", &dummy, true); if (unlikely(status < 0)) { - printk(KERN_WARNING "Cluster UUID is missing. Mount /mars/, and/or say {create,join}-cluster afterwwards.\n"); + printk(KERN_WARNING "Cluster UUID is missing on /mars/uuid.\n"); + printk(KERN_WARNING "Maybe /mars is invalid, if it already should be initialized.\n"); + printk(KERN_WARNING "You can initialize it via marsadm {create,join}-cluster.\n"); + printk(KERN_WARNING "Please read mars-user-manual.pdf first.\n"); } /* This must come first to be effective */