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