Skip to contentSkip to conversation

multipath: storagetek 6180 config

PATCH Superseded Benjamin Marzinski 2 participants 2 messages Jan 8, 2013 – Jan 10, 2013 Device mapper

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Benjamin Marzinski

author maintainer
#0 lore raw

PATCH 1/1 multipath: storagetek 6180 config

New StorageTek default config.

---
 libmultipath/hwtable.c |   15 +++++++++++++++
 1 file changed, 15 insertions(+)
libmultipath/hwtable.c +15 -0
Index: multipath-tools-120821/libmultipath/hwtable.c
===================================================================
@@ -1120,6 +1120,21 @@ static struct hwentry default_hw[] = {
 		.prio_name     = PRIO_RDAC,
 		.prio_args     = NULL,
 	},
+	/* StorageTek 6180 */
+	{
+		.vendor        = "SUN",
+		.product       = "SUN_6180",
+		.features      = DEFAULT_FEATURES,
+		.hwhandler     = "1 rdac",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+		.minio         = DEFAULT_MINIO,
+		.minio_rq      = DEFAULT_MINIO_RQ,
+		.checker_name  = RDAC,
+		.prio_name     = PRIO_RDAC,
+	},
 	/* LSI/Engenio/NetApp E-Series RDAC storage */
 	{
 		.vendor        = "(LSI|ENGENIO)",
#1 lore raw
Quoted 24 lines · Benjamin Marzinski

New StorageTek default config.

---
 libmultipath/hwtable.c |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

Index: multipath-tools-120821/libmultipath/hwtable.c
===================================================================

libmultipath/hwtable.c +8 -0
@@ -1120,6 +1120,21 @@ static struct hwentry default_hw[] = {
 		.prio_name     = PRIO_RDAC,
 		.prio_args     = NULL,
 	},
+	/* StorageTek 6180 */
+	{
+		.vendor        = "SUN",
+		.product       = "SUN_6180",
+		.features      = DEFAULT_FEATURES,
+		.hwhandler     = "1 rdac",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1140

Quoted 10 lines
libmultipath/hwtable.c +7 -0
+		.rr_weight     = RR_WEIGHT_NONE,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+		.minio         = DEFAULT_MINIO,
+		.minio_rq      = DEFAULT_MINIO_RQ,
+		.checker_name  = RDAC,
+		.prio_name     = PRIO_RDAC,
+	},
 	/* LSI/Engenio/NetApp E-Series RDAC storage */
 	{
 		.vendor        = "(LSI|ENGENIO)",

These changes should also translate to the multipath.conf.defaults file.

By the way, DEVICES in multipath.conf.defaults and hwtable.c are a bit out of sync:

multipath.conf.defaults hwtable.c
======================= =========

	15 IBM			23 IBM
	4 HP			6 HP
	3 EMC			2 EMC
	-			4 DELL
	-			1 (LSI|ENGENIO)
	-			1 COMPELNT