4fa3700b25
commit id: eb87cbd0df8adf61d1c74c025f7326d833350f78) fixed 451817, 456397 (scsi_id_change.patch), 457530 (config_space_fix.patch) 457589 (static_libaio.patch)
479 lines
16 KiB
Diff
479 lines
16 KiB
Diff
Index: multipath-tools/libmultipath/defaults.h
|
|
===================================================================
|
|
--- multipath-tools.orig/libmultipath/defaults.h
|
|
+++ multipath-tools/libmultipath/defaults.h
|
|
@@ -1,4 +1,4 @@
|
|
-#define DEFAULT_GETUID "/sbin/scsi_id -g -u -s /block/%n"
|
|
+#define DEFAULT_GETUID "/sbin/scsi_id --whitelisted /dev/%n"
|
|
#define DEFAULT_UDEVDIR "/dev"
|
|
#define DEFAULT_MULTIPATHDIR "/lib/multipath"
|
|
#define DEFAULT_SELECTOR "round-robin 0"
|
|
Index: multipath-tools/libmultipath/hwtable.c
|
|
===================================================================
|
|
--- multipath-tools.orig/libmultipath/hwtable.c
|
|
+++ multipath-tools/libmultipath/hwtable.c
|
|
@@ -172,7 +172,7 @@ static struct hwentry default_hw[] = {
|
|
/* HP Smart Array */
|
|
.vendor = "HP",
|
|
.product = "LOGICAL VOLUME.*",
|
|
- .getuid = "/sbin/scsi_id -n -g -u -s /block/%n",
|
|
+ .getuid = "/sbin/scsi_id --whitelisted /dev/%n",
|
|
.features = DEFAULT_FEATURES,
|
|
.hwhandler = DEFAULT_HWHANDLER,
|
|
.selector = DEFAULT_SELECTOR,
|
|
@@ -214,7 +214,7 @@ static struct hwentry default_hw[] = {
|
|
{
|
|
.vendor = "EMC",
|
|
.product = "SYMMETRIX",
|
|
- .getuid = "/sbin/scsi_id -g -u -ppre-spc3-83 -s /block/%n",
|
|
+ .getuid = "/sbin/scsi_id --page=pre-spc3-83 --whitelisted /dev/%n",
|
|
.features = DEFAULT_FEATURES,
|
|
.hwhandler = DEFAULT_HWHANDLER,
|
|
.selector = DEFAULT_SELECTOR,
|
|
@@ -679,7 +679,7 @@ static struct hwentry default_hw[] = {
|
|
{
|
|
.vendor = "PIVOT3",
|
|
.product = "RAIGE VOLUME",
|
|
- .getuid = "/sbin/scsi_id -p 0x80 -g -u -s /block/%n",
|
|
+ .getuid = "/sbin/scsi_id --page=0x80 --whitelisted /dev/%n",
|
|
.features = "1 queue_if_no_path",
|
|
.hwhandler = DEFAULT_HWHANDLER,
|
|
.selector = DEFAULT_SELECTOR,
|
|
Index: multipath-tools/multipath.conf.annotated
|
|
===================================================================
|
|
--- multipath-tools.orig/multipath.conf.annotated
|
|
+++ multipath-tools/multipath.conf.annotated
|
|
@@ -55,9 +55,9 @@
|
|
# # scope : multipath
|
|
# # desc : the default program and args to callout to obtain a unique
|
|
# # path identifier. Absolute path required
|
|
-# # default : /sbin/scsi_id -g -u -s
|
|
+# # default : /sbin/scsi_id --whitelisted
|
|
# #
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
#
|
|
# #
|
|
# # name : prio
|
|
@@ -336,7 +336,7 @@
|
|
# # desc : the program and args to callout to obtain a unique
|
|
# # path identifier. Absolute path required
|
|
# #
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
#
|
|
# #
|
|
# # name : path_selector
|
|
Index: multipath-tools/multipath.conf.defaults
|
|
===================================================================
|
|
--- multipath-tools.orig/multipath.conf.defaults
|
|
+++ multipath-tools/multipath.conf.defaults
|
|
@@ -6,7 +6,7 @@
|
|
# polling_interval 5
|
|
# selector "round-robin 0"
|
|
# path_grouping_policy failover
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# prio const
|
|
# path_checker directio
|
|
# rr_min_io 1000
|
|
@@ -26,7 +26,7 @@
|
|
# device {
|
|
# vendor "APPLE*"
|
|
# product "Xserve RAID"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -39,7 +39,7 @@
|
|
# device {
|
|
# vendor "3PARdata"
|
|
# product "VV"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -52,7 +52,7 @@
|
|
# device {
|
|
# vendor "DEC"
|
|
# product "HSG80"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "1 hp-sw"
|
|
# path_selector "round-robin 0"
|
|
@@ -65,7 +65,7 @@
|
|
# device {
|
|
# vendor "HP"
|
|
# product "A6189A"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -79,7 +79,7 @@
|
|
# device {
|
|
# vendor "(COMPAQ|HP)"
|
|
# product "(MSA|HSV)1.0.*"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "1 hp-sw"
|
|
# path_selector "round-robin 0"
|
|
@@ -93,7 +93,7 @@
|
|
# device {
|
|
# vendor "HP"
|
|
# product "MSA VOLUME"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -123,7 +123,7 @@
|
|
# device {
|
|
# vendor "(COMPAQ|HP)"
|
|
# product "HSV1[01]1|HSV2[01]0|HSV300"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -138,7 +138,7 @@
|
|
# device {
|
|
# vendor "HP"
|
|
# product "MSA2[02]12*"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -153,7 +153,7 @@
|
|
# device {
|
|
# vendor "HP"
|
|
# product "LOGICAL VOLUME.*"
|
|
-# getuid_callout "/sbin/scsi_id -n -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -168,7 +168,7 @@
|
|
# device {
|
|
# vendor "DDN"
|
|
# product "SAN DataDirector"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -181,7 +181,7 @@
|
|
# device {
|
|
# vendor "EMC"
|
|
# product "SYMMETRIX"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -ppre-spc3-83 -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --page=pre-spc3-83 --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -195,7 +195,7 @@
|
|
# vendor "DGC"
|
|
# product ".*"
|
|
# product_blacklist "LUNZ"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# prio_callout "/sbin/mpath_prio_emc /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "1 emc"
|
|
@@ -211,7 +211,7 @@
|
|
# device {
|
|
# vendor "FSC"
|
|
# product "CentricStor"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -224,7 +224,7 @@
|
|
# device {
|
|
# vendor "(HITACHI|HP)"
|
|
# product "OPEN-.*"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -237,7 +237,7 @@
|
|
# device {
|
|
# vendor "HITACHI"
|
|
# product "DF.*"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -251,7 +251,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "ProFibre 4000R"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -264,7 +264,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "1722-600"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
@@ -279,7 +279,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "1742"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
@@ -294,7 +294,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "1814"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
@@ -309,7 +309,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "1815"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
@@ -324,7 +324,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "3526"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
@@ -339,7 +339,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "3542"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -352,7 +352,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "2105(800|F20)"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -365,7 +365,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "1750500"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -379,7 +379,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "2107900"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -392,7 +392,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "2145"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -420,7 +420,7 @@
|
|
# device {
|
|
# vendor "NETAPP"
|
|
# product "LUN.*"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -434,7 +434,7 @@
|
|
# device {
|
|
# vendor "IBM"
|
|
# product "Nseries.*"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -448,7 +448,7 @@
|
|
# device {
|
|
# vendor "Pillar"
|
|
# product "Axiom.*"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -461,7 +461,7 @@
|
|
# device {
|
|
# vendor "SGI"
|
|
# product "TP9[13]00"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -474,7 +474,7 @@
|
|
# device {
|
|
# vendor "SGI"
|
|
# product "TP9[45]00"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
@@ -489,7 +489,7 @@
|
|
# device {
|
|
# vendor "SGI"
|
|
# product "IS.*"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
@@ -504,7 +504,7 @@
|
|
# device {
|
|
# vendor "STK"
|
|
# product "OPENstorage D280"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -518,7 +518,7 @@
|
|
# device {
|
|
# vendor "SUN"
|
|
# product "(StorEdge 3510|T4)"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -531,7 +531,7 @@
|
|
# device {
|
|
# vendor "PIVOT3"
|
|
# product "RAIGE VOLUME"
|
|
-# getuid_callout "/sbin/scsi_id -p 0x80 -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --page=0x80 --whitelisted /dev/%n"
|
|
# features "1 queue_if_no_path"
|
|
# hardware_handler "0"
|
|
# path_selector "round-robin 0"
|
|
@@ -544,7 +544,7 @@
|
|
# device {
|
|
# vendor "SUN"
|
|
# product "CSM200_R"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
@@ -559,7 +559,7 @@
|
|
# device {
|
|
# vendor "SUN"
|
|
# product "LCSM100_F"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
@@ -574,7 +574,7 @@
|
|
# device {
|
|
# vendor "DELL"
|
|
# product "MD3000"
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# features "0"
|
|
# hardware_handler "1 rdac"
|
|
# path_selector "round-robin 0"
|
|
Index: multipath-tools/multipath.conf.synthetic
|
|
===================================================================
|
|
--- multipath-tools.orig/multipath.conf.synthetic
|
|
+++ multipath-tools/multipath.conf.synthetic
|
|
@@ -7,7 +7,7 @@
|
|
# polling_interval 10
|
|
# selector "round-robin 0"
|
|
# path_grouping_policy multibus
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# prio const
|
|
# path_checker directio
|
|
# rr_min_io 100
|
|
@@ -52,7 +52,7 @@
|
|
# vendor "COMPAQ "
|
|
# product "HSV110 (C)COMPAQ"
|
|
# path_grouping_policy multibus
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id -whitelisted /block/%n"
|
|
# path_checker directio
|
|
# path_selector "round-robin 0"
|
|
# hardware_handler "0"
|
|
Index: multipath-tools/multipath/multipath.conf.5
|
|
===================================================================
|
|
--- multipath-tools.orig/multipath/multipath.conf.5
|
|
+++ multipath-tools/multipath/multipath.conf.5
|
|
@@ -109,7 +109,7 @@ Default value is \fImultibus\fR.
|
|
The default program and args to callout to obtain a unique path
|
|
identifier. Should be specified with an absolute path. Default value
|
|
is
|
|
-.I /lib/udev/scsi_id -g -u -s
|
|
+.I /lib/udev/scsi_id --whitelisted
|
|
.TP
|
|
.B prio_callout
|
|
The default program and args to callout to obtain a path priority
|
|
Index: multipath-tools/multipath/multipath.conf.redhat
|
|
===================================================================
|
|
--- multipath-tools.orig/multipath/multipath.conf.redhat
|
|
+++ multipath-tools/multipath/multipath.conf.redhat
|
|
@@ -35,7 +35,7 @@ defaults {
|
|
# polling_interval 10
|
|
# selector "round-robin 0"
|
|
# path_grouping_policy multibus
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# prio alua
|
|
# path_checker readsector0
|
|
# rr_min_io 100
|
|
@@ -81,7 +81,7 @@ defaults {
|
|
# vendor "COMPAQ "
|
|
# product "HSV110 (C)COMPAQ"
|
|
# path_grouping_policy multibus
|
|
-# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
|
|
+# getuid_callout "/sbin/scsi_id --whitelisted /dev/%n"
|
|
# path_checker readsector0
|
|
# path_selector "round-robin 0"
|
|
# hardware_handler "0"
|