|
|
d3a483 |
---
|
|
|
d3a483 |
multipath/mpathconf.8 | 14 ++++++++++++++
|
|
|
d3a483 |
1 file changed, 14 insertions(+)
|
|
|
d3a483 |
|
|
|
d3a483 |
Index: multipath-tools-130222/multipath/mpathconf.8
|
|
|
d3a483 |
===================================================================
|
|
|
d3a483 |
--- multipath-tools-130222.orig/multipath/mpathconf.8
|
|
|
d3a483 |
+++ multipath-tools-130222/multipath/mpathconf.8
|
|
|
d3a483 |
@@ -61,6 +61,16 @@ Adds a line that blacklists all device n
|
|
|
d3a483 |
.B /etc/multipath.conf
|
|
|
d3a483 |
blacklist section. If no blacklist section exists, it will create one.
|
|
|
d3a483 |
.TP
|
|
|
d3a483 |
+.B --allow \fB<device>\fP
|
|
|
d3a483 |
+Modifies the \fB/etc/multipath/conf\fP blacklist to blacklist all
|
|
|
d3a483 |
+wwids and the blacklist_exceptions to whitelist \fB<device>\fP. \fB<device>\fP
|
|
|
d3a483 |
+can be in the form of MAJOR:MINOR, a wwid, or the name of a device-mapper
|
|
|
d3a483 |
+device, either a multipath device, or any device on stacked on top of one or
|
|
|
d3a483 |
+more multipath devices. This command can be used multiple times to allow
|
|
|
d3a483 |
+multiple devices. \fBNOTE:\fP This action will create a configuration file that
|
|
|
d3a483 |
+mpathconf will not be able to revert back to its previous state. Because
|
|
|
d3a483 |
+of this, \fB--outfile\fP is required when using \fB--allow\fP.
|
|
|
d3a483 |
+.TP
|
|
|
d3a483 |
.B --user_friendly_name \fP { \fBy\fP | \fBn\fP }
|
|
|
d3a483 |
If set to \fBy\fP, this adds the line
|
|
|
d3a483 |
.B user_friendly_names yes
|
|
|
d3a483 |
@@ -76,6 +86,10 @@ to the
|
|
|
d3a483 |
.B /etc/multipath.conf
|
|
|
d3a483 |
defaults section. If set to \fBn\fP, this removes the line, if present. This
|
|
|
d3a483 |
command can be used aldong with any other command.
|
|
|
d3a483 |
+.TP
|
|
|
d3a483 |
+.B --outfile \fB<filename>\fP
|
|
|
d3a483 |
+Write the resulting multipath configuration to \fB<filename>\fP instead of
|
|
|
d3a483 |
+\fB/etc/multipath.conf\fP.
|
|
|
d3a483 |
.SH OPTIONS
|
|
|
d3a483 |
.TP
|
|
|
d3a483 |
.B --with_module\fP { \fBy\fP | \fBn\fP }
|