update and general clean up of multipath.conf.5
cover update and general clean up of multipath.conf.5
Final result in PDF(35k): https://drive.google.com/file/d/0B_B6YmEmO7cDa09mdTlGa1NlSWc
Xose Vazquez Perez (14):
multipath-tools: replace bold<->italic in multipath.conf.5
multipath-tools: add alias_prefix to multipath.conf.5
multipath-tools: add partition_delimiter to multipath.conf.5
multipath-tools: correct and add default values in multipath.conf.5
multipath-tools: clarify DGC/EMC arrays info at multipath.conf.5
multipath-tools: clarify ONTAP class info at multipath.conf.5
multipath-tools: clarify RDAC class info at multipath.conf.5
multipath-tools: clarify HP/COMPAQ/DEC Active/Standby arrays info at multipath.conf.5
multipath-tools: mark hardware-dependent features in multipath.conf.5
multipath-tools: add default value for hardware_handler in multipath.conf.5
multipath-tools: add cciss_tur path_checker to multipath.conf.5
multipath-tools: list undocumented prioritizers in multipath.conf.5
multipath-tools: add undocumented features to multipath.conf.5
multipath-tools: minor edit of multipath/multipath.conf.5
multipath/multipath.conf.5 | 342 +++++++++++++++++++++++++++------------------ 1 file changed, 209 insertions(+), 133 deletions(-)
Signature · 1 line
2.7.4
PATCH 1/14 multipath-tools: replace bold<->italic in multipath.conf.5
Do it more readable.
--- multipath/multipath.conf.5 | 116 +++++++++++++++++++++++---------------------- 1 file changed, 59 insertions(+), 57 deletions(-)
multipath/multipath.conf.5 +59 -57
@@ -1,4 +1,4 @@ -.TH MULTIPATH.CONF 5 2016-07-03 "Linux" +.TH MULTIPATH.CONF 5 2016-07-06 "Linux" .SH NAME multipath.conf \- multipath daemon configuration file .SH DESCRIPTION
@@ -25,8 +25,10 @@ The configuration file contains entries of the form: <attribute> <value> .I "..." .RE +.ft B } .RE +.ft B } .ft R .fi
@@ -56,7 +58,7 @@ section. .B multipaths This section defines the multipath topologies. They are indexed by a \fIWorld Wide Identifier\fR(wwid). For details on the wwid generation -see section \fBWWID generation\fR below. +see section \fIWWID generation\fR below. .TP .B devices This section defines the device-specific settings.
@@ -68,15 +70,15 @@ device-specific settings for all devices. .LP .SH "defaults section" The -.B defaults +.I defaults section recognizes the following keywords: .TP 17 .B polling_interval interval between two path checks in seconds. For properly functioning paths, the interval between checks will gradually increase to -.B max_polling_interval. +.I max_polling_interval. This value will be overridden by the -.B WatchdogSec +.I WatchdogSec setting in the multipathd.service definition if systemd is used. .RS .TP
@@ -145,14 +147,14 @@ The default path selector algorithm to use; they are offered by the kernel multipath target. There are three selector algorithms. .RS .TP 12 -.B "round-robin 0" +.I "round-robin 0" Loop through every path in the path group, sending the same amount of IO to each. .TP -.B "queue-length 0" +.I "queue-length 0" Send the next bunch of IO down the path with the least amount of outstanding IO. .TP -.B "service-time 0" +.I "service-time 0" Choose the path for the next bunch of IO based on the amount of outstanding IO to the path and its relative throughput. .RE
@@ -162,21 +164,21 @@ The default path grouping policy to apply to unspecified multipaths. Possible values are .RS .TP 12 -.B failover +.I failover 1 path per priority group .TP -.B multibus +.I multibus all paths in 1 priority group .TP -.B group_by_serial +.I group_by_serial 1 priority group per serial number .TP -.B group_by_prio +.I group_by_prio 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 +.I group_by_node_name 1 priority group per target node name. Target node names are fetched in /sys/class/fc_transport/target*/node_name. .TP
@@ -204,34 +206,34 @@ is a valid value. Currently the following path priority routines are implemented: .RS .TP 12 -.B const +.I const Return a constant priority of \fI1\fR. .TP -.B emc +.I emc Generate the path priority for EMC arrays. .TP -.B alua +.I alua Generate the path priority based on the SCSI-3 ALUA settings. This prioritizer accepts the optional prio_arg .I exclusive_pref_bit .TP -.B ontap +.I ontap Generate the path priority for NetApp arrays. .TP -.B rdac +.I rdac Generate the path priority for LSI/Engenio/NetApp E-Series RDAC controller. .TP -.B hp_sw +.I hp_sw Generate the path priority for Compaq/HP controller in active/standby mode. .TP -.B hds +.I hds Generate the path priority for Hitachi HDS Modular storage arrays. .TP -.B random +.I random Generate a random priority between 1 and 10. .TP 12 -.B weightedpath +.I weightedpath Generate the path priority based on the regular expression and the priority provided as argument. requires prio_args keyword. .TP
@@ -243,7 +245,7 @@ Arguments to pass to to the prio function. This only applies to certain prioritizers .RS .TP 12 -.B weighted +.I weighted Needs a value of the form .I "<hbtl|devname|wwn> <regex1> <prio1> <regex2> <prio2> ..." .I hbtl
@@ -256,7 +258,7 @@ regex can be of the form these values can be looked up through sysfs or by running .I mulitpathd show paths format "%N:%R:%n:%r" Ex: 0x200100e08ba0aea0:0x210100e08ba0aea0:.*:.* , .*:.*:iqn.2009-10.com.redhat.msp.lab.ask-06:.* .TP -.B alua +.I alua If .I exclusive_pref_bit is set, paths with the TPGS pref bit set will always be in their own path
@@ -273,12 +275,12 @@ is the number of features in Possible values for the feature list are .RS .TP 12 -.B queue_if_no_path +.I queue_if_no_path Queue IO if no path is active; identical to the .I no_path_retry keyword. .TP -.B no_partitions +.I no_partitions Disable automatic partitions generation via kpartx. .RE .TP
@@ -287,26 +289,26 @@ The default method used to determine the paths state. Possible values are .RS .TP 12 -.B readsector0 +.I readsector0 (Deprecated) Read the first sector of the device. This checker is being deprecated, please use \fItur\fR instead .TP -.B tur +.I tur Issue a .I TEST UNIT READY command to the device. .TP -.B emc_clariion +.I emc_clariion Query the EMC Clariion specific EVPD page 0xC0 to determine the path state. .TP -.B hp_sw +.I hp_sw Check the path state for HP storage arrays with Active/Standby firmware. .TP -.B rdac +.I rdac Check the path state for LSI/Engenio/NetApp E-Series RDAC storage controller. .TP -.B directio +.I directio (Deprecated) Read the first sector with direct I/O. This checker is being deprecated, it will cause spurious path failures under high load. Please use \fItur\fR instead.
@@ -318,19 +320,19 @@ Default value is: \fBtur\fR Tell multipathd how to manage path group failback. .RS .TP 12 -.B immediate +.I immediate Immediately failback to the highest priority pathgroup that contains active paths. .TP -.B manual +.I manual Do not perform automatic failback. .TP -.B followover +.I followover Only perform automatic failback when the first path of a pathgroup becomes active. This keeps a node from automatically failing back when another node requested the failover. .TP -.B values > 0 +.I values > 0 deferred failback (time to defer in seconds) .TP Default value is: \fBmanual\fR
@@ -431,7 +433,7 @@ retry interval \fIno_path_retry\fR * \fIpolling_interval\fR if a number of retries is given with \fIno_path_retry\fR and the overall retry interval is longer than the specified \fIdev_loss_tmo\fR value. -The linux kernel will cap this value to \fI300\fR if \fBfast_io_fail_tmo\fR +The linux kernel will cap this value to \fI300\fR if \fIfast_io_fail_tmo\fR is not set. .RS .TP
@@ -633,9 +635,9 @@ Regular expression of the udev property to be excluded. .TP .B device Subsection for the device description. This subsection recognizes the -.I vendor +.B vendor and -.I product +.B product keywords. For a full description of these keywords please see the .I devices section description.
@@ -667,9 +669,9 @@ Regular expression of the device nodes to be whitelisted. .TP .B device Subsection for the device description. This subsection recognizes the -.I vendor +.B vendor and -.I product +.B product keywords. For a full description of these keywords please see the .I devices section description.
@@ -678,20 +680,20 @@ The .I property blacklist and whitelist handling is different from the usual handling in the sense that the whitelist -.B has +.I has to be set, otherwise the device will be blacklisted. In these cases the message .I blacklisted, udev property missing will be displayed. .SH "multipaths section" The only recognized attribute for the -.B multipaths +.I multipaths section is the .I multipath subsection. .LP The -.B multipath +.I multipath subsection recognizes the following attributes: .TP 17 .B wwid
@@ -744,7 +746,7 @@ section: .LP .SH "devices section" The only recognized attribute for the -.B devices +.I devices section is the .I device subsection.
@@ -774,17 +776,17 @@ device type, instead of the default "mpath" The following hardware handler are implemented: .RS .TP 12 -.B 1 emc +.I 1 emc Hardware handler for EMC storage arrays. .TP -.B 1 rdac +.I 1 rdac Hardware handler for LSI/Engenio/NetApp E-Series RDAC storage controller. .TP -.B 1 hp_sw +.I 1 hp_sw Hardware handler for Compaq/HP storage arrays in active/standby mode. .TP -.B 1 alua +.I 1 alua Hardware handler for SCSI-3 ALUA compatible arrays. .RE .LP
@@ -923,23 +925,23 @@ are present multipath will try to use the sysfs attribute \fIvpd_pg83\fR to generate the wwid. .SH "KNOWN ISSUES" The usage of -.B queue_if_no_path +.I queue_if_no_path option can lead to -.B D state +.I D state processes being hung and not killable in situations where all the paths to the LUN go offline. It is advisable to use the -.B no_path_retry +.I no_path_retry option instead. .P The use of -.B queue_if_no_path +.I queue_if_no_path or -.B no_path_retry +.I no_path_retry might lead to a deadlock if the -.B dev_loss_tmo +.I 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 +.I 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
@@ -950,5 +952,5 @@ specified the order of precedence is .BR multipath (8) .BR multipathd (8) .SH AUTHORS -.B multipath +.I multipath was developed by Christophe Varoqui, <[email protected]> and others.
Signature · 1 line
2.7.4
PATCH 2/14 multipath-tools: add alias_prefix to multipath.conf.5
In reply to Xose Vazquez PerezIt was missing in defaults section.
--- multipath/multipath.conf.5 | 7 +++++++ 1 file changed, 7 insertions(+)
multipath/multipath.conf.5 +7 -0
@@ -316,6 +316,13 @@ Please use \fItur\fR instead. Default value is: \fBtur\fR .RE .TP +.B alias_prefix +The \fIuser_friendly_names\fR prefix. +.RS +.TP +Default value is: \fBmpath\fR +.RE +.TP .B failback Tell multipathd how to manage path group failback. .RS
Signature · 1 line
2.7.4
PATCH 3/14 multipath-tools: add partition_delimiter to multipath.conf.5
In reply to Xose Vazquez PerezIt was missing in defaults section.
--- multipath/multipath.conf.5 | 10 ++++++++++ 1 file changed, 10 insertions(+)
multipath/multipath.conf.5 +10 -0
@@ -549,6 +549,16 @@ will be canceled. Default value is: \fBno\fR .RE .TP +.B partition_delimiter +If this value is not set, when multipath renames a device, it will act just +like the kpartx default does, only adding a \fI"p"\fR to names ending in a +number. If this parameter is set, multipath will act like kpartx does with +the \fI-p\fR option is used, and always add delimiter. +.RS +.TP +Default value is: \fB<unset>\fR +.RE +.TP .B config_dir If set to anything other than "", multipath will search this directory alphabetically for file ending in ".conf" and it will read configuration
Signature · 1 line
2.7.4
PATCH 4/14 multipath-tools: correct and add default values in multipath.conf.5
In reply to Xose Vazquez Perez--- multipath/multipath.conf.5 | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-)
multipath/multipath.conf.5 +16 -2
@@ -139,7 +139,7 @@ device, not the underlying block devices. Possible values are \fIyes\fR and \fIno\fR. .RS .TP -Default value is: \fByes\fR +Default value is: \fBno\fR .RE .TP .B path_selector
@@ -157,6 +157,8 @@ Send the next bunch of IO down the path with the least amount of outstanding IO. .I "service-time 0" Choose the path for the next bunch of IO based on the amount of outstanding IO to the path and its relative throughput. +.TP +Default value is: \fBservice-time 0\fR .RE .TP .B path_grouping_policy
@@ -237,7 +239,7 @@ Generate a random priority between 1 and 10. Generate the path priority based on the regular expression and the priority provided as argument. requires prio_args keyword. .TP -Default value is: \fBnone\fR +Default value is: \fBconst\fR .RE .TP .B prio_args
@@ -263,6 +265,8 @@ If .I exclusive_pref_bit is set, paths with the TPGS pref bit set will always be in their own path group. +.TP +Default value is: \fB<unset>\fR .RE .TP .B features
@@ -282,6 +286,8 @@ keyword. .TP .I no_partitions Disable automatic partitions generation via kpartx. +.TP +Default value is: \fB0\fR .RE .TP .B path_checker
@@ -415,6 +421,10 @@ this to the system limit from /proc/sys/fs/nr_open. If this is not set, the maximum number of open fds is taken from the calling process. It is usually 1024. To be safe, this should be set to the maximum number of paths plus 32, if that number is greated than 1024. +.RS +.TP +Default value is: \fBmax\fR +.RE .TP .B checker_timeout Specify the timeout to use for path checkers and prioritizers that issue scsi
@@ -430,6 +440,10 @@ detected on a FC remote port before failing IO to devices on that remote port. This should be smaller than dev_loss_tmo. Setting this to .I off will disable the timeout. +.RS +.TP +Default value is: in \fB5\fR +.RE .TP .B dev_loss_tmo Specify the number of seconds the scsi layer will wait after a problem has
Signature · 1 line
2.7.4
PATCH 5/14 multipath-tools: clarify DGC/EMC arrays info at multipath.conf.5
In reply to Xose Vazquez PerezDGC(Data General Corporation) arrays are exclusively CLARiiON CX/AX and EMC VNX families.
--- multipath/multipath.conf.5 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
multipath/multipath.conf.5 +5 -4
@@ -212,7 +212,8 @@ are implemented: Return a constant priority of \fI1\fR. .TP .I emc -Generate the path priority for EMC arrays. +Generate the path priority for DGC class arrays as CLARiiON CX/AX and +EMC VNX families. .TP .I alua Generate the path priority based on the SCSI-3 ALUA settings. This prioritizer
@@ -305,8 +306,8 @@ Issue a command to the device. .TP .I emc_clariion -Query the EMC Clariion specific EVPD page 0xC0 to determine the path -state. +Query the DGC/EMC specific EVPD page 0xC0 to determine the path state +for CLARiiON CX/AX and EMC VNX arrays families. .TP .I hp_sw Check the path state for HP storage arrays with Active/Standby firmware.
@@ -808,7 +809,7 @@ The following hardware handler are implemented: .RS .TP 12 .I 1 emc -Hardware handler for EMC storage arrays. +Hardware handler for DGC class arrays as CLARiiON CX/AX and EMC VNX families. .TP .I 1 rdac Hardware handler for LSI/Engenio/NetApp E-Series RDAC storage controller.
Signature · 1 line
2.7.4
PATCH 6/14 multipath-tools: clarify ONTAP class info at multipath.conf.5
In reply to Xose Vazquez Perezontap prio is *exclusively* for NetApp ONTAP class and OEM arrays, as IBM NSeries.
--- multipath/multipath.conf.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
multipath/multipath.conf.5 +1 -1
@@ -221,7 +221,7 @@ accepts the optional prio_arg .I exclusive_pref_bit .TP .I ontap -Generate the path priority for NetApp arrays. +Generate the path priority for NetApp ONTAP class and OEM arrays as IBM NSeries. .TP .I rdac Generate the path priority for LSI/Engenio/NetApp E-Series RDAC controller.
Signature · 1 line
2.7.4
PATCH 7/14 multipath-tools: clarify RDAC class info at multipath.conf.5
In reply to Xose Vazquez PerezRDAC(Redundant Dual Active Controller) done by LSI/Engenio/NetApp are NetApp E-Series/F-Series and OEM arrays from IBM DELL SGI STK and SUN.
--- multipath/multipath.conf.5 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
multipath/multipath.conf.5 +6 -3
@@ -224,7 +224,8 @@ accepts the optional prio_arg Generate the path priority for NetApp ONTAP class and OEM arrays as IBM NSeries. .TP .I rdac -Generate the path priority for LSI/Engenio/NetApp E-Series RDAC controller. +Generate the path priority for LSI/Engenio/NetApp RDAC class as NetApp E/EF +Series, and OEM arrays from IBM DELL SGI STK and SUN. .TP .I hp_sw Generate the path priority for Compaq/HP controller in
@@ -313,7 +314,8 @@ for CLARiiON CX/AX and EMC VNX arrays families. Check the path state for HP storage arrays with Active/Standby firmware. .TP .I rdac -Check the path state for LSI/Engenio/NetApp E-Series RDAC storage controller. +Check the path state for LSI/Engenio/NetApp RDAC class as NetApp E/EF +Series, and OEM arrays from IBM DELL SGI STK and SUN. .TP .I directio (Deprecated) Read the first sector with direct I/O. This checker is being
@@ -812,7 +814,8 @@ The following hardware handler are implemented: Hardware handler for DGC class arrays as CLARiiON CX/AX and EMC VNX families. .TP .I 1 rdac -Hardware handler for LSI/Engenio/NetApp E-Series RDAC storage controller. +Hardware handler for LSI/Engenio/NetApp RDAC class as NetApp E/EF +Series, and OEM arrays from IBM DELL SGI STK and SUN. .TP .I 1 hp_sw Hardware handler for Compaq/HP storage arrays in active/standby
Signature · 1 line
2.7.4
PATCH 8/14 multipath-tools: clarify HP/COMPAQ/DEC Active/Standby arrays info at multipath.conf.5
In reply to Xose Vazquez PerezOptions only valid for HSG80 and MSA/HSV 1x0 arrays with Active/Standby mode exclusively, their firmware can not be upgraded to support ALUA.
--- multipath/multipath.conf.5 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
multipath/multipath.conf.5 +6 -5
@@ -228,8 +228,8 @@ Generate the path priority for LSI/Engenio/NetApp RDAC class as NetApp E/EF Series, and OEM arrays from IBM DELL SGI STK and SUN. .TP .I hp_sw -Generate the path priority for Compaq/HP controller in -active/standby mode. +Generate the path priority for HP/COMPAQ/DEC HSG80 and MSA/HSV arrays with +Active/Standby mode exclusively. .TP .I hds Generate the path priority for Hitachi HDS Modular storage arrays.
@@ -311,7 +311,8 @@ Query the DGC/EMC specific EVPD page 0xC0 to determine the path state for CLARiiON CX/AX and EMC VNX arrays families. .TP .I hp_sw -Check the path state for HP storage arrays with Active/Standby firmware. +Check the path state for HP/COMPAQ/DEC HSG80 and MSA/HSV arrays with +Active/Standby mode exclusively. .TP .I rdac Check the path state for LSI/Engenio/NetApp RDAC class as NetApp E/EF
@@ -818,8 +819,8 @@ Hardware handler for LSI/Engenio/NetApp RDAC class as NetApp E/EF Series, and OEM arrays from IBM DELL SGI STK and SUN. .TP .I 1 hp_sw -Hardware handler for Compaq/HP storage arrays in active/standby -mode. +Hardware handler for HP/COMPAQ/DEC HSG80 and MSA/HSV arrays with +Active/Standby mode exclusively. .TP .I 1 alua Hardware handler for SCSI-3 ALUA compatible arrays.
Signature · 1 line
2.7.4
PATCH 9/14 multipath-tools: mark hardware-dependent features in multipath.conf.5
In reply to Xose Vazquez PerezSome features are hardware-dependent.
--- multipath/multipath.conf.5 | 13 +++++++++++++ 1 file changed, 13 insertions(+)
multipath/multipath.conf.5 +13 -0
@@ -212,26 +212,32 @@ are implemented: Return a constant priority of \fI1\fR. .TP .I emc +(Hardware-dependent) Generate the path priority for DGC class arrays as CLARiiON CX/AX and EMC VNX families. .TP .I alua +(Hardware-dependent) Generate the path priority based on the SCSI-3 ALUA settings. This prioritizer accepts the optional prio_arg .I exclusive_pref_bit .TP .I ontap +(Hardware-dependent) Generate the path priority for NetApp ONTAP class and OEM arrays as IBM NSeries. .TP .I rdac +(Hardware-dependent) Generate the path priority for LSI/Engenio/NetApp RDAC class as NetApp E/EF Series, and OEM arrays from IBM DELL SGI STK and SUN. .TP .I hp_sw +(Hardware-dependent) Generate the path priority for HP/COMPAQ/DEC HSG80 and MSA/HSV arrays with Active/Standby mode exclusively. .TP .I hds +(Hardware-dependent) Generate the path priority for Hitachi HDS Modular storage arrays. .TP .I random
@@ -307,14 +313,17 @@ Issue a command to the device. .TP .I emc_clariion +(Hardware-dependent) Query the DGC/EMC specific EVPD page 0xC0 to determine the path state for CLARiiON CX/AX and EMC VNX arrays families. .TP .I hp_sw +(Hardware-dependent) Check the path state for HP/COMPAQ/DEC HSG80 and MSA/HSV arrays with Active/Standby mode exclusively. .TP .I rdac +(Hardware-dependent) Check the path state for LSI/Engenio/NetApp RDAC class as NetApp E/EF Series, and OEM arrays from IBM DELL SGI STK and SUN. .TP
@@ -812,17 +821,21 @@ The following hardware handler are implemented: .RS .TP 12 .I 1 emc +(Hardware-dependent) Hardware handler for DGC class arrays as CLARiiON CX/AX and EMC VNX families. .TP .I 1 rdac +(Hardware-dependent) Hardware handler for LSI/Engenio/NetApp RDAC class as NetApp E/EF Series, and OEM arrays from IBM DELL SGI STK and SUN. .TP .I 1 hp_sw +(Hardware-dependent) Hardware handler for HP/COMPAQ/DEC HSG80 and MSA/HSV arrays with Active/Standby mode exclusively. .TP .I 1 alua +(Hardware-dependent) Hardware handler for SCSI-3 ALUA compatible arrays. .RE .LP
Signature · 1 line
2.7.4
PATCH 10/14 multipath-tools: add default value for hardware_handler in multipath.conf.5
In reply to Xose Vazquez PerezIt's unset.
--- multipath/multipath.conf.5 | 2 ++ 1 file changed, 2 insertions(+)
multipath/multipath.conf.5 +2 -0
@@ -837,6 +837,8 @@ Active/Standby mode exclusively. .I 1 alua (Hardware-dependent) Hardware handler for SCSI-3 ALUA compatible arrays. +.TP +Default value is: \fB<unset>\fR .RE .LP The following attributes are optional; if not set the default values
Signature · 1 line
2.7.4
PATCH 11/14 multipath-tools: add cciss_tur path_checker to multipath.conf.5
In reply to Xose Vazquez Perezcciss_tur is for HP/COMPAQ Smart Array(CCISS) controllers.
--- multipath/multipath.conf.5 | 4 ++++ 1 file changed, 4 insertions(+)
multipath/multipath.conf.5 +4 -0
@@ -332,6 +332,10 @@ Series, and OEM arrays from IBM DELL SGI STK and SUN. deprecated, it will cause spurious path failures under high load. Please use \fItur\fR instead. .TP +.I cciss_tur +(Hardware-dependent) +Check the path state for HP/COMPAQ Smart Array(CCISS) controllers. +.TP Default value is: \fBtur\fR .RE .TP
Signature · 1 line
2.7.4
PATCH 12/14 multipath-tools: list undocumented prioritizers in multipath.conf.5
In reply to Xose Vazquez PerezSome text is needed.
--- multipath/multipath.conf.5 | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
multipath/multipath.conf.5 +14 -0
@@ -247,6 +247,12 @@ Generate a random priority between 1 and 10. Generate the path priority based on the regular expression and the priority provided as argument. requires prio_args keyword. .TP +.I datacore +???. Requires prio_args keyword. +.TP +.I iet +???. Requires prio_args keyword. +.TP Default value is: \fBconst\fR .RE .TP
@@ -274,6 +280,14 @@ If is set, paths with the TPGS pref bit set will always be in their own path group. .TP +.I datacore +.I preferredsds +??? +.TP +.I iet +.I preferredip +??? +.TP Default value is: \fB<unset>\fR .RE .TP
Signature · 1 line
2.7.4
PATCH 13/14 multipath-tools: add undocumented features to multipath.conf.5
In reply to Xose Vazquez Perezpg_init_retries - kernel commit c9e45581a pg_init_delay_msecs - kernel commit 4e2d19e46
--- multipath/multipath.conf.5 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
multipath/multipath.conf.5 +8 -2
@@ -296,9 +296,9 @@ Specify any device-mapper features to be used. Syntax is .I num list where .I num -is the number of features in +is the number, between 0 and 6, of features in .I list. -Possible values for the feature list are +Possible values for the feature list are: .RS .TP 12 .I queue_if_no_path
@@ -309,6 +309,12 @@ keyword. .I no_partitions Disable automatic partitions generation via kpartx. .TP +.I pg_init_retries +Number of times to retry pg_init, it must be between 1 and 50. +.TP +.I pg_init_delay_msecs +Number of msecs before pg_init retry, it must be between 0 and 60000. +.TP Default value is: \fB0\fR .RE .TP
Signature · 1 line
2.7.4
PATCH 14/14 multipath-tools: minor edit of multipath/multipath.conf.5
In reply to Xose Vazquez PerezAdd final colons and dots, acronyms in uppercase, s/1/One, ...
--- multipath/multipath.conf.5 | 121 ++++++++++++++++++++++----------------------- 1 file changed, 60 insertions(+), 61 deletions(-)
multipath/multipath.conf.5 +60 -61
@@ -1,8 +1,8 @@ -.TH MULTIPATH.CONF 5 2016-07-06 "Linux" +.TH MULTIPATH.CONF 5 2016-07-08 "Linux" .SH NAME -multipath.conf \- multipath daemon configuration file +multipath.conf \- multipath daemon configuration file. .SH DESCRIPTION -.B "multipath.conf" +.B "/etc/multipath.conf" is the configuration file for the multipath daemon. It is used to overwrite the built-in configuration table of \fBmultipathd\fP. Any line whose first non-white-space character is a '#' is considered
@@ -57,7 +57,7 @@ section. .TP .B multipaths This section defines the multipath topologies. They are indexed by a -\fIWorld Wide Identifier\fR(wwid). For details on the wwid generation +\fIWorld Wide Identifier\fR(WWID). For details on the WWID generation see section \fIWWID generation\fR below. .TP .B devices
@@ -74,7 +74,7 @@ The section recognizes the following keywords: .TP 17 .B polling_interval -interval between two path checks in seconds. For properly functioning paths, +Interval between two path checks in seconds. For properly functioning paths, the interval between checks will gradually increase to .I max_polling_interval. This value will be overridden by the
@@ -86,17 +86,17 @@ Default value is: \fB5\fR .RE .TP .B max_polling_interval -maximal interval between two path checks in seconds. +Maximal interval between two path checks in seconds. .RS .TP Default value is: \fB4 * polling_interval\fR .RE .TP .B multipath_dir -directory where the dynamic shared objects are stored. +Directory where the dynamic shared objects are stored. .RS .TP -Default value is: \fB<system dependent>\fR, commonly /lib64/multipath/ +Default value is: \fB<system dependent>\fR, commonly \fI/lib64/multipath/\fR .RE .TP .B find_multipaths
@@ -106,7 +106,7 @@ If set to path, multipath will only create a device if one of three condidions are met. .I 1 -There are at least two non-blacklisted paths with the same wwid, +There are at least two non-blacklisted paths with the same WWID, .I 2 the user manually forces the creation, by specifying a device with the multipath command, or
@@ -125,7 +125,7 @@ Default value is: \fBno\fR .RE .TP .B verbosity -default verbosity. Higher values increase the verbosity level. Valid +Default verbosity. Higher values increase the verbosity level. Valid levels are between 0 and 6. .RS .TP
@@ -133,7 +133,7 @@ Default value is: \fB2\fR .RE .TP .B reassign_maps -enable reassigning of device-mapper maps. With this option multipathd +Enable reassigning of device-mapper maps. With this option multipathd will remap existing device-mapper maps to always point to multipath device, not the underlying block devices. Possible values are \fIyes\fR and \fIno\fR.
@@ -144,7 +144,7 @@ Default value is: \fBno\fR .TP .B path_selector The default path selector algorithm to use; they are offered by the -kernel multipath target. There are three selector algorithms. +kernel multipath target. There are three selector algorithms: .RS .TP 12 .I "round-robin 0"
@@ -163,26 +163,26 @@ Default value is: \fBservice-time 0\fR .TP .B path_grouping_policy The default path grouping policy to apply to unspecified -multipaths. Possible values are +multipaths. Possible values are: .RS .TP 12 .I failover -1 path per priority group +One path per priority group. .TP .I multibus -all paths in 1 priority group +All paths in one priority group. .TP .I group_by_serial -1 priority group per serial number +One priority group per serial number. .TP .I group_by_prio -1 priority group per priority value. Priorities are determined by +One 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 .I group_by_node_name -1 priority group per target node name. Target node names are fetched -in /sys/class/fc_transport/target*/node_name. +One priority group per target node name. Target node names are fetched +in \fI/sys/class/fc_transport/target*/node_name\fR. .TP Default value is: \fBfailover\fR .RE
@@ -195,9 +195,8 @@ Default value is: \fBID_SERIAL\fR .RE .TP .B getuid_callout -The default program and args to callout to obtain a unique path +(Deprecated) The default program and args to callout to obtain a unique path identifier. Should be specified with an absolute path. -This parameter is deprecated. .TP .B prio The name of the path priority routine. The specified routine
@@ -219,8 +218,7 @@ EMC VNX families. .I alua (Hardware-dependent) Generate the path priority based on the SCSI-3 ALUA settings. This prioritizer -accepts the optional prio_arg -.I exclusive_pref_bit +accepts the optional prio_arg \fIexclusive_pref_bit\fR. .TP .I ontap (Hardware-dependent)
@@ -245,7 +243,7 @@ Generate a random priority between 1 and 10. .TP 12 .I weightedpath Generate the path priority based on the regular expression and the -priority provided as argument. requires prio_args keyword. +priority provided as argument. Requires prio_args keyword. .TP .I datacore ???. Requires prio_args keyword.
@@ -258,7 +256,7 @@ Default value is: \fBconst\fR .TP .B prio_args Arguments to pass to to the prio function. This only applies to certain -prioritizers +prioritizers: .RS .TP 12 .I weighted
@@ -282,11 +280,11 @@ group. .TP .I datacore .I preferredsds -??? +???. .TP .I iet .I preferredip -??? +???. .TP Default value is: \fB<unset>\fR .RE
@@ -320,12 +318,12 @@ Default value is: \fB0\fR .TP .B path_checker The default method used to determine the paths state. Possible values -are +are: .RS .TP 12 .I readsector0 (Deprecated) Read the first sector of the device. This checker is being -deprecated, please use \fItur\fR instead +deprecated, please use \fItur\fR instead. .TP .I tur Issue a
@@ -349,7 +347,7 @@ Series, and OEM arrays from IBM DELL SGI STK and SUN. .TP .I directio (Deprecated) Read the first sector with direct I/O. This checker is being -deprecated, it will cause spurious path failures under high load. +deprecated, it could cause spurious path failures under high load. Please use \fItur\fR instead. .TP .I cciss_tur
@@ -383,7 +381,7 @@ becomes active. This keeps a node from automatically failing back when another node requested the failover. .TP .I values > 0 -deferred failback (time to defer in seconds) +Deferred failback (time to defer in seconds). .TP Default value is: \fBmanual\fR .RE
@@ -454,7 +452,7 @@ Default value is: \fBno\fR .B max_fds Specify the maximum number of file descriptors that can be opened by multipath and multipathd. This is equivalent to ulimit \-n. A value of \fImax\fR will set -this to the system limit from /proc/sys/fs/nr_open. If this is not set, the +this to the system limit from \fI/proc/sys/fs/nr_open\fR. If this is not set, the maximum number of open fds is taken from the calling process. It is usually 1024. To be safe, this should be set to the maximum number of paths plus 32, if that number is greated than 1024.
@@ -464,7 +462,7 @@ Default value is: \fBmax\fR .RE .TP .B checker_timeout -Specify the timeout to use for path checkers and prioritizers that issue scsi +Specify the timeout to use for path checkers and prioritizers that issue SCSI commands with an explicit timeout, in seconds. .RS .TP
@@ -472,7 +470,7 @@ Default value is: in \fB/sys/block/sd<x>/device/timeout\fR .RE .TP .B fast_io_fail_tmo -Specify the number of seconds the scsi layer will wait after a problem has been +Specify the number of seconds the SCSI layer will wait after a problem has been detected on a FC remote port before failing IO to devices on that remote port. This should be smaller than dev_loss_tmo. Setting this to .I off
@@ -483,7 +481,7 @@ Default value is: in \fB5\fR .RE .TP .B dev_loss_tmo -Specify the number of seconds the scsi layer will wait after a problem has +Specify the number of seconds the SCSI layer will wait after a problem has been detected on a FC remote port before removing it from the system. This can be set to "infinity" which sets it to the max value of 2147483647 seconds, or 68 years. It will be automatically adjusted to the overall
@@ -491,7 +489,7 @@ retry interval \fIno_path_retry\fR * \fIpolling_interval\fR if a number of retries is given with \fIno_path_retry\fR and the overall retry interval is longer than the specified \fIdev_loss_tmo\fR value. -The linux kernel will cap this value to \fI300\fR if \fIfast_io_fail_tmo\fR +The Linux kernel will cap this value to \fI300\fR if \fIfast_io_fail_tmo\fR is not set. .RS .TP
@@ -522,8 +520,8 @@ Default value is: \fB/etc/multipath/bindings\fR .RE .TP .B wwids_file -The full pathname of the wwids file, which is used by multipath to keep track -of the wwids for LUNs it has created multipath devices on in the past. +The full pathname of the WWIDs file, which is used by multipath to keep track +of the WWIDs for LUNs it has created multipath devices on in the past. .RS .TP Default value is: \fB/etc/multipath/wwids\fR
@@ -555,9 +553,9 @@ Default value is: \fB<unset>\fR .B retain_attached_hw_handler If set to .I yes -and the scsi layer has already attached a hardware_handler to the device, +and the SCSI layer has already attached a hardware_handler to the device, multipath will not force the device to use the hardware_handler specified by -mutipath.conf. If the scsi layer has not attached a hardware handler, +mutipath.conf. If the SCSI layer has not attached a hardware handler, multipath will continue to use its configured hardware handler. .RS .TP
@@ -567,8 +565,8 @@ Default value is: \fBno\fR .B detect_prio If set to .I yes -, multipath will try to detect if the device supports ALUA. If so, the device -will automatically use the +, multipath will try to detect if the device supports SCSI-3 ALUA. If so, the +device will automatically use the .I alua prioritizer. If not, the prioritizer will be selected as usual. .RS
@@ -613,8 +611,8 @@ Default value is: \fB<unset>\fR .B config_dir If set to anything other than "", multipath will search this directory alphabetically for file ending in ".conf" and it will read configuration -information from them, just as if it was in /etc/multipath.conf. config_dir -must either be "" or a fully qualified directory name. +information from them, just as if it was in \fI/etc/multipath.conf\fR. +config_dir must either be "" or a fully qualified directory name. .RS .TP Default value is: \fB/etc/multipath/conf.d/\fR
@@ -714,7 +712,7 @@ The .I blacklist_exceptions section is used to revert the actions of the .I blacklist -section, ie to include specific device in the +section, for example to include specific device in the multipath topology. This allows one to selectively include devices which would normally be excluded via the .I blacklist
@@ -765,10 +763,10 @@ The subsection recognizes the following attributes: .TP 17 .B wwid -Index of the container. Mandatory for this subsection. +(Mandatory) Index of the container. .TP .B alias -(Optional) symbolic name for the multipath map. +(Optional) Symbolic name for the multipath map. .LP The following attributes are optional; if not set the default values are taken from the
@@ -824,20 +822,20 @@ The subsection recognizes the following attributes: .TP 17 .B vendor -(Mandatory) Vendor identifier +(Mandatory) Vendor identifier. .TP .B product -(Mandatory) Product identifier +(Mandatory) Product identifier. .TP .B revision -(Optional) Revision identfier +(Optional) Revision identfier. .TP .B product_blacklist -(Optional) Product strings to blacklist for this vendor +(Optional) Product strings to blacklist for this vendor. .TP .B alias_prefix (Optional) The user_friendly_names prefix to use for this -device type, instead of the default "mpath" +device type, instead of the default "mpath". .TP .B hardware_handler (Optional) The hardware handler to use for this device type.
@@ -975,11 +973,11 @@ sections: .PD .LP .SH "WWID generation" -Multipath uses a \fIWorld Wide Identification\fR (wwid) to determine +Multipath uses a \fIWorld Wide Identification\fR (WWID) to determine which paths belong to the same device. Each path presenting the same -wwid is assumed to point to the same device. +WWID is assumed to point to the same device. .LP -The wwid is generated by three methods (in the order of preference): +The WWID is generated by three methods (in the order of preference): .TP 17 .B getuid_callout Use the specified external program; cf \fIgetuid_callout\fR above.
@@ -997,7 +995,7 @@ variable. .B vpd_pg83 If none of the \fIgetuid_callout\fR or \fIuid_attribute\fR parameters are present multipath will try to use the sysfs attribute -\fIvpd_pg83\fR to generate the wwid. +\fIvpd_pg83\fR to generate the WWID. .SH "KNOWN ISSUES" The usage of .I queue_if_no_path
@@ -1019,13 +1017,14 @@ The multipath daemon will update the .I 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 +.I no_path_retry, queue_if_no_path, dev_loss_tmo. .SH "SEE ALSO" .BR udev (8), -.BR dmsetup (8) -.BR multipath (8) -.BR multipathd (8) +.BR dmsetup (8), +.BR multipath (8), +.BR multipathd (8). + .SH AUTHORS -.I multipath +.I multipath-tools was developed by Christophe Varoqui, <[email protected]> and others.
Signature · 1 line
2.7.4
Quoted 1 line · Xose Vazquez Perez
Final result in PDF(35k): https://drive.google.com/file/d/0B_B6YmEmO7cDa09mdTlGa1NlSWc
raw file: https://drive.google.com/file/d/0B_B6YmEmO7cDcHlIVG5GcVlfWGM
to see it in color with less as pager:
export LESS_TERMCAP_mb=$'\e[00;35m'
export LESS_TERMCAP_md=$'\e[00;36m'
export LESS_TERMCAP_me=$'\e[0m'
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_so=$'\e[00;44;37m'
export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[00;33m'
export GROFF_NO_SGR=1
export MANPAGER=less
with most is instant:
export MANPAGER=most
Nice.
This patchset is merged.
Thanks.
Quoted 22 lines · Xose Vazquez Perez
Quoted 1 line · Xose Vazquez Perez
Final result in PDF(35k):
https://drive.google.com/file/d/0B_B6YmEmO7cDa09mdTlGa1NlSWc
raw file: https://drive.google.com/file/d/0B_B6YmEmO7cDcHlIVG5GcVlfWGM
to see it in color with less as pager:
export LESS_TERMCAP_mb=$'\e[00;35m'
export LESS_TERMCAP_md=$'\e[00;36m'
export LESS_TERMCAP_me=$'\e[0m'
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_so=$'\e[00;44;37m'
export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[00;33m'
export GROFF_NO_SGR=1
export MANPAGER=lesswith most is instant:
export MANPAGER=most