|
|
4728c8 |
---
|
|
|
4728c8 |
libmultipath/config.c | 3 ++-
|
|
|
4728c8 |
multipath/mpathconf.8 | 8 ++++++--
|
|
|
4728c8 |
2 files changed, 8 insertions(+), 3 deletions(-)
|
|
|
4728c8 |
|
|
|
4728c8 |
Index: multipath-tools-130222/libmultipath/config.c
|
|
|
4728c8 |
===================================================================
|
|
|
4728c8 |
--- multipath-tools-130222.orig/libmultipath/config.c
|
|
|
4728c8 |
+++ multipath-tools-130222/libmultipath/config.c
|
|
|
4728c8 |
@@ -739,7 +739,8 @@ load_config (char * file, struct udev *u
|
|
|
4728c8 |
condlog(0, "/etc/multipath.conf does not exist, blacklisting all devices.");
|
|
|
4728c8 |
condlog(0, "A default multipath.conf file is located at");
|
|
|
4728c8 |
condlog(0, "/usr/share/doc/device-mapper-multipath-%d.%d.%d/multipath.conf", MULTIPATH_VERSION(VERSION_CODE));
|
|
|
4728c8 |
- condlog(0, "You can run /sbin/mpathconf to create or modify /etc/multipath.conf");
|
|
|
4728c8 |
+ condlog(0, "You can run /sbin/mpathconf --enable to create");
|
|
|
4728c8 |
+ condlog(0, "/etc/multipath.conf. See man mpathconf(8) for more details");
|
|
|
4728c8 |
if (conf->blist_devnode == NULL) {
|
|
|
4728c8 |
conf->blist_devnode = vector_alloc();
|
|
|
4728c8 |
if (!conf->blist_devnode) {
|
|
|
4728c8 |
Index: multipath-tools-130222/multipath/mpathconf.8
|
|
|
4728c8 |
===================================================================
|
|
|
4728c8 |
--- multipath-tools-130222.orig/multipath/mpathconf.8
|
|
|
4728c8 |
+++ multipath-tools-130222/multipath/mpathconf.8
|
|
|
4728c8 |
@@ -19,7 +19,9 @@ daemon, and configure the
|
|
|
4728c8 |
.B multipathd
|
|
|
4728c8 |
service to start automatically or not. If
|
|
|
4728c8 |
.B mpathconf
|
|
|
4728c8 |
-is called with no commands, it will display the current configuration.
|
|
|
4728c8 |
+is called with no commands, it will display the current configuration, but
|
|
|
4728c8 |
+will not create or modify
|
|
|
4728c8 |
+.B /etc/multipath.conf
|
|
|
4728c8 |
|
|
|
4728c8 |
The default options for mpathconf are
|
|
|
4728c8 |
.B --with_module
|
|
|
4728c8 |
@@ -50,7 +52,9 @@ command.
|
|
|
4728c8 |
.B --enable
|
|
|
4728c8 |
Removes any line that blacklists all device nodes from the
|
|
|
4728c8 |
.B /etc/multipath.conf
|
|
|
4728c8 |
-blacklist section.
|
|
|
4728c8 |
+blacklist section. Also, creates
|
|
|
4728c8 |
+.B /etc/multipath.conf
|
|
|
4728c8 |
+if it doesn't exist.
|
|
|
4728c8 |
.TP
|
|
|
4728c8 |
.B --disable
|
|
|
4728c8 |
Adds a line that blacklists all device nodes to the
|