aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2011-05-18 14:29:07 +0200
committerHannes Reinecke <hare@suse.de>2011-05-18 14:29:07 +0200
commitafafa306fe133f0423fe0b13150a6e535a054b2c (patch)
tree9e79edc222d4ba20a87ebcb1cbc592bedf8dc87d
parentace982abd6cfe76fab3f89067db52e9f103972f5 (diff)
downloadmultipath-tools-afafa306fe133f0423fe0b13150a6e535a054b2c.tar.gz
Update manpages
The man pages are in dire need of updating. Do it now. Signed-off-by: Hannes Reinecke <hare@suse.de>
-rw-r--r--multipath/multipath.815
-rw-r--r--multipath/multipath.conf.580
2 files changed, 71 insertions, 24 deletions
diff --git a/multipath/multipath.8 b/multipath/multipath.8
index 2a6e0aa..d8adf41 100644
--- a/multipath/multipath.8
+++ b/multipath/multipath.8
@@ -6,7 +6,7 @@ multipath \- Device mapper target autoconfig
.RB [\| \-v\ \c
.IR verbosity \|]
.RB [\| \-d \|]
-.RB [\| \-h | \-l | \-ll | \-f | \-F | \-B \|]
+.RB [\| \-h | \-l | \-ll | \-f | \-t | \-F \| \-B \|]
.RB [\| \-p\ \c
.BR failover | multibus | group_by_serial | group_by_prio | group_by_node_name \|]
.RB [\| device \|]
@@ -47,11 +47,14 @@ flush a multipath device map specified as parameter, if unused
.B \-F
flush all unused multipath device maps
.TP
+.B \-t
+print internal hardware table to stdout
+.TP
.B \-B
treat the bindings file as read only
.TP
.BI \-p " policy"
-force maps to specified policy:
+force new maps to use the specified policy:
.RS 1.2i
.TP 1.2i
.B failover
@@ -67,8 +70,11 @@ all paths in 1 priority group
1 priority group per priority value. Priorities are determined by callout programs specified as a global, per-controller or per-multipath option in the configuration file
.TP
.B group_by_node_name
-1 priority group per target node name. Target node names are fetched in /sys/class/fc_transport/target*/node_name.
+1 priority group per target node name. Target node names are fetched
+in /sys/class/fc_transport/target*/node_name.
+.TP
.RE
+Existing maps are not modified.
.TP
.BI device
update only the devmap the path pointed by
@@ -79,6 +85,9 @@ is in the /dev/sdb (as shown by udev in the $DEVNAME variable) or major:minor fo
.I device
may alternatively be a multipath mapname
.SH "SEE ALSO"
+.BR multipathd (8),
+.BR multipath.conf (5),
+.BR kpartx (8),
.BR udev (8),
.BR dmsetup (8)
.BR hotplug (8)
diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5
index a0bde42..6e6b021 100644
--- a/multipath/multipath.conf.5
+++ b/multipath/multipath.conf.5
@@ -143,38 +143,48 @@ identifier. Should be specified with an absolute path. Default value
is
.I /lib/udev/scsi_id --whitelisted --device=/dev/%n
.TP
-.B prio_callout
-The default program and args to callout to obtain a path priority
-value. The specified program will be executed and should return a
-numeric value specifying the relative priority of this path. Higher
-number have a higher priority. A '%n' in the command line will be expanded
-to the device name, a '%b' will be expanded to the device number in
-.I major:minor
-format.
+.B prio
+The name of the path priority routine. The specified routine
+should return a numeric value specifying the relative priority
+of this path. Higher number have a higher priority.
.I "none"
-is a valid value. Currently the following path priority programs are
-implemented:
+is a valid value. Currently the following path priority routines
+are implemented:
.RS
.TP 12
-.B mpath_prio_emc /dev/%n
-Generate the path priority for EMC arrays
+.B const
+Return a constant priority of \fI1\fR.
+.TP
+.B emc
+Generate the path priority for EMC arrays.
.TP
-.B mpath_prio_alua /dev/%n
+.B alua
Generate the path priority based on the SCSI-3 ALUA settings.
.TP
-.B mpath_prio_ontap /dev/%n
+.B ontap
Generate the path priority for NetApp arrays.
.TP
-.B mpath_prio_rdac /dev/%n
+.B rdac
Generate the path priority for LSI/Engenio RDAC controller.
.TP
-.B mpath_prio_hp_sw /dev/%n
+.B hp_sw
Generate the path priority for Compaq/HP controller in
active/standby mode.
.TP
-.B mpath_prio_hds_modular %b
+.B hds
Generate the path priority for Hitachi HDS Modular storage arrays.
.TP
+.B random
+Generate a random priority between 1 and 10.
+.TP 12
+.B weightedpath <hbtl|devname> <regex1> <prio1> <regex2> <prio2> ...
+.I hbtl
+regex can be of SCSI H:B:T:L format Ex: 1:0:.:. , *:0:0:.
+.I devname
+regex can be of device name format Ex: sda , sd.e
+Generate the path priority based on the regular expression and the
+priority provided as argument.
+.TP
Default value is \fBnone\fR.
.RE
.TP
@@ -198,12 +208,13 @@ Disable automatic partitions generation via kpartx.
.RE
.TP
.B path_checker
-The default method used to determine the paths' state. Possible values
+The default method used to determine the paths state. Possible values
are
.RS
.TP 12
.B readsector0
-Read the first sector of the device
+(Deprecated) Read the first sector of the device. This checker is being
+deprecated, please use \fIdirectio\fR instead
.TP
.B tur
Issue a
@@ -223,7 +234,7 @@ Check the path state for LSI/Engenio RDAC storage controller.
.B directio
Read the first sector with direct I/O.
.TP
-Default value is \fIreadsector0\fR.
+Default value is \fIdirectio\fR.
.RE
.TP
.B failback
@@ -305,7 +316,6 @@ cannot be told to stop queueing IO. Setting queue_without_daemon to
.I no
, avoids this problem. Default is
.I yes
-.TP
.B bindings_file
The full pathname of the binding file to be used when the user_friendly_names option is set. Defaults to
.I /var/lib/multipath/bindings
@@ -391,6 +401,8 @@ section:
.TP
.B path_selector
.TP
+.B prio
+.TP
.B failback
.TP
.B no_path_retry
@@ -431,6 +443,16 @@ The following hardware handler are implemented:
.TP 12
.B 1 emc
Hardware handler for EMC storage arrays.
+.TP
+.B 1 rdac
+Hardware handler for LSI/Engenio RDAC storage controller.
+.TP
+.B 1 hp_sw
+Hardware handler for Compaq/HP storage arrays in active/standby
+mode.
+.TP
+.B 1 alua
+Hardware handler for SCSI-3 ALUA compatible arrays.
.RE
.LP
The following attributes are optional; if not set the default values
@@ -449,6 +471,8 @@ section:
.TP
.B path_checker
.TP
+.B prio
+.TP
.B features
.TP
.B prio_callout
@@ -476,6 +500,20 @@ processes being hung and not killable in situations where all the paths to the L
It is advisable to use the
.B no_path_retry
option instead.
+.P
+The use of
+.B queue_if_no_path
+or
+.B no_path_retry
+might lead to a deadlock if the
+.B dev_loss_tmo
+setting results in a device being removed while I/O is still queued.
+The multipath daemon will update the
+.B dev_loss_tmo
+setting accordingly to avoid this deadlock. Hence if both values are
+specified the order of precedence is
+.I no_path_retry, queue_if_no_path, dev_loss_tmo
+
.SH "SEE ALSO"
.BR udev (8),
.BR dmsetup (8)