* multipath-tools ./multipath.conf.defaults libm ...
@ 2010-09-14 19:42 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2010-09-14 19:42 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2010-09-14 19:42:38
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #580729. Removed the /bin/true prio callout. It works the same as
not having one, and it's not statically compiled, and thus can cause problems on
RHEL 5.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.25&r2=1.5.4.26
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.31&r2=1.20.2.32
--- multipath-tools/multipath.conf.defaults 2010/09/03 22:23:22 1.5.4.25
+++ multipath-tools/multipath.conf.defaults 2010/09/14 19:42:37 1.5.4.26
@@ -89,7 +89,6 @@
# vendor "HP"
# product "MSA2[02]12fc|MSA2012i"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/bin/true"
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
--- multipath-tools/libmultipath/hwtable.c 2010/09/03 03:46:12 1.20.2.31
+++ multipath-tools/libmultipath/hwtable.c 2010/09/14 19:42:37 1.20.2.32
@@ -127,7 +127,7 @@
.vendor = "HP",
.product = "MSA2[02]12fc|MSA2012i",
.getuid = DEFAULT_GETUID,
- .getprio = "/bin/true",
+ .getprio = NULL,
.features = DEFAULT_FEATURES,
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2012-06-14 21:56 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2012-06-14 21:56 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2012-06-14 21:56:47
Modified files:
. : multipath.conf.defaults
libmultipath : alias.c alias.h config.h hwtable.c propsel.c
multipath : main.c multipath.8
multipathd : main.c
Log message:
Fixes for RHBZs #747180, 771571, 783522, 769990, 788965
None of these are applicable upstream
747180: added -r to man page
771571: fixed return value for -h
783522: made multipathd flush logs on shutdown
769990: added -B option to make bindings file read-only
788965: added support for the Fujitsu ETERNUS
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.30&r2=1.5.4.31
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/alias.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.4.2.2&r2=1.4.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/alias.h.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.2&r2=1.2.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/config.h.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.18.2.16&r2=1.18.2.17
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.37&r2=1.20.2.38
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/propsel.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.11.2.6&r2=1.11.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath/main.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.44.2.11&r2=1.44.2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath/multipath.8.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.9.2.1&r2=1.9.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/main.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.69.2.40&r2=1.69.2.41
--- multipath-tools/multipath.conf.defaults 2011/10/10 04:15:41 1.5.4.30
+++ multipath-tools/multipath.conf.defaults 2012/06/14 21:56:47 1.5.4.31
@@ -180,7 +180,21 @@
# rr_min_io 1000
# path_checker readsector0
# }
-# device {
+# device {
+# vendor "FUJITSU"
+# product "ETERNUS_DX(L|400|8000)"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
+# features "1 queue_if_no_path"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry 10
+# rr_min_io 1000
+# path_checker tur
+# }
+# device {
# vendor "(HITACHI|HP)"
# product "OPEN-.*"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
--- multipath-tools/libmultipath/alias.c 2007/06/11 23:24:09 1.4.2.2
+++ multipath-tools/libmultipath/alias.c 2012/06/14 21:56:47 1.4.2.3
@@ -307,7 +307,7 @@
}
char *
-get_user_friendly_alias(char *wwid, char *file)
+get_user_friendly_alias(char *wwid, char *file, int bindings_read_only)
{
char *alias;
int fd, scan_fd, id;
@@ -348,7 +348,7 @@
return NULL;
}
- if (!alias && can_write)
+ if (!alias && can_write && !bindings_read_only)
alias = allocate_binding(fd, wwid, id);
fclose(f);
--- multipath-tools/libmultipath/alias.h 2006/06/06 18:32:43 1.2
+++ multipath-tools/libmultipath/alias.h 2012/06/14 21:56:47 1.2.2.1
@@ -8,5 +8,5 @@
"# alias wwid\n" \
"#\n"
-char *get_user_friendly_alias(char *wwid, char *file);
+char *get_user_friendly_alias(char *wwid, char *file, int bindings_readonly);
char *get_user_friendly_wwid(char *alias, char *file);
--- multipath-tools/libmultipath/config.h 2011/10/27 21:36:20 1.18.2.16
+++ multipath-tools/libmultipath/config.h 2012/06/14 21:56:47 1.18.2.17
@@ -73,6 +73,7 @@
int rr_weight;
int no_path_retry;
int user_friendly_names;
+ int bindings_read_only;
int pg_timeout;
int max_fds;
int force_reload;
--- multipath-tools/libmultipath/hwtable.c 2012/01/16 22:22:05 1.20.2.37
+++ multipath-tools/libmultipath/hwtable.c 2012/06/14 21:56:47 1.20.2.38
@@ -360,6 +360,21 @@
.minio = DEFAULT_MINIO,
.checker_name = READSECTOR0,
},
+ {
+ .vendor = "FUJITSU",
+ .product = "ETERNUS_DX(L|400|8000)",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_alua /dev/%n",
+ .features = "1 queue_if_no_path",
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 10,
+ .minio = DEFAULT_MINIO,
+ .checker_name = TUR,
+ },
/*
* Hitachi controller family
*
--- multipath-tools/libmultipath/propsel.c 2011/02/18 18:27:00 1.11.2.6
+++ multipath-tools/libmultipath/propsel.c 2012/06/14 21:56:47 1.11.2.7
@@ -165,7 +165,8 @@
mp->alias = NULL;
if (conf->user_friendly_names)
mp->alias = get_user_friendly_alias(mp->wwid,
- conf->bindings_file);
+ conf->bindings_file,
+ conf->bindings_read_only);
if (mp->alias == NULL){
char *alias;
if ((alias = MALLOC(WWID_SIZE)) != NULL){
--- multipath-tools/multipath/main.c 2011/10/24 13:44:25 1.44.2.11
+++ multipath-tools/multipath/main.c 2012/06/14 21:56:47 1.44.2.12
@@ -1,7 +1,7 @@
/*
* Soft: multipath device mapper target autoconfig
*
- * Version: $Id: main.c,v 1.44.2.11 2011/10/24 13:44:25 bmarzins Exp $
+ * Version: $Id: main.c,v 1.44.2.12 2012/06/14 21:56:47 bmarzins Exp $
*
* Author: Christophe Varoqui
*
@@ -106,7 +106,6 @@
"\t\t\tor major:minor or a device map name)\n" \
);
- exit(1);
}
static int
@@ -343,20 +342,25 @@
if (load_config(DEFAULT_CONFIGFILE))
exit(1);
- while ((arg = getopt(argc, argv, ":dhl::FfM:v:p:b:rq")) != EOF ) {
+ while ((arg = getopt(argc, argv, ":dchl::FfM:v:p:b:Brq")) != EOF ) {
switch(arg) {
case 1: printf("optarg : %s\n",optarg);
break;
case 'v':
if (sizeof(optarg) > sizeof(char *) ||
- !isdigit(optarg[0]))
+ !isdigit(optarg[0])) {
usage (argv[0]);
+ exit(1);
+ }
conf->verbosity = atoi(optarg);
break;
case 'q':
conf->allow_queueing = 1;
break;
+ case 'B':
+ conf->bindings_read_only = 1;
+ break;
case 'b':
if (conf->bindings_file)
FREE(conf->bindings_file);
@@ -389,6 +393,7 @@
if (conf->pgpolicy_flag == -1) {
printf("'%s' is not a valid policy\n", optarg);
usage(argv[0]);
+ exit(1);
}
break;
case 'r':
@@ -396,14 +401,18 @@
break;
case 'h':
usage(argv[0]);
+ exit(0);
case ':':
fprintf(stderr, "Missing option arguement\n");
usage(argv[0]);
+ exit(1);
case '?':
fprintf(stderr, "Unknown switch: %s\n", optarg);
usage(argv[0]);
+ exit(1);
default:
usage(argv[0]);
+ exit(1);
}
}
if (optind < argc) {
--- multipath-tools/multipath/multipath.8 2009/11/24 22:12:35 1.9.2.1
+++ multipath-tools/multipath/multipath.8 2012/06/14 21:56:47 1.9.2.2
@@ -6,7 +6,7 @@
.RB [\| \-v\ \c
.IR verbosity \|]
.RB [\| \-d \|]
-.RB [\| \-h | \-l | \-ll | \-f | \-F \|]
+.RB [\| \-h | \-l | \-ll | \-f | \-F | \-B \|]
.RB [\| \-p\ \c
.BR failover | multibus | group_by_serial | group_by_prio | group_by_node_name \|]
.RB [\| device \|]
@@ -47,6 +47,12 @@
.B \-F
flush all unused multipath device maps
.TP
+.B \-r
+force maps to reload
+.TP
+.B \-B
+treat the bindings file as read only
+.TP
.BI \-p " policy"
force maps to specified policy:
.RS 1.2i
--- multipath-tools/multipathd/main.c 2012/03/22 18:02:34 1.69.2.40
+++ multipath-tools/multipathd/main.c 2012/06/14 21:56:47 1.69.2.41
@@ -1708,7 +1708,7 @@
condlog(2, "read " DEFAULT_CONFIGFILE);
if (load_config(DEFAULT_CONFIGFILE))
- exit(1);
+ goto err;
setlogmask(LOG_UPTO(conf->verbosity + 3));
@@ -1731,27 +1731,27 @@
}
if (pidfile_create(DEFAULT_PIDFILE, getpid())) {
- if (logsink)
- log_thread_stop();
-
- exit(1);
+ condlog(0, "can not create pid file");
+ goto err;
}
signal_init();
setscheduler();
set_oom_adj(-16);
vecs = gvecs = init_vecs();
- if (!vecs)
- exit(1);
+ if (!vecs) {
+ condlog(0, "can not allocate path vector");
+ goto err;
+ }
if (sysfs_get_mnt_path(sysfs_path, FILE_NAME_SIZE)) {
condlog(0, "can not find sysfs mount point");
- exit(1);
+ goto err;
}
#ifdef CLONE_NEWNS
if (new_ns && prepare_namespace() < 0) {
condlog(0, "cannot prepare namespace");
- exit(1);
+ goto err;
}
#endif
@@ -1760,7 +1760,7 @@
*/
if (configure(vecs, 1)) {
condlog(0, "failure during configuration");
- exit(1);
+ goto err;
}
/*
@@ -1807,7 +1807,7 @@
if (ret) {
condlog(0, "error while waiting for event threads: %s",
strerror(errno));
- exit(1);
+ goto err;
}
unlock(vecs->lock);
pthread_mutex_destroy(vecs->lock);
@@ -1837,6 +1837,10 @@
#endif
exit(0);
+err:
+ if(logsink)
+ log_thread_stop();
+ exit(1);
}
static int
@@ -1895,7 +1899,7 @@
if (!conf)
exit(1);
- while ((arg = getopt(argc, argv, ":dv:k::")) != EOF ) {
+ while ((arg = getopt(argc, argv, ":dv:k::B")) != EOF ) {
switch(arg) {
case 'd':
logsink = 0;
@@ -1908,6 +1912,9 @@
conf->verbosity = atoi(optarg);
break;
+ case 'B':
+ conf->bindings_read_only = 1;
+ break;
case 'k':
err = uxclnt(optarg);
exit(err);
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2011-01-21 16:57 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2011-01-21 16:57 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: bmarzins@sourceware.org 2011-01-21 16:57:44
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Remove old config entry, and update multipath.conf.defaults
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.13&r2=1.5.2.14
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.16.2.18&r2=1.16.2.19
--- multipath-tools/multipath.conf.defaults 2009/09/11 15:19:50 1.5.2.13
+++ multipath-tools/multipath.conf.defaults 2011/01/21 16:57:43 1.5.2.14
@@ -87,9 +87,9 @@
# vendor "HP"
# product "HSVX700"
# path_grouping_policy group_by_prio
-# prio_callout "/sbin/mpath_prio_alua /dev/%n"
-# hardware_handler "1 alua"
-# path_checker tur
+# prio_callout "/sbin/mpath_prio_hp_sw /dev/%n"
+# hardware_handler "0"
+# path_checker hp_sw
# failback immediate
# no_path_retry 12
# rr_min_io 100
--- multipath-tools/libmultipath/hwtable.c 2010/10/27 18:55:55 1.16.2.18
+++ multipath-tools/libmultipath/hwtable.c 2011/01/21 16:57:44 1.16.2.19
@@ -54,10 +54,6 @@
GROUP_BY_PRIO, DEFAULT_GETUID,
"/sbin/mpath_prio_alua /dev/%n", "0", "0", "tur",
-FAILBACK_IMMEDIATE, NULL, 18, 0, 100);
- r += store_hwe_ext(hw, "HP", "HSVX700",
- GROUP_BY_PRIO, DEFAULT_GETUID,
- "/sbin/mpath_prio_alua /dev/%n", "1 alua", "0",
- "tur", -FAILBACK_IMMEDIATE, NULL, 12, 0, 100);
r += store_hwe_ext(hw, "HP", "MSA2000s*", MULTIBUS, "/sbin/cciss_id %n",
NULL, "0", "0", "cciss_tur", FAILBACK_UNDEF, NULL,
12, 0, 0);
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2010-11-12 20:17 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2010-11-12 20:17 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2010-11-12 20:17:12
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #647358. Update and add HP default configurations
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.27&r2=1.5.4.28
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.33&r2=1.20.2.34
--- multipath-tools/multipath.conf.defaults 2010/09/21 18:06:04 1.5.4.27
+++ multipath-tools/multipath.conf.defaults 2010/11/12 20:17:09 1.5.4.28
@@ -59,7 +59,7 @@
# }
# device {
# vendor "(COMPAQ|HP)"
-# product "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0"
+# product "HSV1[01]1|HSV2[01]0|HSV3[046]0|HSV4[05]0"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua /dev/%n"
# features "0"
@@ -67,7 +67,7 @@
# path_grouping_policy group_by_prio
# failback immediate
# rr_weight uniform
-# no_path_retry 12
+# no_path_retry 18
# rr_min_io 100
# path_checker tur
# }
@@ -163,6 +163,20 @@
# path_checker cciss_tur
# }
# device {
+# vendor "HP"
+# product "P2000 G3*|P2000G3 FC/iSCSI"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry 18
+# rr_min_io 100
+# path_checker tur
+# }
+# device {
# vendor "DDN"
# product "SAN DataDirector"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
--- multipath-tools/libmultipath/hwtable.c 2010/09/21 18:06:05 1.20.2.33
+++ multipath-tools/libmultipath/hwtable.c 2010/11/12 20:17:12 1.20.2.34
@@ -91,9 +91,9 @@
.checker_name = HP_SW,
},
{
- /* EVA 3000/5000 with new firmware, EVA 4000/6000/8000, EVA 4400 */
+ /* EVA 3000/5000 with new firmware, EVA 4x00/6x00/8x00 */
.vendor = "(COMPAQ|HP)",
- .product = "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]|HSV4[05]0",
+ .product = "HSV1[01]1|HSV2[01]0|HSV3[046]0|HSV4[05]0",
.getuid = DEFAULT_GETUID,
.getprio = "/sbin/mpath_prio_alua /dev/%n",
.features = DEFAULT_FEATURES,
@@ -102,7 +102,7 @@
.pgpolicy = GROUP_BY_PRIO,
.pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
- .no_path_retry = 12,
+ .no_path_retry = 18,
.minio = 100,
.checker_name = TUR,
},
@@ -201,6 +201,22 @@
.minio = DEFAULT_MINIO,
.checker_name = CCISS_TUR,
},
+ {
+ /* HP P2000 product family */
+ .vendor = "HP",
+ .product = "P2000 G3*|P2000G3 FC/iSCSI",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_alua /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 18,
+ .minio = 100,
+ .checker_name = TUR,
+ },
/*
* DDN controller family
*
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2010-09-21 18:06 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2010-09-21 18:06 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2010-09-21 18:06:05
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #573495. New default config for EUROLOGC/FC2502 storage.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.26&r2=1.5.4.27
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.32&r2=1.20.2.33
--- multipath-tools/multipath.conf.defaults 2010/09/14 19:42:37 1.5.4.26
+++ multipath-tools/multipath.conf.defaults 2010/09/21 18:06:04 1.5.4.27
@@ -670,4 +670,15 @@
# rr_min_io 1000
# path_checker directio
# }
+# device {
+# vendor "EUROLOGC"
+# product "FC2502"
+# getuid_callout "/sbin/scsi_id -p 0x80 -g -u -s /block/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
+# }
#}
--- multipath-tools/libmultipath/hwtable.c 2010/09/14 19:42:37 1.20.2.32
+++ multipath-tools/libmultipath/hwtable.c 2010/09/21 18:06:05 1.20.2.33
@@ -983,6 +983,27 @@
.checker_name = DIRECTIO,
},
/*
+ * EUROLOGC devices
+ *
+ * Maintainer : Benjamin Marzinski
+ * Mail : bmarzins@redhat.com
+ */
+ {
+ .vendor = "EUROLOGC",
+ .product = "FC2502",
+ .getuid = "/sbin/scsi_id -p 0x80 -g -u -s /block/%n",
+ .getprio = NULL,
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = MULTIBUS,
+ .pgfailback = FAILBACK_UNDEF,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_UNDEF,
+ .minio = DEFAULT_MINIO,
+ .checker_name = DEFAULT_CHECKER,
+ },
+ /*
* EOL
*/
{
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2010-09-03 3:46 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2010-09-03 3:46 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2010-09-03 03:46:12
Modified files:
. : multipath.conf.defaults
libmultipath : discovery.c discovery.h hwtable.c
Log message:
Fix for bz #484419. Now that the RHEL5 kernel exports everything necessary
to sysfs, get all the cciss specific sysfs pathinfo correctly.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.23&r2=1.5.4.24
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/discovery.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.32.2.15&r2=1.32.2.16
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/discovery.h.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.14.2.4&r2=1.14.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.30&r2=1.20.2.31
--- multipath-tools/multipath.conf.defaults 2010/08/24 21:51:10 1.5.4.23
+++ multipath-tools/multipath.conf.defaults 2010/09/03 03:46:11 1.5.4.24
@@ -150,6 +150,19 @@
# path_checker tur
# }
# device {
+# vendor "HP"
+# product "LOGICAL VOLUME.*"
+# getuid_callout "/sbin/cciss_id /dev/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# failback immediate
+# rr_weight uniform
+# no_path_retry 12
+# rr_min_io 1000
+# path_checker cciss_tur
+# }
+# device {
# vendor "DDN"
# product "SAN DataDirector"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
--- multipath-tools/libmultipath/discovery.c 2010/08/11 23:05:50 1.32.2.15
+++ multipath-tools/libmultipath/discovery.c 2010/09/03 03:46:12 1.32.2.16
@@ -250,8 +250,10 @@
declare_sysfs_get_str(model, "%s/block/%s/device/model", 1);
declare_sysfs_get_str(rev, "%s/block/%s/device/rev", 1);
declare_sysfs_get_str(dev, "%s/block/%s/dev", 1);
-declare_sysfs_get_str(bustype, "%s/block/%s/device/bus", 1);
declare_sysfs_get_str(state, "%s/block/%s/device/state", 0);
+declare_sysfs_get_str(cciss_vendor, "%s/block/%s/vendor", 1);
+declare_sysfs_get_str(cciss_model, "%s/block/%s/model", 1);
+declare_sysfs_get_str(cciss_rev, "%s/block/%s/rev", 1);
int
sysfs_get_timeout (char * sysfs_path, char * dev, unsigned int *timeout)
@@ -475,6 +477,24 @@
}
static int
+sysfs_get_driver (char *sysfs_path, char * dev, char *driver)
+{
+ char path[FILE_NAME_SIZE];
+ char buff[SYSFS_NAME_LEN];
+
+ if (safe_sprintf(path, "%s/block/%s/device/driver", sysfs_path, dev)) {
+ condlog(0, "driver path too small");
+ return 1;
+ }
+ if (sysfs_get_link(path, buff, SYSFS_NAME_LEN) < 0) {
+ condlog(0, "can't get driver link: %s", strerror(errno));
+ return 1;
+ }
+ basename(buff, driver);
+ return 0;
+}
+
+static int
sysfs_get_bus (char * sysfs_path, struct path * pp)
{
struct sysfs_device *sdev;
@@ -517,8 +537,8 @@
while (loop--) {
sdev = sysfs_open_device_path(attr_buff);
if(!strncmp(pp->dev,"cciss",5))
- sysfs_get_bustype(sysfs_path,pp->dev,
- sdev->bus,5);
+ sysfs_get_driver(sysfs_path, pp->dev,
+ sdev->bus);
if (strlen(sdev->bus))
break;
@@ -529,8 +549,8 @@
#else
sdev = sysfs_open_device_path(attr_buff);
if(!strncmp(pp->dev,"cciss",5))
- sysfs_get_bustype(sysfs_path, pp->dev,
- sdev->bus,5);
+ sysfs_get_driver(sysfs_path, pp->dev,
+ sdev->bus);
#endif
if (!strncmp(sdev->bus, "scsi", 4))
@@ -692,20 +712,33 @@
static int
cciss_sysfs_pathinfo (struct path * curpath)
{
+ unsigned int controller, lun;
+ char dev_path[FILE_NAME_SIZE];
+
+ if (sscanf(curpath->dev, "cciss!c%ud%u", &controller, &lun) != 2) {
+ condlog(0, "invalid cciss device name : '%s'", curpath->dev);
+ return 1;
+ }
+
+ if(safe_sprintf(dev_path, "%s/device/cciss%u/c%ud%u", curpath->dev,
+ controller, controller, lun)) {
+ condlog(0, "dev_path too small");
+ return 1;
+ }
- if (sysfs_get_vendor(sysfs_path, curpath->dev,
+ if (sysfs_get_cciss_vendor(sysfs_path, dev_path,
curpath->vendor_id, SCSI_VENDOR_SIZE))
return 1;
condlog(3, "vendor = %s", curpath->vendor_id);
- if (sysfs_get_model(sysfs_path, curpath->dev,
+ if (sysfs_get_cciss_model(sysfs_path, dev_path,
curpath->product_id, SCSI_PRODUCT_SIZE))
return 1;
condlog(3, "product = %s", curpath->product_id);
- if (sysfs_get_rev(sysfs_path, curpath->dev,
+ if (sysfs_get_cciss_rev(sysfs_path, dev_path,
curpath->rev, SCSI_REV_SIZE))
return 1;
--- multipath-tools/libmultipath/discovery.h 2010/06/23 16:28:07 1.14.2.4
+++ multipath-tools/libmultipath/discovery.h 2010/09/03 03:46:12 1.14.2.5
@@ -30,7 +30,6 @@
int sysfs_get_model (char * sysfs_path, char * dev, char * buff, int len);
int sysfs_get_rev (char * sysfs_path, char * dev, char * buff, int len);
int sysfs_get_dev (char * sysfs_path, char * dev, char * buff, int len);
-int sysfs_get_bustype (char * sysfs_path, char * dev, char * buff, int len);
int sysfs_get_state (char * sysfs_path, char * dev, char * buff, int len);
int sysfs_get_size (char * sysfs_path, char * dev, unsigned long long *);
int sysfs_get_timeout (char * sysfs_path, char * dev, unsigned int *timeout);
--- multipath-tools/libmultipath/hwtable.c 2010/08/24 21:51:10 1.20.2.30
+++ multipath-tools/libmultipath/hwtable.c 2010/09/03 03:46:12 1.20.2.31
@@ -185,6 +185,22 @@
.minio = DEFAULT_MINIO,
.checker_name = READSECTOR0,
},
+ {
+ /* HP Smart Array */
+ .vendor = "HP",
+ .product = "LOGICAL VOLUME.*",
+ .getuid = "/sbin/cciss_id /dev/%n",
+ .getprio = NULL,
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = MULTIBUS,
+ .pgfailback = FAILBACK_UNDEF,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 12,
+ .minio = DEFAULT_MINIO,
+ .checker_name = CCISS_TUR,
+ },
/*
* DDN controller family
*
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2010-08-24 21:51 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2010-08-24 21:51 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2010-08-24 21:51:10
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
path_priority/pp_hds_modular: pp_hds_modular.c
Log message:
Fix for bz #559852. mpath_prio_hds_modular can now accept a pathname as well
as the major:minor. The default config has been switched to use this. This
allows the callout to work even if they can't create any files on /tmp. Not
Applicable upstream.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.22&r2=1.5.4.23
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.29&r2=1.20.2.30
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_hds_modular/pp_hds_modular.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.2&r2=1.2.2.1
--- multipath-tools/multipath.conf.defaults 2010/08/09 21:35:58 1.5.4.22
+++ multipath-tools/multipath.conf.defaults 2010/08/24 21:51:10 1.5.4.23
@@ -267,7 +267,7 @@
# vendor "HITACHI"
# product "DF.*"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_hds_modular %d"
+# prio_callout "/sbin/mpath_prio_hds_modular /dev/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy group_by_prio
@@ -395,7 +395,7 @@
# vendor "IBM"
# product "1750500"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_alua %d"
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
# features "1 queue_if_no_path"
# hardware_handler "0"
# path_grouping_policy group_by_prio
@@ -482,7 +482,7 @@
# vendor "Pillar"
# product "Axiom [35]00"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_alua %d"
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy group_by_prio
--- multipath-tools/libmultipath/hwtable.c 2010/08/09 21:35:58 1.20.2.29
+++ multipath-tools/libmultipath/hwtable.c 2010/08/24 21:51:10 1.20.2.30
@@ -289,7 +289,7 @@
.vendor = "HITACHI",
.product = "DF.*",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_hds_modular %d",
+ .getprio = "/sbin/mpath_prio_hds_modular /dev/%n",
.features = DEFAULT_FEATURES,
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
@@ -646,7 +646,7 @@
.vendor = "Pillar",
.product = "Axiom [35]00",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_alua %d",
+ .getprio = "/sbin/mpath_prio_alua /dev/%n",
.features = DEFAULT_FEATURES,
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
--- multipath-tools/path_priority/pp_hds_modular/pp_hds_modular.c 2006/06/06 18:32:44 1.2
+++ multipath-tools/path_priority/pp_hds_modular/pp_hds_modular.c 2010/08/24 21:51:10 1.2.2.1
@@ -99,7 +99,7 @@
int verbose;
-int hds_modular_prio(char * major_minor)
+int hds_modular_prio(char * device)
{
int sg_fd, k, i;
char vendor[32];
@@ -117,16 +117,24 @@
unsigned char sense_buffer[32];
sg_io_hdr_t io_hdr;
- sscanf(major_minor, "%u:%u", &major, &minor);
memset(devpath, 0, FILE_NAME_SIZE);
+ if (sscanf(device, "%u:%u", &major, &minor) == 2) {
- if (safe_sprintf(devpath, "/tmp/.pp_balance.%u.%u.devnode",
- major, minor))
- exit(1);
-
- unlink (devpath);
- mknod(devpath, S_IFBLK|S_IRUSR|S_IWUSR, makedev(major, minor));
+ if (safe_sprintf(devpath, "/tmp/.pp_balance.%u.%u.devnode",
+ major, minor))
+ exit(1);
+ unlink (devpath);
+ mknod(devpath, S_IFBLK|S_IRUSR|S_IWUSR, makedev(major, minor));
+ }
+ else if (device[0] == '/') {
+ if (safe_sprintf(devpath, "%s", device))
+ exit(1);
+ }
+ else {
+ if (safe_sprintf(devpath, "/dev/%s", device))
+ exit(1);
+ }
if ((sg_fd = open(devpath, O_RDONLY)) < 0) exit(1);
if ((ioctl(sg_fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000))
exit(1);
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2010-08-09 21:35 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2010-08-09 21:35 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2010-08-09 21:35:58
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz565579 New default configurations.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.21&r2=1.5.4.22
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.28&r2=1.20.2.29
--- multipath-tools/multipath.conf.defaults 2010/08/09 18:38:21 1.5.4.21
+++ multipath-tools/multipath.conf.defaults 2010/08/09 21:35:58 1.5.4.22
@@ -490,6 +490,46 @@
# rr_min_io 1000
# path_checker tur
# }
+# device {
+# vendor "IBM"
+# product "3303 NVDISK"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy failover
+# failback immediate
+# no_path_retry 60
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
+# }
+# device {
+# vendor "AIX"
+# product "VDASD"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# failback immediate
+# no_path_retry 60
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker directio
+# }
+# device {
+# vendor "AIX"
+# product "NVDISK"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
+# features "0"
+# hardware_handler "1 alua"
+# path_grouping_policy group_by_prio
+# failback immediate
+# no_path_retry 60
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
+# }
# device {
# vendor "SGI"
# product "TP9[13]00"
--- multipath-tools/libmultipath/hwtable.c 2010/08/09 18:38:21 1.20.2.28
+++ multipath-tools/libmultipath/hwtable.c 2010/08/09 21:35:58 1.20.2.29
@@ -657,6 +657,23 @@
.minio = DEFAULT_MINIO,
.checker_name = TUR,
},
+ {
+ /* IBM 3303 NVDISK */
+ .vendor = "IBM",
+ .product = "3303 NVDISK",
+ .getuid = DEFAULT_GETUID,
+ .getprio = NULL,
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = FAILOVER,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = (300 / DEFAULT_CHECKINT),
+ .minio = DEFAULT_MINIO,
+ .checker_name = TUR,
+ },
+
/*
* IBM Power Virtual SCSI Devices
*
@@ -679,6 +696,23 @@
.minio = DEFAULT_MINIO,
.checker_name = DIRECTIO,
},
+ {
+ /* AIX NVDISK */
+ .vendor = "AIX",
+ .product = "NVDISK",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_alua /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = "1 alua",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = (300 / DEFAULT_CHECKINT),
+ .minio = DEFAULT_MINIO,
+ .checker_name = TUR,
+ },
+
/*
* SGI arrays
*
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2010-08-09 18:38 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2010-08-09 18:38 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2010-08-09 18:38:21
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #562967
It is now possible for all Symmetrix paths to go down on a NDU, so the config
needs to set no_path_retry.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.20&r2=1.5.4.21
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.27&r2=1.20.2.28
--- multipath-tools/multipath.conf.defaults 2010/02/10 04:11:18 1.5.4.20
+++ multipath-tools/multipath.conf.defaults 2010/08/09 18:38:21 1.5.4.21
@@ -233,9 +233,10 @@
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
+# no_path_retry 6
# rr_weight uniform
# rr_min_io 1000
-# path_checker readsector0
+# path_checker tur
# }
# device {
# vendor "EMC"
--- multipath-tools/libmultipath/hwtable.c 2010/02/10 04:11:18 1.20.2.27
+++ multipath-tools/libmultipath/hwtable.c 2010/08/09 18:38:21 1.20.2.28
@@ -223,9 +223,9 @@
.pgpolicy = MULTIBUS,
.pgfailback = FAILBACK_UNDEF,
.rr_weight = RR_WEIGHT_NONE,
- .no_path_retry = NO_PATH_RETRY_UNDEF,
+ .no_path_retry = 6,
.minio = DEFAULT_MINIO,
- .checker_name = READSECTOR0,
+ .checker_name = TUR,
},
{
.vendor = "DGC",
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2010-02-10 4:11 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2010-02-10 4:11 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2010-02-10 04:11:18
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
multipath : multipath.conf.5
Log message:
Fix for bz 545822 and 554830. Change to the Invista default configuration, and
a fix for a typo in the multipath.conf file
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.19&r2=1.5.4.20
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.26&r2=1.20.2.27
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath/multipath.conf.5.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.1.2.2&r2=1.1.2.3
--- multipath-tools/multipath.conf.defaults 2010/01/26 05:50:44 1.5.4.19
+++ multipath-tools/multipath.conf.defaults 2010/02/10 04:11:18 1.5.4.20
@@ -245,7 +245,7 @@
# features "0"
# hardware_handler "0"
# path_selector "round-robin 0"
-# path_grouping_policy failover
+# path_grouping_policy multibus
# rr_weight uniform
# no_path_retry 5
# rr_min_io 1000
--- multipath-tools/libmultipath/hwtable.c 2010/01/26 05:50:45 1.20.2.26
+++ multipath-tools/libmultipath/hwtable.c 2010/02/10 04:11:18 1.20.2.27
@@ -309,7 +309,7 @@
.features = DEFAULT_FEATURES,
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
- .pgpolicy = FAILOVER,
+ .pgpolicy = MULTIBUS,
.pgfailback = FAILBACK_UNDEF,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = 5,
--- multipath-tools/multipath/Attic/multipath.conf.5 2009/05/15 21:01:27 1.1.2.2
+++ multipath-tools/multipath/Attic/multipath.conf.5 2010/02/10 04:11:18 1.1.2.3
@@ -251,7 +251,7 @@
is shutdown. Default is
.I yes
.TP
-.B binding_file
+.B bindings_file
Sets the location for the multipath bindings file that is used with
the user_friendly_names option. Default is
.I /etc/multipath_bindings
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2010-01-26 5:50 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2010-01-26 5:50 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2010-01-26 05:50:45
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #545822
Add hwentry for EMC Invista
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.18&r2=1.5.4.19
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.25&r2=1.20.2.26
--- multipath-tools/multipath.conf.defaults 2009/12/02 19:15:28 1.5.4.18
+++ multipath-tools/multipath.conf.defaults 2010/01/26 05:50:44 1.5.4.19
@@ -237,6 +237,20 @@
# rr_min_io 1000
# path_checker readsector0
# }
+# device {
+# vendor "EMC"
+# product "Invista"
+# product_blacklist "LUNZ"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# features "0"
+# hardware_handler "0"
+# path_selector "round-robin 0"
+# path_grouping_policy failover
+# rr_weight uniform
+# no_path_retry 5
+# rr_min_io 1000
+# path_checker tur
+# }
# device {
# vendor "FSC"
# product "CentricStor"
--- multipath-tools/libmultipath/hwtable.c 2009/12/02 19:15:28 1.20.2.25
+++ multipath-tools/libmultipath/hwtable.c 2010/01/26 05:50:45 1.20.2.26
@@ -300,6 +300,22 @@
.minio = DEFAULT_MINIO,
.checker_name = READSECTOR0,
},
+ {
+ .vendor = "EMC",
+ .product = "Invista",
+ .bl_product = "LUNZ",
+ .getuid = DEFAULT_GETUID,
+ .getprio = NULL,
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = FAILOVER,
+ .pgfailback = FAILBACK_UNDEF,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 5,
+ .minio = DEFAULT_MINIO,
+ .checker_name = TUR,
+ },
/*
* IBM controller family
*
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2009-12-02 19:15 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2009-12-02 19:15 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2009-12-02 19:15:28
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #540882
Add default configurations for IBM, LSI, and DELL storage
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.17&r2=1.5.4.18
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.24&r2=1.20.2.25
--- multipath-tools/multipath.conf.defaults 2009/09/28 18:41:20 1.5.4.17
+++ multipath-tools/multipath.conf.defaults 2009/12/02 19:15:28 1.5.4.18
@@ -187,15 +187,44 @@
# path_checker emc_clariion
# }
# device {
+# vendor "(LSI|ENGENIO)"
+# product "INF.*"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "2 pg_init_retries 50"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry 15
+# rr_min_io 1000
+# path_checker rdac
+# }
+# device {
# vendor "DELL"
-# product "MD3000"
+# product "MD3000|MD3000i"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
-# features "0"
+# features "2 pg_init_retries 50"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# no_path_retry 15
+# rr_min_io 1000
+# path_checker rdac
+# }
+# device {
+# vendor "DELL"
+# product "MD32xx|MD32xxi"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "2 pg_init_retries 50"
# hardware_handler "1 rdac"
# path_grouping_policy group_by_prio
-# failback manual
-# path_checker readsector0
+# failback immediate
+# no_path_retry 15
+# rr_min_io 1000
+# path_checker rdac
# }
# device {
# vendor "EMC"
@@ -284,6 +313,20 @@
# rr_min_io 1000
# path_checker rdac
# }
+# device {
+# vendor "IBM"
+# product "1745|1746"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "2 pg_init_retries 50"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry 15
+# rr_min_io 1000
+# path_checker rdac
+# }
# device {
# vendor "IBM"
# product "1815"
--- multipath-tools/libmultipath/hwtable.c 2009/11/04 21:47:06 1.20.2.24
+++ multipath-tools/libmultipath/hwtable.c 2009/12/02 19:15:28 1.20.2.25
@@ -402,6 +402,21 @@
.checker_name = RDAC,
},
{
+ .vendor = "IBM",
+ .product = "1745|1746",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = "2 pg_init_retries 50",
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 15,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
+ },
+ {
/* IBM DS4800 */
.vendor = "IBM",
.product = "1815",
@@ -810,23 +825,54 @@
.minio = DEFAULT_MINIO,
.checker_name = RDAC,
},
+ {
+ .vendor = "(LSI|ENGENIO)",
+ .product = "INF.*",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = "2 pg_init_retries 50",
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 15,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
+ },
/*
* DELL arrays
*/
{
.vendor = "DELL",
- .product = "MD3000",
+ .product = "MD3000|MD3000i",
.getuid = DEFAULT_GETUID,
.getprio = "/sbin/mpath_prio_rdac /dev/%n",
- .features = DEFAULT_FEATURES,
+ .features = "2 pg_init_retries 50",
.hwhandler = "1 rdac",
.selector = DEFAULT_SELECTOR,
.pgpolicy = GROUP_BY_PRIO,
- .pgfailback = -FAILBACK_MANUAL,
+ .pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
- .no_path_retry = NO_PATH_RETRY_UNDEF,
+ .no_path_retry = 15,
.minio = DEFAULT_MINIO,
- .checker_name = READSECTOR0,
+ .checker_name = RDAC,
+ },
+ {
+ /* DELL MD32xx/MD32xxi */
+ .vendor = "DELL",
+ .product = "MD32xx|MD32xxi",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = "2 pg_init_retries 50",
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 15,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
},
/*
* Compellent Technologies, Inc.
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2009-09-28 18:41 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2009-09-28 18:41 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2009-09-28 18:41:20
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #517896. Add default configurations for HP devices.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.16&r2=1.5.4.17
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.22&r2=1.20.2.23
--- multipath-tools/multipath.conf.defaults 2009/09/28 18:28:48 1.5.4.16
+++ multipath-tools/multipath.conf.defaults 2009/09/28 18:41:20 1.5.4.17
@@ -58,7 +58,7 @@
# }
# device {
# vendor "(COMPAQ|HP)"
-# product "HSV1[01]1|HSV2[01]0|HSV300"
+# product "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua /dev/%n"
# features "0"
@@ -100,7 +100,7 @@
# }
# device {
# vendor "HP"
-# product "MSA2012sa|MSA23(12|24)(fc|i|sa)"
+# product "MSA2012sa|MSA23(12|24)(fc|i|sa)|MSA2000s VOLUME"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua /dev/%n"
# features "0"
--- multipath-tools/libmultipath/hwtable.c 2009/09/28 18:28:48 1.20.2.22
+++ multipath-tools/libmultipath/hwtable.c 2009/09/28 18:41:20 1.20.2.23
@@ -93,7 +93,7 @@
{
/* EVA 3000/5000 with new firmware, EVA 4000/6000/8000, EVA 4400 */
.vendor = "(COMPAQ|HP)",
- .product = "HSV1[01]1|HSV2[01]0|HSV300",
+ .product = "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]|HSV4[05]0",
.getuid = DEFAULT_GETUID,
.getprio = "/sbin/mpath_prio_alua /dev/%n",
.features = DEFAULT_FEATURES,
@@ -141,7 +141,7 @@
{
/* HP MSA2000 product family with new firmware */
.vendor = "HP",
- .product = "MSA2012sa|MSA23(12|24)(fc|i|sa)",
+ .product = "MSA2012sa|MSA23(12|24)(fc|i|sa)|MSA2000s VOLUME",
.getuid = DEFAULT_GETUID,
.getprio = "/sbin/mpath_prio_alua /dev/%n",
.features = DEFAULT_FEATURES,
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2009-09-28 18:28 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2009-09-28 18:28 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2009-09-28 18:28:48
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #504619. MSA 1000s with new firmware can't list the vendor as HP or COMPAQ, same as with the old firmware. Updated the default configuration to
match this.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.15&r2=1.5.4.16
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.21&r2=1.20.2.22
--- multipath-tools/multipath.conf.defaults 2009/08/19 21:52:40 1.5.4.15
+++ multipath-tools/multipath.conf.defaults 2009/09/28 18:28:48 1.5.4.16
@@ -71,7 +71,7 @@
# path_checker tur
# }
# device {
-# vendor "HP"
+# vendor "(COMPAQ|HP)"
# product "MSA VOLUME"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua %n"
--- multipath-tools/libmultipath/hwtable.c 2009/08/31 17:17:10 1.20.2.21
+++ multipath-tools/libmultipath/hwtable.c 2009/09/28 18:28:48 1.20.2.22
@@ -108,7 +108,7 @@
},
{
/* MSA 1000/1500 with new firmware */
- .vendor = "HP",
+ .vendor = "(COMPAQ|HP)",
.product = "MSA VOLUME",
.getuid = DEFAULT_GETUID,
.getprio = "/sbin/mpath_prio_alua /dev/%n",
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2009-09-11 15:19 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2009-09-11 15:19 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: bmarzins@sourceware.org 2009-09-11 15:19:51
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
multipathd : main.c
path_priority/pp_netapp: Makefile
Log message:
Fix for bz #452340, #469845, and #493400
Fix makefile install issue, multipathd umask, and update default configuration.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.12&r2=1.5.2.13
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.16.2.16&r2=1.16.2.17
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/main.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.66.2.7&r2=1.66.2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_netapp/Makefile.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.1.2.2&r2=1.1.2.3
--- multipath-tools/multipath.conf.defaults 2009/01/17 00:46:51 1.5.2.12
+++ multipath-tools/multipath.conf.defaults 2009/09/11 15:19:50 1.5.2.13
@@ -56,7 +56,7 @@
# }
# device {
# vendor "(COMPAQ|HP)"
-# product "HSV1[01]1|HSV2[01]0|HSV300"
+# product "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0"
# path_grouping_policy group_by_prio
# prio_callout "/sbin/mpath_prio_alua /dev/%n"
# path_checker "tur"
--- multipath-tools/libmultipath/hwtable.c 2009/01/17 00:46:51 1.16.2.16
+++ multipath-tools/libmultipath/hwtable.c 2009/09/11 15:19:50 1.16.2.17
@@ -35,14 +35,14 @@
DEFAULT_GETUID, "/sbin/mpath_prio_alua /dev/%n",
"0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 12, 0,
100);
- r += store_hwe_ext(hw, "COMPAQ", "MSA|HSV1.0.*", GROUP_BY_PRIO,
- DEFAULT_GETUID, "/sbin/mpath_prio_hp_sw /dev/%n",
- "1 hp-sw", "0", "hp_sw", FAILBACK_UNDEF, NULL, 12, 0,
- 100);
- r += store_hwe_ext(hw, "(COMPAQ|HP)", "HSV1[01]1|HSV2[01]0|HSV300",
+ r += store_hwe_ext(hw, "(COMPAQ|HP)", "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0",
GROUP_BY_PRIO, DEFAULT_GETUID,
"/sbin/mpath_prio_alua /dev/%n", "0", "0", "tur",
-FAILBACK_IMMEDIATE, NULL, 12, 0, 100);
+ r += store_hwe_ext(hw, "COMPAQ", "MSA|HSV1.0.*", GROUP_BY_PRIO,
+ DEFAULT_GETUID, "/sbin/mpath_prio_hp_sw /dev/%n",
+ "1 hp-sw", "0", "hp_sw", FAILBACK_UNDEF, NULL, 12, 0,
+ 100);
r += store_hwe_ext(hw, "HP", "MSA2[02]12fc|MSA2012i", MULTIBUS, DEFAULT_GETUID,
NULL, "0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 18,
0, 100);
--- multipath-tools/multipathd/main.c 2009/09/01 20:38:40 1.66.2.7
+++ multipath-tools/multipathd/main.c 2009/09/11 15:19:50 1.66.2.8
@@ -1181,6 +1181,7 @@
add_handler(DISABLEQ+MAP, cli_disable_queueing);
add_handler(RESTOREQ+MAP, cli_restore_queueing);
+ umask(077);
uxsock_listen(&uxsock_trigger, ap);
return NULL;
@@ -1781,7 +1782,6 @@
close(in_fd);
close(out_fd);
chdir("/");
- umask(0);
return 0;
}
--- multipath-tools/path_priority/pp_netapp/Makefile 2009/01/13 22:26:37 1.1.2.2
+++ multipath-tools/path_priority/pp_netapp/Makefile 2009/09/11 15:19:51 1.1.2.3
@@ -18,7 +18,7 @@
install: $(EXEC)
install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC)
- ln -sf $(DESTDIR)$(bindir)/$(EXEC) $(DESTDIR)$(bindir)/$(LINK)
+ ln -sf $(EXEC) $(DESTDIR)$(bindir)/$(LINK)
uninstall:
rm $(DESTDIR)$(bindir)/$(EXEC)
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2009-08-19 21:52 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2009-08-19 21:52 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2009-08-19 21:52:40
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
multipathd : copy.c main.c
Log message:
added configuration for SUN 6540 storage arrays, and fixed missing arguments
from condlog lines.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.14&r2=1.5.4.15
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.19&r2=1.20.2.20
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/copy.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.2.2&r2=1.5.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/main.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.69.2.22&r2=1.69.2.23
--- multipath-tools/multipath.conf.defaults 2008/12/02 20:24:24 1.5.4.14
+++ multipath-tools/multipath.conf.defaults 2009/08/19 21:52:40 1.5.4.15
@@ -483,6 +483,21 @@
# rr_min_io 1000
# path_checker tur
# }
+# device {
+# vendor "STK"
+# product "FLEXLINE 380"
+# product_blacklist "Universal Xport"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "0"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry queue
+# rr_min_io 1000
+# path_checker rdac
+# }
# device {
# vendor "SUN"
# product "(StorEdge 3510|T4)"
--- multipath-tools/libmultipath/hwtable.c 2009/06/19 22:10:53 1.20.2.19
+++ multipath-tools/libmultipath/hwtable.c 2009/08/19 21:52:40 1.20.2.20
@@ -698,6 +698,23 @@
.minio = DEFAULT_MINIO,
.checker_name = TUR,
},
+ {
+ /* SUN 6540 */
+ .vendor = "STK",
+ .product = "FLEXLINE 380",
+ .bl_product = "Universal Xport",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_QUEUE,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
+ },
/*
* SUN arrays
*
--- multipath-tools/multipathd/Attic/copy.c 2009/08/18 21:12:01 1.5.2.2
+++ multipath-tools/multipathd/Attic/copy.c 2009/08/19 21:52:40 1.5.2.3
@@ -25,7 +25,7 @@
if (fdin < 0) {
if (errno == ENOENT)
- condlog(3, "callout %s does not exist, ignoring");
+ condlog(3, "callout %s does not exist, ignoring", src);
else
condlog(0, "[copy.c] cannot open %s", src);
return -1;
--- multipath-tools/multipathd/main.c 2009/08/18 21:12:01 1.69.2.22
+++ multipath-tools/multipathd/main.c 2009/08/19 21:52:40 1.69.2.23
@@ -1339,7 +1339,7 @@
vector_foreach_slot (conf->binvec, bin,i) {
if ((fd = open(bin, O_RDONLY)) < 0) {
if (errno == ENOENT)
- condlog(3, "callout %s does not exist, ignoring");
+ condlog(3, "callout %s does not exist, ignoring", bin);
else
condlog(0, "cannot open %s : %s", bin,
strerror(errno));
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2009-01-15 22:47 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2009-01-15 22:47 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: bmarzins@sourceware.org 2009-01-15 22:47:36
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #452340
Added default configurations for HP devices.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.10&r2=1.5.2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.16.2.14&r2=1.16.2.15
--- multipath-tools/multipath.conf.defaults 2009/01/13 22:26:36 1.5.2.10
+++ multipath-tools/multipath.conf.defaults 2009/01/15 22:47:36 1.5.2.11
@@ -45,15 +45,55 @@
# no_path_retry 12
# }
# device {
+# vendor "COMPAQ"
+# product "MSA|HSV1.0.*"
+# path_grouping_policy group_by_prio
+# prio_callout "/sbin/mpath_prio_hp_sw /dev/%n"
+# hardware_handler "1 hp_sw"
+# path_checker "hp_sw"
+# no_path_retry 12
+# rr_min_io 100
+# }
+# device {
# vendor "(COMPAQ|HP)"
-# product "HSV(1|2).*"
+# product "HSV1[01]1|HSV2[01]0|HSV300"
# path_grouping_policy group_by_prio
-# prio_callout "/sbin/mpath_prio_alua %d"
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
+# path_checker "tur"
+# failback immediate
+# no_path_retry 12
+# rr_min_io 100
+# }
+# device {
+# vendor "HP"
+# product "MSA2[02]12fc|MSA2012i"
+# path_grouping_policy multibus
+# path_checker tur
+# failback immediate
+# no_path_retry 18
+# rr_min_io 100
+# }
+# device {
+# vendor "HP"
+# product "MSA2012sa|MSA23(12|24)(fc|i|sa)"
+# path_grouping_policy group_by_prio
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
+# path_checker tur
+# failback immediate
+# no_path_retry 18
+# rr_min_io 100
+# }
+# device {
+# vendor "HP"
+# product "HSVX700"
+# path_grouping_policy group_by_prio
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
+# hardware_handler "1 alua"
# path_checker tur
# failback immediate
# no_path_retry 12
# rr_min_io 100
-# }
+# }
# device {
# vendor "(HITACHI|HP)"
# product "OPEN-.*"
@@ -61,7 +101,6 @@
# path_checker tur
# failback immediate
# no_path_retry 12
-# rr_min_io 100
# }
# device {
# vendor "HP"
@@ -80,12 +119,6 @@
# rr_min_io 100
# }
# device {
-# vendor "COMPAQ"
-# product "MSA1000"
-# path_grouping_policy group_by_serial
-# getuid_callout "/sbin/scsi_id -g -u -s"
-# }
-# device {
# vendor "DDN"
# product "SAN DataDirector"
# path_grouping_policy multibus
--- multipath-tools/libmultipath/hwtable.c 2009/01/13 22:26:37 1.16.2.14
+++ multipath-tools/libmultipath/hwtable.c 2009/01/15 22:47:36 1.16.2.15
@@ -13,8 +13,6 @@
r += store_hwe(hw, "3PARdata", "VV", MULTIBUS, DEFAULT_GETUID);
r += store_hwe(hw, "APPLE*", "Xserve RAID ", MULTIBUS, DEFAULT_GETUID);
- r += store_hwe(hw, "COMPAQ", "HSV110.*", GROUP_BY_SERIAL, DEFAULT_GETUID);
- r += store_hwe(hw, "COMPAQ", "MSA1000", GROUP_BY_SERIAL, DEFAULT_GETUID);
r += store_hwe(hw, "DDN", "SAN DataDirector", MULTIBUS, DEFAULT_GETUID);
r += store_hwe(hw, "DEC", "HSG80", GROUP_BY_SERIAL, DEFAULT_GETUID);
r += store_hwe(hw, "EMC", "SYMMETRIX", MULTIBUS,
@@ -35,16 +33,31 @@
DEFAULT_GETUID, "/sbin/mpath_prio_alua /dev/%n",
"0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 12, 0,
100);
- r += store_hwe_ext(hw, "(COMPAQ|HP)", "HSV(1|2).*", GROUP_BY_PRIO,
- DEFAULT_GETUID, "/sbin/mpath_prio_alua /dev/%n",
- "0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 12, 0,
+ r += store_hwe_ext(hw, "COMPAQ", "MSA|HSV1.0.*", GROUP_BY_PRIO,
+ DEFAULT_GETUID, "/sbin/mpath_prio_hp_sw /dev/%n",
+ "1 hp_sw", "0", "hp_sw", FAILBACK_UNDEF, NULL, 12, 0,
100);
+ r += store_hwe_ext(hw, "(COMPAQ|HP)", "HSV1[01]1|HSV2[01]0|HSV300",
+ GROUP_BY_PRIO, DEFAULT_GETUID,
+ "/sbin/mpath_prio_alua /dev/%n", "0", "0", "tur",
+ -FAILBACK_IMMEDIATE, NULL, 12, 0, 100);
+ r += store_hwe_ext(hw, "HP", "MSA2[02]12fc|MSA2012i", MULTIBUS, DEFAULT_GETUID,
+ NULL, "0", "0", "tur", -FAILBACK_IMMEDIATE, NULL, 18,
+ 0, 100);
+ r += store_hwe_ext(hw, "HP", "MSA2012sa|MSA23(12|24)(fc|i|sa)",
+ GROUP_BY_PRIO, DEFAULT_GETUID,
+ "/sbin/mpath_prio_alua /dev/%n", "0", "0", "tur",
+ -FAILBACK_IMMEDIATE, NULL, 18, 0, 100);
+ r += store_hwe_ext(hw, "HP", "HSVX700",
+ GROUP_BY_PRIO, DEFAULT_GETUID,
+ "/sbin/mpath_prio_alua /dev/%n", "1 alua", "0",
+ "tur", -FAILBACK_IMMEDIATE, NULL, 12, 0, 100);
r += store_hwe_ext(hw, "HP", "MSA2000s*", MULTIBUS, "/sbin/cciss_id %n",
NULL, "0", "0", "cciss_tur", FAILBACK_UNDEF, NULL,
12, 0, 0);
r += store_hwe_ext(hw, "(HITACHI|HP)", "OPEN-.*", MULTIBUS,
DEFAULT_GETUID, NULL, "0", "0", "tur", -FAILBACK_IMMEDIATE,
- NULL, 12, 0, 100);
+ NULL, 12, 0, 0);
r += store_hwe_ext(hw, "HP", "*33[89]0*", MULTIBUS, DEFAULT_GETUID, NULL, "0", "0",
"tur", FAILBACK_UNDEF, NULL, 0, 0, 0);
r += store_hwe_ext(hw, "DGC", "*", GROUP_BY_PRIO,
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2009-01-13 22:26 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2009-01-13 22:26 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: bmarzins@sourceware.org 2009-01-13 22:26:37
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
path_priority/pp_netapp: Makefile pp_netapp.c
Log message:
Fix for bz #478643
This is just a backport of 282131. It fixes some prio callout issues, and
switches the name
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.9&r2=1.5.2.10
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.16.2.13&r2=1.16.2.14
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_netapp/Makefile.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_netapp/pp_netapp.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.1&r2=1.1.2.1
--- multipath-tools/multipath.conf.defaults 2007/12/03 18:42:15 1.5.2.9
+++ multipath-tools/multipath.conf.defaults 2009/01/13 22:26:36 1.5.2.10
@@ -197,7 +197,7 @@
# product "LUN"
# path_grouping_policy group_by_prio
# getuid_callout "/sbin/scsi_id -g -u -s"
-# prio_callout "/sbin/mpath_prio_netapp /dev/%n"
+# prio_callout "/sbin/mpath_prio_ontap /dev/%n"
# features "1 queue_if_no_path"
# path_checker readsector0
# }
@@ -206,7 +206,7 @@
# product "Nseries"
# path_grouping_policy group_by_prio
# getuid_callout "/sbin/scsi_id -g -u -s"
-# prio_callout "/sbin/mpath_prio_netapp /dev/%n"
+# prio_callout "/sbin/mpath_prio_ontap /dev/%n"
# features "1 queue_if_no_path"
# path_checker readsector0
# failback immediate
--- multipath-tools/libmultipath/hwtable.c 2007/12/03 18:42:15 1.16.2.13
+++ multipath-tools/libmultipath/hwtable.c 2009/01/13 22:26:37 1.16.2.14
@@ -70,10 +70,10 @@
"/sbin/dasdview -j -f /dev/%n", NULL, "0", "0",
"directio", FAILBACK_UNDEF, "S/390", 0, 0, 0);
r += store_hwe_ext(hw, "NETAPP", "LUN", GROUP_BY_PRIO, DEFAULT_GETUID,
- "/sbin/mpath_prio_netapp /dev/%n", NULL,
+ "/sbin/mpath_prio_ontap /dev/%n", NULL,
"1 queue_if_no_path", "readsector0", FAILBACK_UNDEF, NULL, 0, 0, 0);
r += store_hwe_ext(hw, "IBM", "Nseries", GROUP_BY_PRIO, DEFAULT_GETUID,
- "/sbin/mpath_prio_netapp /dev/%n", NULL,
+ "/sbin/mpath_prio_ontap /dev/%n", NULL,
"1 queue_if_no_path", "readsector0", -FAILBACK_IMMEDIATE,
NULL, 0, 0, 128);
r += store_hwe_ext(hw, "Pillar", "Axiom 500", GROUP_BY_PRIO,
--- multipath-tools/path_priority/pp_netapp/Makefile 2008/05/06 19:49:39 1.1.2.1
+++ multipath-tools/path_priority/pp_netapp/Makefile 2009/01/13 22:26:37 1.1.2.2
@@ -1,4 +1,5 @@
-EXEC = mpath_prio_netapp
+EXEC = mpath_prio_ontap
+LINK = mpath_prio_netapp
BUILD = glibc
OBJS = pp_netapp.o
@@ -17,9 +18,11 @@
install: $(EXEC)
install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC)
+ ln -sf $(DESTDIR)$(bindir)/$(EXEC) $(DESTDIR)$(bindir)/$(LINK)
uninstall:
rm $(DESTDIR)$(bindir)/$(EXEC)
+ rm $(DESTDIR)$(bindir)/$(LINK)
clean:
rm -f *.o $(EXEC)
--- multipath-tools/path_priority/pp_netapp/pp_netapp.c 2005/11/21 23:28:32 1.1
+++ multipath-tools/path_priority/pp_netapp/pp_netapp.c 2009/01/13 22:26:37 1.1.2.1
@@ -29,7 +29,7 @@
#define INQUIRY_CMDLEN 6
#define DEFAULT_PRIO 10
#define RESULTS_MAX 256
-#define SG_TIMEOUT 30000
+#define SG_TIMEOUT 60000
static void dump_cdb(unsigned char *cdb, int size)
@@ -209,7 +209,7 @@
memset(&results, 0, sizeof (results));
rc = send_gva(dev, 0x41, results, &results_size);
- if (rc == 0) {
+ if (rc >= 0) {
tot_len = results[0] << 24 | results[1] << 16 |
results[2] << 8 | results[3];
if (tot_len <= 8) {
@@ -229,12 +229,16 @@
is_iscsi_hardware = 1;
goto prio_select;
}
+ } else {
+ return 0;
}
try_fcp_proxy:
rc = get_proxy(dev);
if (rc >= 0) {
is_proxy = rc;
+ } else {
+ return 0;
}
prio_select:
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2008-08-29 18:30 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2008-08-29 18:30 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2008-08-29 18:30:27
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #456126, pull configs from upstream.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.12&r2=1.5.4.13
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.14&r2=1.20.2.15
--- multipath-tools/multipath.conf.defaults 2008/07/12 17:36:56 1.5.4.12
+++ multipath-tools/multipath.conf.defaults 2008/08/29 18:30:26 1.5.4.13
@@ -162,12 +162,12 @@
# vendor "DELL"
# product "MD3000"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
# features "0"
# hardware_handler "1 rdac"
# path_grouping_policy group_by_prio
# failback manual
-# path_checker rdac
+# path_checker readsector0
# }
# device {
# vendor "EMC"
@@ -217,29 +217,71 @@
# }
# device {
# vendor "IBM"
+# product "1722-600"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "1 queue_if_no_path"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry 300
+# rr_min_io 1000
+# path_checker rdac
+# }
+# device {
+# vendor "IBM"
+# product "1726-4xx"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "0"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry 300
+# rr_min_io 1000
+# path_checker rdac
+# }
+# device {
+# vendor "IBM"
# product "1742"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
# features "0"
-# hardware_handler "0"
+# hardware_handler "1 rdac"
# path_grouping_policy group_by_prio
# failback immediate
# rr_weight uniform
# rr_min_io 1000
-# path_checker tur
+# path_checker rdac
+# }
+# device {
+# vendor "IBM"
+# product "1815"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "0"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry queue
+# rr_min_io 1000
+# path_checker rdac
# }
# device {
# vendor "IBM"
# product "3526"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
# features "0"
-# hardware_handler "0"
+# hardware_handler "1 rdac"
# path_grouping_policy group_by_prio
# failback immediate
# rr_weight uniform
# rr_min_io 1000
-# path_checker tur
+# path_checker rdac
# }
# device {
# vendor "IBM"
@@ -377,26 +419,41 @@
# vendor "SGI"
# product "TP9[45]00"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
# features "0"
-# hardware_handler "0"
+# hardware_handler "1 rdac"
# path_grouping_policy group_by_prio
# failback immediate
# rr_weight uniform
# rr_min_io 1000
-# path_checker tur
+# path_checker rdac
+# }
+# device {
+# vendor "SGI"
+# product "IS.*"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "0"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry queue
+# rr_min_io 1000
+# path_checker rdac
# }
# device {
# vendor "STK"
# product "OPENstorage D280"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
# features "0"
-# hardware_handler "0"
+# hardware_handler "1 rdac"
# path_grouping_policy group_by_prio
# failback immediate
# rr_weight uniform
# rr_min_io 1000
+# path_checker tur
# }
# device {
# vendor "SUN"
@@ -409,6 +466,45 @@
# rr_min_io 1000
# path_checker readsector0
# }
+# device {
+# vendor "PIVOT3"
+# product "RAIGE VOLUME"
+# getuid_callout "/sbin/scsi_id -p 0x80 -g -u -d /block/%n"
+# features "1 queue_if_no_path"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 100
+# path_checker tur
+# }
+# device {
+# vendor "SUN"
+# product "CSM200_R"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "0"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry queue
+# rr_min_io 1000
+# path_checker rdac
+# }
+# device {
+# vendor "SUN"
+# product "LCSM100_F"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
+# features "0"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry queue
+# rr_min_io 1000
+# path_checker rdac
+# }
# device {
# vendor "GNBD"
# product "GNBD"
--- multipath-tools/libmultipath/hwtable.c 2008/07/12 17:36:56 1.20.2.14
+++ multipath-tools/libmultipath/hwtable.c 2008/08/29 18:30:27 1.20.2.15
@@ -290,36 +290,84 @@
.checker_name = READSECTOR0,
},
{
+ /* IBM FAStT 1722-600 */
+ .vendor = "IBM",
+ .product = "1722-600",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = "1 queue_if_no_path",
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 300,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
+ },
+ {
+ /* IBM DS3400 */
+ .vendor = "IBM",
+ .product = "1726-4xx",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = "1 queue_if_no_path",
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 300,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
+ },
+ {
/* IBM DS4100 / FAStT100 */
.vendor = "IBM",
.product = "1742",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_tpc /dev/%n",
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
.features = DEFAULT_FEATURES,
- .hwhandler = DEFAULT_HWHANDLER,
+ .hwhandler = "1 rdac",
.selector = DEFAULT_SELECTOR,
.pgpolicy = GROUP_BY_PRIO,
.pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = NO_PATH_RETRY_UNDEF,
.minio = DEFAULT_MINIO,
- .checker_name = TUR,
+ .checker_name = RDAC,
+ },
+ {
+ /* IBM DS4800 */
+ .vendor = "IBM",
+ .product = "1815",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_QUEUE,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
},
{
/* IBM Netfinity Fibre Channel RAID Controller Unit */
.vendor = "IBM",
.product = "3526",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_tpc /dev/%n",
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
.features = DEFAULT_FEATURES,
- .hwhandler = DEFAULT_HWHANDLER,
+ .hwhandler = "1 rdac",
.selector = DEFAULT_SELECTOR,
.pgpolicy = GROUP_BY_PRIO,
.pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = NO_PATH_RETRY_UNDEF,
.minio = DEFAULT_MINIO,
- .checker_name = TUR,
+ .checker_name = RDAC,
},
{
/* IBM DS4200 / FAStT200 */
@@ -523,16 +571,31 @@
.vendor = "SGI",
.product = "TP9[45]00",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_tpc /dev/%n",
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
.features = DEFAULT_FEATURES,
- .hwhandler = DEFAULT_HWHANDLER,
+ .hwhandler = "1 rdac",
.selector = DEFAULT_SELECTOR,
.pgpolicy = GROUP_BY_PRIO,
.pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = NO_PATH_RETRY_UNDEF,
.minio = DEFAULT_MINIO,
- .checker_name = TUR,
+ .checker_name = RDAC,
+ },
+ {
+ .vendor = "SGI",
+ .product = "IS.*",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_QUEUE,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
},
/*
* STK arrays
@@ -544,9 +607,9 @@
.vendor = "STK",
.product = "OPENstorage D280",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_tpc /dev/%n",
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
.features = DEFAULT_FEATURES,
- .hwhandler = DEFAULT_HWHANDLER,
+ .hwhandler = "1 rdac",
.selector = DEFAULT_SELECTOR,
.pgpolicy = GROUP_BY_PRIO,
.pgfailback = -FAILBACK_IMMEDIATE,
@@ -577,13 +640,65 @@
.checker_name = READSECTOR0,
},
/*
+ * Pivot3 RAIGE
+ *
+ * Maintainer : Bart Brooks, Pivot3
+ * Mail : bartb@pivot3.com
+ */
+ {
+ .vendor = "PIVOT3",
+ .product = "RAIGE VOLUME",
+ .getuid = "/sbin/scsi_id -p 0x80 -g -u -d /dev/%n",
+ .getprio = NULL,
+ .features = "1 queue_if_no_path",
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = MULTIBUS,
+ .pgfailback = FAILBACK_UNDEF,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_UNDEF,
+ .minio = 100,
+ .checker_name = TUR,
+ },
+ {
+ .vendor = "SUN",
+ .product = "CSM200_R",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_QUEUE,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
+ },
+ /* SUN/LSI 2540 */
+ {
+ .vendor = "SUN",
+ .product = "LCSM100_F",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_QUEUE,
+ .minio = DEFAULT_MINIO,
+ .checker_name = RDAC,
+ },
+ /*
* DELL arrays
*/
{
.vendor = "DELL",
.product = "MD3000",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_tpc /dev/%n",
+ .getprio = "/sbin/mpath_prio_rdac /dev/%n",
.features = DEFAULT_FEATURES,
.hwhandler = "1 rdac",
.selector = DEFAULT_SELECTOR,
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2008-07-12 17:36 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2008-07-12 17:36 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2008-07-12 17:36:57
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix bz #446223. Added default configuration for DASD FBA devices.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.11&r2=1.5.4.12
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.13&r2=1.20.2.14
--- multipath-tools/multipath.conf.defaults 2008/07/12 02:44:14 1.5.4.11
+++ multipath-tools/multipath.conf.defaults 2008/07/12 17:36:56 1.5.4.12
@@ -313,6 +313,18 @@
# path_checker directio
# }
# device {
+# vendor "IBM"
+# product "S/390 DASD FBA"
+# product_blacklist S/390.*"
+# getuid_callout "sbin/dasd_id /dev/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker directio
+# }
+# device {
# vendor "NETAPP"
# product "LUN"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
--- multipath-tools/libmultipath/hwtable.c 2008/07/12 02:44:14 1.20.2.13
+++ multipath-tools/libmultipath/hwtable.c 2008/07/12 17:36:56 1.20.2.14
@@ -418,6 +418,23 @@
.minio = DEFAULT_MINIO,
.checker_name = DIRECTIO,
},
+ {
+ /* IBM S/390 FBA DASD */
+ .vendor = "IBM",
+ .product = "S/390 DASD FBA",
+ .bl_product = "S/390.*",
+ .getuid = "/sbin/dasd_id /dev/%n",
+ .getprio = NULL,
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = MULTIBUS,
+ .pgfailback = FAILBACK_UNDEF,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_UNDEF,
+ .minio = DEFAULT_MINIO,
+ .checker_name = DIRECTIO,
+ },
/*
* NETAPP controller family
*
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2008-07-12 2:44 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2008-07-12 2:44 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2008-07-12 02:44:14
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #439366. Applied patch to update HP configuration defaults.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.10&r2=1.5.4.11
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.12&r2=1.20.2.13
--- multipath-tools/multipath.conf.defaults 2008/07/12 00:07:33 1.5.4.10
+++ multipath-tools/multipath.conf.defaults 2008/07/12 02:44:14 1.5.4.11
@@ -46,8 +46,8 @@
# path_checker readsector0
# }
# device {
-# vendor "(COMPAQ|HP)"
-# product "(MSA|HSV)1.*"
+# vendor "COMPAQ"
+# product "MSA|HSV1.0.*"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "1 hp_sw"
@@ -58,7 +58,21 @@
# }
# device {
# vendor "(COMPAQ|HP)"
-# product "HSV2.*"
+# product "HSV1[01]1|HSV2[01]0|HSV300"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# no_path_retry 12
+# rr_min_io 100
+# path_checker tur
+# }
+# device {
+# vendor "HP"
+# product "MSA VOLUME"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua %n"
# features "0"
@@ -66,8 +80,22 @@
# path_grouping_policy group_by_prio
# failback immediate
# rr_weight uniform
-# no_path_retry 60
-# rr_min_io 1000
+# no_path_retry 12
+# rr_min_io 100
+# path_checker tur
+# }
+# device {
+# vendor "HP"
+# product "MSA2[02]12*"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/bin/true"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# failback immediate
+# rr_weight uniform
+# no_path_retry 12
+# rr_min_io 100
# path_checker tur
# }
# device {
@@ -90,7 +118,7 @@
# path_grouping_policy multibus
# failback immediate
# rr_weight uniform
-# rr_min_io 100
+# rr_min_io 1000
# path_checker tur
# }
# device {
--- multipath-tools/libmultipath/hwtable.c 2008/07/12 00:07:33 1.20.2.12
+++ multipath-tools/libmultipath/hwtable.c 2008/07/12 02:44:14 1.20.2.13
@@ -75,8 +75,9 @@
.checker_name = HP_SW,
},
{
- .vendor = "(COMPAQ|HP)",
- .product = "(MSA|HSV)1.*",
+ /* MSA 1000/MSA1500, EVA 3000/5000 with old firmware */
+ .vendor = "COMPAQ",
+ .product = "MSA|HSV1.0.*",
.getuid = DEFAULT_GETUID,
.getprio = NULL,
.features = DEFAULT_FEATURES,
@@ -90,17 +91,50 @@
.checker_name = HP_SW,
},
{
+ /* EVA 3000/5000 with new firmware, EVA 4000/6000/8000, EVA 4400 */
.vendor = "(COMPAQ|HP)",
- .product = "HSV2.*",
+ .product = "HSV1[01]1|HSV2[01]0|HSV300",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_alua %n",
+ .getprio = "/sbin/mpath_prio_alua /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 12,
+ .minio = 100,
+ .checker_name = TUR,
+ },
+ {
+ /* MSA 1000/1500 with new firmware */
+ .vendor = "HP",
+ .product = "MSA VOLUME",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_alua /dev/%n",
.features = DEFAULT_FEATURES,
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
.pgpolicy = GROUP_BY_PRIO,
.pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
- .no_path_retry = 60,
+ .no_path_retry = 12,
+ .minio = 100,
+ .checker_name = TUR,
+ },
+ {
+ /* HP MSA2000 product family */
+ .vendor = "HP",
+ .product = "MSA2[02]12*",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/bin/true",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = MULTIBUS,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 12,
.minio = 100,
.checker_name = TUR,
},
@@ -215,8 +249,8 @@
.pgpolicy = MULTIBUS,
.pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
- .no_path_retry = NO_PATH_RETRY_UNDEF,
- .minio = 100,
+ .no_path_retry = 12,
+ .minio = DEFAULT_MINIO,
.checker_name = TUR,
},
{
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2008-07-12 0:07 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2008-07-12 0:07 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2008-07-12 00:07:33
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz 434588. dasd storage now defaults to queue_if_no_path.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.9&r2=1.5.4.10
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.11&r2=1.20.2.12
--- multipath-tools/multipath.conf.defaults 2008/01/07 22:22:53 1.5.4.9
+++ multipath-tools/multipath.conf.defaults 2008/07/12 00:07:33 1.5.4.10
@@ -277,7 +277,7 @@
# product "S/390 DASD ECKD"
# product_blacklist "S/390.*"
# getuid_callout "/sbin/dasd_id /dev/%n"
-# features "0"
+# features "1 queue_if_no_path"
# hardware_handler "0"
# path_grouping_policy multibus
# rr_weight uniform
--- multipath-tools/libmultipath/hwtable.c 2008/01/03 20:16:06 1.20.2.11
+++ multipath-tools/libmultipath/hwtable.c 2008/07/12 00:07:33 1.20.2.12
@@ -374,7 +374,7 @@
.bl_product = "S/390.*",
.getuid = "/sbin/dasd_id /dev/%n",
.getprio = NULL,
- .features = DEFAULT_FEATURES,
+ .features = "1 queue_if_no_path",
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
.pgpolicy = MULTIBUS,
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2008-01-03 20:16 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2008-01-03 20:16 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2008-01-03 20:16:06
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Configure the Axiom 300 the same as the Axiom 500
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.7&r2=1.5.4.8
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.10&r2=1.20.2.11
--- multipath-tools/multipath.conf.defaults 2007/10/09 21:48:19 1.5.4.7
+++ multipath-tools/multipath.conf.defaults 2008/01/03 20:16:05 1.5.4.8
@@ -46,7 +46,7 @@
# }
# device {
# vendor "(COMPAQ|HP)"
-# product "MSA1.*"
+# product "(MSA|HSV)1.*"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "1 hp_sw"
@@ -57,7 +57,7 @@
# }
# device {
# vendor "(COMPAQ|HP)"
-# product "HSV(1|2).*"
+# product "HSV2.*"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua %n"
# features "0"
@@ -311,7 +311,7 @@
# }
# device {
# vendor "Pillar"
-# product "Axiom 500"
+# product "Axiom [35]00"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua %d"
# features "0"
--- multipath-tools/libmultipath/hwtable.c 2008/01/02 23:38:43 1.20.2.10
+++ multipath-tools/libmultipath/hwtable.c 2008/01/03 20:16:06 1.20.2.11
@@ -434,7 +434,7 @@
*/
{
.vendor = "Pillar",
- .product = "Axiom 500",
+ .product = "Axiom [35]00",
.getuid = DEFAULT_GETUID,
.getprio = "/sbin/mpath_prio_alua %d",
.features = DEFAULT_FEATURES,
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2007-10-09 21:48 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2007-10-09 21:48 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2007-10-09 21:48:20
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
multipath : multipath.conf.redhat
path_priority/pp_netapp: Makefile
Log message:
add symlink for mpath_prio_ontap and clean up default config file.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.6&r2=1.5.4.7
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.7&r2=1.20.2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath/multipath.conf.redhat.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.6.2.4&r2=1.6.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/path_priority/pp_netapp/Makefile.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.2.2.2&r2=1.2.2.3
--- multipath-tools/multipath.conf.defaults 2007/09/06 16:22:25 1.5.4.6
+++ multipath-tools/multipath.conf.defaults 2007/10/09 21:48:19 1.5.4.7
@@ -287,7 +287,7 @@
# vendor "NETAPP"
# product "LUN"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_netapp /dev/%n"
+# prio_callout "/sbin/mpath_prio_ontap /dev/%n"
# features "1 queue_if_no_path"
# hardware_handler "0"
# path_grouping_policy group_by_prio
@@ -300,7 +300,7 @@
# vendor "IBM"
# product "Nseries.*"
# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-# prio_callout "/sbin/mpath_prio_netapp /dev/%n"
+# prio_callout "/sbin/mpath_prio_ontap /dev/%n"
# features "1 queue_if_no_path"
# hardware_handler "0"
# path_grouping_policy group_by_prio
--- multipath-tools/libmultipath/hwtable.c 2007/09/06 16:21:38 1.20.2.7
+++ multipath-tools/libmultipath/hwtable.c 2007/10/09 21:48:19 1.20.2.8
@@ -394,7 +394,7 @@
.vendor = "NETAPP",
.product = "LUN.*",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_netapp /dev/%n",
+ .getprio = "/sbin/mpath_prio_ontap /dev/%n",
.features = "1 queue_if_no_path",
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
@@ -415,7 +415,7 @@
.vendor = "IBM",
.product = "Nseries.*",
.getuid = DEFAULT_GETUID,
- .getprio = "/sbin/mpath_prio_netapp /dev/%n",
+ .getprio = "/sbin/mpath_prio_ontap /dev/%n",
.features = "1 queue_if_no_path",
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
--- multipath-tools/multipath/multipath.conf.redhat 2007/06/19 18:12:15 1.6.2.4
+++ multipath-tools/multipath/multipath.conf.redhat 2007/10/09 21:48:20 1.6.2.5
@@ -1,8 +1,9 @@
-# This is an example configuration file for device mapper multipath.
+# This is a basic configuration file with some examples, for device mapper
+# multipath.
# For a complete list of the default configuration values, see
-# /usr/share/doc/device-mapper-multipath-0.4.5/multipath.conf.defaults
+# /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.defaults
# For a list of configuration options with descriptions, see
-# /usr/share/doc/device-mapper-multipath-0.4.5/multipath.conf.annotated
+# /usr/share/doc/device-mapper-multipath-0.4.7/multipath.conf.annotated
# Blacklist all devices by default. Remove this to enable multipathing
@@ -26,9 +27,9 @@
user_friendly_names yes
}
##
-## This is a template multipath-tools configuration file
-## Uncomment the lines relevent to your environment
+## Here is an example of how to configure some standard options.
##
+#
#defaults {
# udev_dir /dev
# polling_interval 10
@@ -45,7 +46,7 @@
#}
##
## The wwid line in the following blacklist section is shown as an example
-## of how to blacklist devices by wwid. The 3 devnode lines are the
+## of how to blacklist devices by wwid. The 2 devnode lines are the
## compiled in default blacklist. If you want to blacklist entire types
## of devices, such as all scsi devices, you should use a devnode line.
## However, if you want to blacklist specific devices, you should use
--- multipath-tools/path_priority/pp_netapp/Makefile 2007/06/15 21:03:14 1.2.2.2
+++ multipath-tools/path_priority/pp_netapp/Makefile 2007/10/09 21:48:20 1.2.2.3
@@ -17,6 +17,7 @@
install: $(EXEC)
[ -f $(EXEC).static ] && install -m 755 $(EXEC).static $(DESTDIR)$(bindir)/$(EXEC).static
install -m 755 $(EXEC) $(DESTDIR)$(bindir)/$(EXEC)
+ ln -s $(DESTDIR)$(bindir)/$(EXEC) $(DESTDIR)$(bindir)/mpath_prio_ontap
uninstall:
rm $(DESTDIR)$(bindir)/$(EXEC)
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2007-09-11 18:06 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2007-09-11 18:06 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: bmarzins@sourceware.org 2007-09-11 18:06:02
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Changed "foo*" regular expressions to "foo.*". Pulled from upstream
Resolves: bz 233629
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.5&r2=1.5.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.16.2.11&r2=1.16.2.12
--- multipath-tools/multipath.conf.defaults 2007/08/02 23:00:52 1.5.2.5
+++ multipath-tools/multipath.conf.defaults 2007/09/11 18:06:01 1.5.2.6
@@ -62,7 +62,7 @@
# }
# device {
# vendor "{HITACHI|HP}"
-# product "OPEN-*"
+# product "OPEN-.*"
# path_grouping_policy multibus
# path_checker tur
# }
@@ -133,7 +133,7 @@
# }
# device {
# vendor "HITACHI"
-# product "DF*"
+# product "DF.*"
# path_grouping_policy group_by_prio
# prio_callout "/sbin/mpath_prio_hds_modular %d"
# path_checker "readsector0"
@@ -167,7 +167,7 @@
# }
# device {
# vendor "IBM"
-# product "2105*"
+# product "2105.*"
# path_grouping_policy group_by_serial
# getuid_callout "/sbin/scsi_id -g -u -s"
# features "1 queue_if_no_path"
--- multipath-tools/libmultipath/hwtable.c 2007/05/15 16:42:26 1.16.2.11
+++ multipath-tools/libmultipath/hwtable.c 2007/09/11 18:06:01 1.16.2.12
@@ -13,7 +13,7 @@
r += store_hwe(hw, "3PARdata", "VV", MULTIBUS, DEFAULT_GETUID);
r += store_hwe(hw, "APPLE*", "Xserve RAID ", MULTIBUS, DEFAULT_GETUID);
- r += store_hwe(hw, "COMPAQ", "HSV110*", GROUP_BY_SERIAL, DEFAULT_GETUID);
+ r += store_hwe(hw, "COMPAQ", "HSV110.*", GROUP_BY_SERIAL, DEFAULT_GETUID);
r += store_hwe(hw, "COMPAQ", "MSA1000", GROUP_BY_SERIAL, DEFAULT_GETUID);
r += store_hwe(hw, "DDN", "SAN DataDirector", MULTIBUS, DEFAULT_GETUID);
r += store_hwe(hw, "DEC", "HSG80", GROUP_BY_SERIAL, DEFAULT_GETUID);
@@ -44,7 +44,7 @@
r += store_hwe_ext(hw, "COMPAQ", "HSV111", GROUP_BY_PRIO,
DEFAULT_GETUID, "/sbin/mpath_prio_alua %n", "0", "0", "tur",
-FAILBACK_IMMEDIATE, NULL, 60, 0, 100);
- r += store_hwe_ext(hw, "{HITACHI,HP}", "OPEN-*", MULTIBUS,
+ r += store_hwe_ext(hw, "{HITACHI,HP}", "OPEN-.*", MULTIBUS,
DEFAULT_GETUID, NULL, "0", "0", "tur", -FAILBACK_IMMEDIATE,
NULL, 60, 0, 100);
r += store_hwe_ext(hw, "HP", "*33[89]0*", MULTIBUS, DEFAULT_GETUID, NULL, "0", "0",
@@ -55,7 +55,7 @@
0, 0, 0);
r += store_hwe_ext(hw, "IBM", "3542", GROUP_BY_SERIAL, DEFAULT_GETUID,
NULL, "0", "0", "tur", FAILBACK_UNDEF, NULL, 0, 0, 0);
- r += store_hwe_ext(hw, "IBM", "2105*", GROUP_BY_SERIAL, DEFAULT_GETUID,
+ r += store_hwe_ext(hw, "IBM", "2105.*", GROUP_BY_SERIAL, DEFAULT_GETUID,
NULL, "0", "1 queue_if_no_path", "tur", FAILBACK_UNDEF, NULL,
0, 0, 0);
r += store_hwe_ext(hw, "IBM", "1750500", GROUP_BY_PRIO,
@@ -85,7 +85,7 @@
NULL, "0", "0", "tur", FAILBACK_UNDEF, NULL, 0, 0, 0);
r += store_hwe_ext(hw, "SGI", "TP9500", FAILOVER, DEFAULT_GETUID,
NULL, "0", "0", "tur", FAILBACK_UNDEF, NULL, 0, 0, 0);
- r += store_hwe_ext(hw, "HITACHI", "DF*", GROUP_BY_PRIO,
+ r += store_hwe_ext(hw, "HITACHI", "DF.*", GROUP_BY_PRIO,
DEFAULT_GETUID, "/sbin/mpath_prio_hds_modular %d", "0", "0",
"readsector0", -FAILBACK_IMMEDIATE, NULL, 0, 0, 0);
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: multipath-tools ./multipath.conf.defaults libm ...
2007-08-14 18:08 bmarzins
@ 2007-08-14 18:23 ` S. J. van Harmelen
0 siblings, 0 replies; 29+ messages in thread
From: S. J. van Harmelen @ 2007-08-14 18:23 UTC (permalink / raw)
To: bmarzins; +Cc: dm-devel
Hello,
Sorry to bother you, but I wanted to thank you for your update on the
multipath.conf.default.
I'm trying to get my MD3000 to work properly but had some troubles with
it. I think your example will help me out!
But I do have one question about your update. It says to
use /sbin/mpath_prio_tcp but I don't have this on my system. I do have
the latest version 4.5.8 but can't find it.
Any tip would be greatly appreciated!!
Sander
On Tue, 2007-08-14 at 18:08 +0000, bmarzins@sourceware.org wrote:
> CVSROOT: /cvs/dm
> Module name: multipath-tools
> Branch: RHEL5_FC6
> Changes by: bmarzins@sourceware.org 2007-08-14 18:08:55
>
> Modified files:
> . : multipath.conf.defaults
> libmultipath : devmapper.c hwtable.c
>
> Log message:
> Fixed typos in the Multipath.conf.defaults file. Added some error messages, and
> added a default configuration for the DELL MD3000.
>
> Patches:
> http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.4&r2=1.5.4.5
> http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/devmapper.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.22.2.1&r2=1.22.2.2
> http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.4&r2=1.20.2.5
>
> --- multipath-tools/multipath.conf.defaults 2007/06/19 18:12:15 1.5.4.4
> +++ multipath-tools/multipath.conf.defaults 2007/08/14 18:08:54 1.5.4.5
> @@ -6,7 +6,7 @@
> # polling_interval 5
> # selector "round-robin 0"
> # path_grouping_policy failover
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout none
> # path_checker readsector0
> # rr_min_io 1000
> @@ -25,7 +25,7 @@
> # device {
> # vendor "APPLE.*"
> # product "Xserve RAID"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy multibus
> @@ -36,7 +36,7 @@
> # device {
> # vendor "3PARdata"
> # product "VV"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy multibus
> @@ -47,7 +47,7 @@
> # device {
> # vendor "(COMPAQ|HP)"
> # product "MSA1.*"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "1 hp_sw"
> # path_grouping_policy multibus
> @@ -58,7 +58,7 @@
> # device {
> # vendor "(COMPAQ|HP)"
> # product "HSV(1|2).*"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_alua %n"
> # features "0"
> # hardware_handler "0"
> @@ -72,7 +72,7 @@
> # device {
> # vendor "HP"
> # product "A6189A"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy multibus
> @@ -83,7 +83,7 @@
> # device {
> # vendor "(HITACHI|HP)"
> # product "OPEN-.*"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy multibus
> @@ -95,7 +95,7 @@
> # device {
> # vendor "DDN"
> # product "SAN DataDirector"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy multibus
> @@ -106,7 +106,7 @@
> # device {
> # vendor "DEC"
> # product "HSG80"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "1 hp_sw"
> # path_grouping_policy multibus
> @@ -118,7 +118,7 @@
> # vendor "DGC"
> # product ".*"
> # product_blacklist "LUN_Z"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_emc /dev/%n"
> # features "1 queue_if_no_path"
> # hardware_handler "1 emc"
> @@ -129,6 +129,17 @@
> # rr_min_io 1000
> # path_checker emc_clariion
> # }
> +# device {
> +# vendor "DELL"
> +# product "MD3000"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> +# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
> +# features "0"
> +# hardware_handler "1 rdac"
> +# path_grouping_policy group_by_prio
> +# failback manual
> +# path_checker rdac
> +# }
> # device {
> # vendor "EMC"
> # product "SYMMETRIX"
> @@ -143,7 +154,7 @@
> # device {
> # vendor "FSC"
> # product "CentricStor"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy group_by_serial
> @@ -154,7 +165,7 @@
> # device {
> # vendor "HITACHI"
> # product "DF.*"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_hds_modular %d"
> # features "0"
> # hardware_handler "0"
> @@ -167,7 +178,7 @@
> # device {
> # vendor "IBM"
> # product "ProFibre 4000R"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy multibus
> @@ -178,7 +189,7 @@
> # device {
> # vendor "IBM"
> # product "1742"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_tpc /dev/%n"
> # features "0"
> # hardware_handler "0"
> @@ -191,7 +202,7 @@
> # device {
> # vendor "IBM"
> # product "3526"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_tpc /dev/%n"
> # features "0"
> # hardware_handler "0"
> @@ -204,7 +215,7 @@
> # device {
> # vendor "IBM"
> # product "3542"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy group_by_serial
> @@ -215,7 +226,7 @@
> # device {
> # vendor "IBM"
> # product "2105(800|F20)"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "1 queue_if_no_path"
> # hardware_handler "0"
> # path_grouping_policy group_by_serial
> @@ -226,7 +237,7 @@
> # device {
> # vendor "IBM"
> # product "1750500"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_alua %d"
> # features "1 queue_if_no_path"
> # hardware_handler "0"
> @@ -239,7 +250,7 @@
> # device {
> # vendor "IBM"
> # product "2107900"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "1 queue_if_no_path"
> # hardware_handler "0"
> # path_grouping_policy multibus
> @@ -250,7 +261,7 @@
> # device {
> # vendor "IBM"
> # product "2145"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_alua /dev/%n"
> # features "1 queue_if_no_path"
> # hardware_handler "0"
> @@ -275,7 +286,7 @@
> # device {
> # vendor "NETAPP"
> # product "LUN"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_netapp /dev/%n"
> # features "1 queue_if_no_path"
> # hardware_handler "0"
> @@ -288,7 +299,7 @@
> # device {
> # vendor "IBM"
> # product "Nseries.*"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_netapp /dev/%n"
> # features "1 queue_if_no_path"
> # hardware_handler "0"
> @@ -301,7 +312,7 @@
> # device {
> # vendor "Pillar"
> # product "Axiom 500"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_alua %d"
> # features "0"
> # hardware_handler "0"
> @@ -313,7 +324,7 @@
> # device {
> # vendor "SGI"
> # product "TP9[13]00"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy multibus
> @@ -324,7 +335,7 @@
> # device {
> # vendor "SGI"
> # product "TP9[45]00"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_tpc /dev/%n"
> # features "0"
> # hardware_handler "0"
> @@ -337,7 +348,7 @@
> # device {
> # vendor "STK"
> # product "OPENstorage D280"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # prio_callout "/sbin/mpath_prio_tpc /dev/%n"
> # features "0"
> # hardware_handler "0"
> @@ -349,7 +360,7 @@
> # device {
> # vendor "SUN"
> # product "(StorEdge 3510|T4)"
> -# getuid_callout "/sbin/scsi_id -g -u -s"
> +# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
> # features "0"
> # hardware_handler "0"
> # path_grouping_policy multibus
> --- multipath-tools/libmultipath/devmapper.c 2007/06/15 19:03:02 1.22.2.1
> +++ multipath-tools/libmultipath/devmapper.c 2007/08/14 18:08:54 1.22.2.2
> @@ -627,11 +627,15 @@
>
> dm_task_no_open_count(dmt);
>
> - if (!dm_task_run(dmt))
> + if (!dm_task_run(dmt)) {
> + condlog(0, "can't get dm device list");
> goto out;
> + }
>
> - if (!(names = dm_task_get_names(dmt)))
> + if (!(names = dm_task_get_names(dmt))){
> + condlog(0, "can't get dm device names\n");
> goto out;
> + }
>
> if (!names->dev) {
> r = 0; /* this is perfectly valid */
> @@ -646,8 +650,10 @@
>
> mpp = alloc_multipath();
>
> - if (!mpp)
> + if (!mpp) {
> + condlog(0, "can't allocate multipath device\n");
> goto out;
> + }
>
> mpp->alias = STRDUP(names->name);
>
> @@ -655,18 +661,25 @@
> goto out1;
>
> if (info > 0) {
> - if (dm_get_map(names->name, &mpp->size, mpp->params))
> + if (dm_get_map(names->name, &mpp->size, mpp->params)) {
> + condlog(0, "can't get multipath params\n");
> goto out1;
> + }
>
> - if (dm_get_status(names->name, mpp->status))
> + if (dm_get_status(names->name, mpp->status)) {
> + condlog(0, "can't get multipath status\n");
> goto out1;
> + }
>
> dm_get_uuid(names->name, mpp->wwid);
> dm_get_info(names->name, &mpp->dmi);
> }
>
> - if (!vector_alloc_slot(mp))
> + if (!vector_alloc_slot(mp)) {
> + condlog(0, "can't allocate slot for multipath
> + device\n");
> goto out1;
> + }
>
> vector_set_slot(mp, mpp);
> mpp = NULL;
> --- multipath-tools/libmultipath/hwtable.c 2007/05/08 20:15:58 1.20.2.4
> +++ multipath-tools/libmultipath/hwtable.c 2007/08/14 18:08:54 1.20.2.5
> @@ -525,6 +525,24 @@
> .minio = DEFAULT_MINIO,
> .checker_name = READSECTOR0,
> },
> + /*
> + * DELL arrays
> + */
> + {
> + .vendor = "DELL",
> + .product = "MD3000",
> + .getuid = DEFAULT_GETUID,
> + .getprio = "/sbin/mpath_prio_tpc /dev/%n",
> + .features = DEFAULT_FEATURES,
> + .hwhandler = "1 rdac",
> + .selector = DEFAULT_SELECTOR,
> + .pgpolicy = GROUP_BY_PRIO,
> + .pgfailback = -FAILBACK_MANUAL,
> + .rr_weight = RR_WEIGHT_NONE,
> + .no_path_retry = NO_PATH_RETRY_UNDEF,
> + .minio = DEFAULT_MINIO,
> + .checker_name = READSECTOR0,
> + },
> /*
> * GNBD devices
> *
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2007-08-14 18:08 bmarzins
2007-08-14 18:23 ` S. J. van Harmelen
0 siblings, 1 reply; 29+ messages in thread
From: bmarzins @ 2007-08-14 18:08 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2007-08-14 18:08:55
Modified files:
. : multipath.conf.defaults
libmultipath : devmapper.c hwtable.c
Log message:
Fixed typos in the Multipath.conf.defaults file. Added some error messages, and
added a default configuration for the DELL MD3000.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.4.4&r2=1.5.4.5
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/devmapper.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.22.2.1&r2=1.22.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.4&r2=1.20.2.5
--- multipath-tools/multipath.conf.defaults 2007/06/19 18:12:15 1.5.4.4
+++ multipath-tools/multipath.conf.defaults 2007/08/14 18:08:54 1.5.4.5
@@ -6,7 +6,7 @@
# polling_interval 5
# selector "round-robin 0"
# path_grouping_policy failover
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout none
# path_checker readsector0
# rr_min_io 1000
@@ -25,7 +25,7 @@
# device {
# vendor "APPLE.*"
# product "Xserve RAID"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
@@ -36,7 +36,7 @@
# device {
# vendor "3PARdata"
# product "VV"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
@@ -47,7 +47,7 @@
# device {
# vendor "(COMPAQ|HP)"
# product "MSA1.*"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "1 hp_sw"
# path_grouping_policy multibus
@@ -58,7 +58,7 @@
# device {
# vendor "(COMPAQ|HP)"
# product "HSV(1|2).*"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua %n"
# features "0"
# hardware_handler "0"
@@ -72,7 +72,7 @@
# device {
# vendor "HP"
# product "A6189A"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
@@ -83,7 +83,7 @@
# device {
# vendor "(HITACHI|HP)"
# product "OPEN-.*"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
@@ -95,7 +95,7 @@
# device {
# vendor "DDN"
# product "SAN DataDirector"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
@@ -106,7 +106,7 @@
# device {
# vendor "DEC"
# product "HSG80"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "1 hp_sw"
# path_grouping_policy multibus
@@ -118,7 +118,7 @@
# vendor "DGC"
# product ".*"
# product_blacklist "LUN_Z"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_emc /dev/%n"
# features "1 queue_if_no_path"
# hardware_handler "1 emc"
@@ -129,6 +129,17 @@
# rr_min_io 1000
# path_checker emc_clariion
# }
+# device {
+# vendor "DELL"
+# product "MD3000"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
+# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# features "0"
+# hardware_handler "1 rdac"
+# path_grouping_policy group_by_prio
+# failback manual
+# path_checker rdac
+# }
# device {
# vendor "EMC"
# product "SYMMETRIX"
@@ -143,7 +154,7 @@
# device {
# vendor "FSC"
# product "CentricStor"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy group_by_serial
@@ -154,7 +165,7 @@
# device {
# vendor "HITACHI"
# product "DF.*"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_hds_modular %d"
# features "0"
# hardware_handler "0"
@@ -167,7 +178,7 @@
# device {
# vendor "IBM"
# product "ProFibre 4000R"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
@@ -178,7 +189,7 @@
# device {
# vendor "IBM"
# product "1742"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
# features "0"
# hardware_handler "0"
@@ -191,7 +202,7 @@
# device {
# vendor "IBM"
# product "3526"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
# features "0"
# hardware_handler "0"
@@ -204,7 +215,7 @@
# device {
# vendor "IBM"
# product "3542"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy group_by_serial
@@ -215,7 +226,7 @@
# device {
# vendor "IBM"
# product "2105(800|F20)"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "1 queue_if_no_path"
# hardware_handler "0"
# path_grouping_policy group_by_serial
@@ -226,7 +237,7 @@
# device {
# vendor "IBM"
# product "1750500"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua %d"
# features "1 queue_if_no_path"
# hardware_handler "0"
@@ -239,7 +250,7 @@
# device {
# vendor "IBM"
# product "2107900"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "1 queue_if_no_path"
# hardware_handler "0"
# path_grouping_policy multibus
@@ -250,7 +261,7 @@
# device {
# vendor "IBM"
# product "2145"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua /dev/%n"
# features "1 queue_if_no_path"
# hardware_handler "0"
@@ -275,7 +286,7 @@
# device {
# vendor "NETAPP"
# product "LUN"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_netapp /dev/%n"
# features "1 queue_if_no_path"
# hardware_handler "0"
@@ -288,7 +299,7 @@
# device {
# vendor "IBM"
# product "Nseries.*"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_netapp /dev/%n"
# features "1 queue_if_no_path"
# hardware_handler "0"
@@ -301,7 +312,7 @@
# device {
# vendor "Pillar"
# product "Axiom 500"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_alua %d"
# features "0"
# hardware_handler "0"
@@ -313,7 +324,7 @@
# device {
# vendor "SGI"
# product "TP9[13]00"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
@@ -324,7 +335,7 @@
# device {
# vendor "SGI"
# product "TP9[45]00"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
# features "0"
# hardware_handler "0"
@@ -337,7 +348,7 @@
# device {
# vendor "STK"
# product "OPENstorage D280"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
# features "0"
# hardware_handler "0"
@@ -349,7 +360,7 @@
# device {
# vendor "SUN"
# product "(StorEdge 3510|T4)"
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
# features "0"
# hardware_handler "0"
# path_grouping_policy multibus
--- multipath-tools/libmultipath/devmapper.c 2007/06/15 19:03:02 1.22.2.1
+++ multipath-tools/libmultipath/devmapper.c 2007/08/14 18:08:54 1.22.2.2
@@ -627,11 +627,15 @@
dm_task_no_open_count(dmt);
- if (!dm_task_run(dmt))
+ if (!dm_task_run(dmt)) {
+ condlog(0, "can't get dm device list");
goto out;
+ }
- if (!(names = dm_task_get_names(dmt)))
+ if (!(names = dm_task_get_names(dmt))){
+ condlog(0, "can't get dm device names\n");
goto out;
+ }
if (!names->dev) {
r = 0; /* this is perfectly valid */
@@ -646,8 +650,10 @@
mpp = alloc_multipath();
- if (!mpp)
+ if (!mpp) {
+ condlog(0, "can't allocate multipath device\n");
goto out;
+ }
mpp->alias = STRDUP(names->name);
@@ -655,18 +661,25 @@
goto out1;
if (info > 0) {
- if (dm_get_map(names->name, &mpp->size, mpp->params))
+ if (dm_get_map(names->name, &mpp->size, mpp->params)) {
+ condlog(0, "can't get multipath params\n");
goto out1;
+ }
- if (dm_get_status(names->name, mpp->status))
+ if (dm_get_status(names->name, mpp->status)) {
+ condlog(0, "can't get multipath status\n");
goto out1;
+ }
dm_get_uuid(names->name, mpp->wwid);
dm_get_info(names->name, &mpp->dmi);
}
- if (!vector_alloc_slot(mp))
+ if (!vector_alloc_slot(mp)) {
+ condlog(0, "can't allocate slot for multipath
+ device\n");
goto out1;
+ }
vector_set_slot(mp, mpp);
mpp = NULL;
--- multipath-tools/libmultipath/hwtable.c 2007/05/08 20:15:58 1.20.2.4
+++ multipath-tools/libmultipath/hwtable.c 2007/08/14 18:08:54 1.20.2.5
@@ -525,6 +525,24 @@
.minio = DEFAULT_MINIO,
.checker_name = READSECTOR0,
},
+ /*
+ * DELL arrays
+ */
+ {
+ .vendor = "DELL",
+ .product = "MD3000",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_tpc /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = "1 rdac",
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_MANUAL,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = NO_PATH_RETRY_UNDEF,
+ .minio = DEFAULT_MINIO,
+ .checker_name = READSECTOR0,
+ },
/*
* GNBD devices
*
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2007-05-07 17:59 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2007-05-07 17:59 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: bmarzins@sourceware.org 2007-05-07 17:59:46
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
multipath : multipath.conf.redhat
Log message:
Applied fix for 238983. the dasdview callout now uses the -f option.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.3&r2=1.5.2.4
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.16.2.9&r2=1.16.2.10
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath/multipath.conf.redhat.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.2&r2=1.5.2.3
--- multipath-tools/multipath.conf.defaults 2007/05/04 17:13:34 1.5.2.3
+++ multipath-tools/multipath.conf.defaults 2007/05/07 17:59:46 1.5.2.4
@@ -206,7 +206,7 @@
# product "S/390 DASD ECKD"
# bl_product "S/390"
# path_grouping_policy multibus
-# getuid_callout "/sbin/dasdview -j /dev/%n"
+# getuid_callout "/sbin/dasdview -j -f /dev/%n"
# path_checker directio
# }
# device {
--- multipath-tools/libmultipath/hwtable.c 2007/04/04 22:28:30 1.16.2.9
+++ multipath-tools/libmultipath/hwtable.c 2007/05/07 17:59:46 1.16.2.10
@@ -69,7 +69,7 @@
"/sbin/mpath_prio_alua /dev/%n", "0", "1 queue_if_no_path",
"tur", -FAILBACK_IMMEDIATE, NULL, 0, 0, 0);
r += store_hwe_ext(hw, "IBM", "S/390 DASD ECKD", MULTIBUS,
- "/sbin/dasdview -j /dev/%n", NULL, "0", "0",
+ "/sbin/dasdview -j -f /dev/%n", NULL, "0", "0",
"directio", FAILBACK_UNDEF, "S/390", 0, 0, 0);
r += store_hwe_ext(hw, "NETAPP", "LUN", GROUP_BY_PRIO, DEFAULT_GETUID,
"/sbin/mpath_prio_netapp /dev/%n", NULL,
--- multipath-tools/multipath/multipath.conf.redhat 2007/01/10 21:56:17 1.5.2.2
+++ multipath-tools/multipath/multipath.conf.redhat 2007/05/07 17:59:46 1.5.2.3
@@ -25,7 +25,7 @@
# vendor "IBM"
# product "S/390 DASD ECKD"
# path_grouping_policy multibus
-# getuid_callout "/sbin/dasdview -j /dev/%n"
+# getuid_callout "/sbin/dasdview -j -f /dev/%n"
# path_checker directio
# }
#}
^ permalink raw reply [flat|nested] 29+ messages in thread
* multipath-tools ./multipath.conf.defaults libm ...
@ 2006-12-19 22:51 bmarzins
0 siblings, 0 replies; 29+ messages in thread
From: bmarzins @ 2006-12-19 22:51 UTC (permalink / raw)
To: dm-cvs, dm-devel
CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL5_FC6
Changes by: bmarzins@sourceware.org 2006-12-19 22:51:32
Modified files:
. : multipath.conf.defaults
libmultipath : hwtable.c
Log message:
Fix for bz #219804. multipath no longer blacklists s/390 DASDs by default.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipath.conf.defaults.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5&r2=1.5.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/hwtable.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.20.2.1&r2=1.20.2.2
--- multipath-tools/multipath.conf.defaults 2006/05/12 02:03:59 1.5
+++ multipath-tools/multipath.conf.defaults 2006/12/19 22:51:31 1.5.4.1
@@ -11,7 +11,7 @@
# path_checker readsector0
# rr_min_io 1000
# rr_weight uniform
-# failback immediate
+# failback manual
# no_path_retry fail
# user_friendly_names no
#}
@@ -24,228 +24,348 @@
#
#devices {
# device {
+# vendor "APPLE.*"
+# product "Xserve RAID"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
+# }
+# device {
# vendor "3PARdata"
# product "VV"
-# path_grouping_policy multibus
# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
# }
# device {
-# vendor "COMPAQ"
-# product "HSV110 \(C\)COMPAQ"
-# path_grouping_policy group_by_serial
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# vendor "(COMPAQ|HP)"
+# product "MSA1.*"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "1 hp_sw"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker hp_sw
# }
# device {
-# vendor "HP"
-# product "HSV101"
-# path_grouping_policy group_by_prio
+# vendor "(COMPAQ|HP)"
+# product "HSV(1|2).*"
+# getuid_callout "/sbin/scsi_id -g -u -s"
# prio_callout "/sbin/mpath_prio_alua %d"
-# path_checker tur
-# no_path_retry 60
-# }
-# device {
-# vendor "COMPAQ"
-# product "HSV111 \(C\)COMPAQ"
+# features "0"
+# hardware_handler "0"
# path_grouping_policy group_by_prio
-# prio_callout "/sbin/mpath_prio_alua %d"
-# path_checker tur
-# no_path_retry 60
-# }
-# device {
-# vendor "HP"
-# product "HSV200"
-# path_grouping_policy group_by_prio
-# prio_callout "/sbin/mpath_prio_alua %d"
-# path_checker tur
-# no_path_retry 60
-# }
-# device {
-# vendor "HP"
-# product "HSV210"
-# path_grouping_policy group_by_prio
-# prio_callout "/sbin/mpath_prio_alua %d"
+# failback immediate
+# rr_weight uniform
+# no_path_retry 60
+# rr_min_io 1000
# path_checker tur
-# no_path_retry 60
# }
# device {
-# vendor "HP"
-# product "OPEN-."
-# path_grouping_policy multibus
-# path_checker tur
-# }
-# device {
-# vendor "HP"
-# product "*33[89]0*"
-# path_grouping_policy multibus
-# path_checker tur
-# }
-# device {
-# vendor "HP"
-# product "MSA VOLUME"
-# path_grouping_policy group_by_prio
-# prio_callout "/sbin/mpath_prio_alua %d"
-# path_checker tur
-# }
+# vendor "HP"
+# product "A6189A"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
+# }
# device {
-# vendor "COMPAQ"
-# product "MSA1000"
-# path_grouping_policy group_by_serial
-# getuid_callout "/sbin/scsi_id -g -u -s"
-# }
+# vendor "(HITACHI|HP)"
+# product "OPEN-.*"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# failback immediate
+# rr_weight uniform
+# rr_min_io 100
+# path_checker tur
+# }
# device {
# vendor "DDN"
# product "SAN DataDirector"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
# }
# device {
# vendor "DEC"
# product "HSG80"
-# path_grouping_policy group_by_serial
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "1 hp_sw"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker hp_sw
# }
# device {
# vendor "DGC"
-# product "*"
+# product ".*"
# bl_product "LUN_Z"
-# path_grouping_policy group_by_prio
# getuid_callout "/sbin/scsi_id -g -u -s"
# prio_callout "/sbin/mpath_prio_emc /dev/%n"
-# hardware_handler "1 emc"
# features "1 queue_if_no_path"
-# path_checker emc_clariion
+# hardware_handler "1 emc"
+# path_grouping_policy group_by_prio
# failback immediate
+# rr_weight uniform
+# no_path_retry 60
+# rr_min_io 1000
+# path_checker emc_clariion
# }
# device {
# vendor "EMC"
# product "SYMMETRIX"
-# path_grouping_policy multibus
# getuid_callout "/sbin/scsi_id -g -u -ppre-spc3-83 -s /block/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
# }
# device {
# vendor "FSC"
# product "CentricStor"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
# path_grouping_policy group_by_serial
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
# }
# device {
# vendor "HITACHI"
-# product "DF400"
-# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# product "DF.*"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# prio_callout "/sbin/mpath_prio_hds_modular %d"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
# }
# device {
-# vendor "HITACHI"
-# product "DF500"
+# vendor "IBM"
+# product "ProFibre 4000R"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
# }
# device {
-# vendor "HITACHI"
-# product "DF600"
-# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
-# }
-# device {
-# vendor "HITACHI"
-# product "CF600F*"
-# path_grouping_policy group_by_prio
-# prio_callout "/sbin/mpath_prio_hds_modular %d"
-# path_checker "readsector0"
+# vendor "IBM"
+# product "1742"
# getuid_callout "/sbin/scsi_id -g -u -s"
+# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
# failback immediate
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
# }
# device {
-# vendor "HP"
-# product "HSV110"
+# vendor "IBM"
+# product "3526"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
+# }
+# device {
+# vendor "IBM"
+# product "3542"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
# path_grouping_policy group_by_serial
-# getuid_callout "/sbin/scsi_id -g -u -s"
-# }
-# device {
-# vendor "HP"
-# product "A6189A"
-# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
-# }
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
+# }
+# device {
+# vendor "IBM"
+# product "2105(800|F20)"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "1 queue_if_no_path"
+# hardware_handler "0"
+# path_grouping_policy group_by_serial
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
+# }
+# device {
+# vendor "IBM"
+# product "1750500"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# prio_callout "/sbin/mpath_prio_alua %d"
+# features "1 queue_if_no_path"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
+# }
# device {
# vendor "IBM"
-# product "ProFibre 4000R"
+# product "2107900"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "1 queue_if_no_path"
+# hardware_handler "0"
# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
# }
# device {
# vendor "IBM"
-# product "3542"
-# path_grouping_policy group_by_serial
+# product "2145"
# getuid_callout "/sbin/scsi_id -g -u -s"
-# path_checker tur
+# prio_callout "/sbin/mpath_prio_alua /dev/%n"
+# features "1 queue_if_no_path"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
+# }
+# device {
+# vendor "IBM"
+# product "S/390 DASD ECKD"
+# getuid_callout "/sbin/dasd_id /dev/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker directio
# }
# device {
# vendor "NETAPP"
# product "LUN"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# prio_callout "/sbin/mpath_prio_netapp /dev/%n"
+# features "1 queue_if_no_path"
+# hardware_handler "0"
# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# rr_min_io 128
+# path_checker readsector0
+# }
+# device {
+# vendor "IBM"
+# product "Nseries.*"
# getuid_callout "/sbin/scsi_id -g -u -s"
# prio_callout "/sbin/mpath_prio_netapp /dev/%n"
# features "1 queue_if_no_path"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# rr_min_io 128
# path_checker readsector0
# }
# device {
# vendor "Pillar"
# product "Axiom 500"
-# path_grouping_policy group_by_prio
-# getuid_callout "/sbin/scsi_id -g -u -s"
-# prio_callout "/sbin/mpath_prio_alua %d"
-# path_checker tur
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# prio_callout "/sbin/mpath_prio_alua %d"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker tur
# }
# device {
# vendor "SGI"
-# product "TP9100"
-# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
-# }
-# device {
-# vendor "SGI"
-# product "TP9300"
+# product "TP9[13]00"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
# }
# device {
# vendor "SGI"
-# product "TP9400"
-# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
-# path_checker tur
-# }
-# device {
-# vendor "SGI"
-# product "TP9500"
-# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# product "TP9[45]00"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# rr_min_io 1000
# path_checker tur
-# }
+# }
# device {
# vendor "STK"
# product "OPENstorage D280"
-# path_grouping_policy group_by_serial
-# getuid_callout "/sbin/scsi_id -g -u -s"
-# }
-# device {
-# vendor "SUN"
-# product "StorEdge 3510"
-# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# prio_callout "/sbin/mpath_prio_tpc /dev/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy group_by_prio
+# failback immediate
+# rr_weight uniform
+# rr_min_io 1000
# }
# device {
# vendor "SUN"
-# product "T4"
+# product "(StorEdge 3510|T4)"
+# getuid_callout "/sbin/scsi_id -g -u -s"
+# features "0"
+# hardware_handler "0"
# path_grouping_policy multibus
-# getuid_callout "/sbin/scsi_id -g -u -s"
+# rr_weight uniform
+# rr_min_io 1000
+# path_checker readsector0
# }
# device {
# vendor "GNBD"
# product "GNBD"
-# path_grouping_policy multibus
-# getuid_callout "/sbin/gnbd_import -U /block/%n"
+# getuid_callout "/sbin/gnbd_import -q -U /block/%n"
+# features "0"
+# hardware_handler "0"
+# path_grouping_policy multibus
+# rr_weight uniform
+# rr_min_io 1000
# path_checker directio
# }
#}
--- multipath-tools/libmultipath/hwtable.c 2006/12/14 23:44:33 1.20.2.1
+++ multipath-tools/libmultipath/hwtable.c 2006/12/19 22:51:32 1.20.2.2
@@ -76,7 +76,7 @@
},
{
.vendor = "(COMPAQ|HP)",
- .product = "(MSA|HSV)1.*",
+ .product = "MSA1.*",
.getuid = DEFAULT_GETUID,
.getprio = NULL,
.features = DEFAULT_FEATURES,
@@ -90,8 +90,23 @@
.checker_name = HP_SW,
},
{
+ .vendor = "(COMPAQ|HP)",
+ .product = "HSV(1|2).*",
+ .getuid = DEFAULT_GETUID,
+ .getprio = "/sbin/mpath_prio_alua /dev/%n",
+ .features = DEFAULT_FEATURES,
+ .hwhandler = DEFAULT_HWHANDLER,
+ .selector = DEFAULT_SELECTOR,
+ .pgpolicy = GROUP_BY_PRIO,
+ .pgfailback = -FAILBACK_IMMEDIATE,
+ .rr_weight = RR_WEIGHT_NONE,
+ .no_path_retry = 60,
+ .minio = 100,
+ .checker_name = TUR,
+ },
+ {
.vendor = "HP",
- .product = "(HSV2.*|A6189A)",
+ .product = "A6189A",
.getuid = DEFAULT_GETUID,
.getprio = NULL,
.features = DEFAULT_FEATURES,
@@ -198,11 +213,11 @@
.hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
.pgpolicy = MULTIBUS,
- .pgfailback = FAILBACK_UNDEF,
+ .pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = NO_PATH_RETRY_UNDEF,
- .minio = DEFAULT_MINIO,
- .checker_name = READSECTOR0,
+ .minio = 100,
+ .checker_name = TUR,
},
{
.vendor = "HITACHI",
@@ -356,7 +371,6 @@
/* IBM S/390 ECKD DASD */
.vendor = "IBM",
.product = "S/390 DASD ECKD",
- .bl_product = "S/390.*",
.getuid = "/sbin/dasd_id /dev/%n",
.getprio = NULL,
.features = DEFAULT_FEATURES,
^ permalink raw reply [flat|nested] 29+ messages in thread
end of thread, other threads:[~2012-06-14 21:56 UTC | newest]
Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-14 19:42 multipath-tools ./multipath.conf.defaults libm bmarzins
-- strict thread matches above, loose matches on Subject: below --
2012-06-14 21:56 bmarzins
2011-01-21 16:57 bmarzins
2010-11-12 20:17 bmarzins
2010-09-21 18:06 bmarzins
2010-09-03 3:46 bmarzins
2010-08-24 21:51 bmarzins
2010-08-09 21:35 bmarzins
2010-08-09 18:38 bmarzins
2010-02-10 4:11 bmarzins
2010-01-26 5:50 bmarzins
2009-12-02 19:15 bmarzins
2009-09-28 18:41 bmarzins
2009-09-28 18:28 bmarzins
2009-09-11 15:19 bmarzins
2009-08-19 21:52 bmarzins
2009-01-15 22:47 bmarzins
2009-01-13 22:26 bmarzins
2008-08-29 18:30 bmarzins
2008-07-12 17:36 bmarzins
2008-07-12 2:44 bmarzins
2008-07-12 0:07 bmarzins
2008-01-03 20:16 bmarzins
2007-10-09 21:48 bmarzins
2007-09-11 18:06 bmarzins
2007-08-14 18:08 bmarzins
2007-08-14 18:23 ` S. J. van Harmelen
2007-05-07 17:59 bmarzins
2006-12-19 22:51 bmarzins
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.