Skip to contentSkip to conversation

multipath-tools

PATCH Gerhard Wichert 1 participant 1 message Feb 7, 2012 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi Christophe,

It would be nice if You could add the Fujitsu storage devices to the HW config table of the multipath tools. Find attached a diff file against version 0.4.9 with the configuration parameters for the Fujitsu devices.

Thanks,

Gerhard

diff -rup multipath-tools-0.4.9/libmultipath/hwtable.c multipath-tools-0.4.9- fts/libmultipath/hwtable.c
--- multipath-tools-0.4.9/libmultipath/hwtable.c 2010-05-22
14:01:58.000000000 +0200
+++ multipath-tools-0.4.9-fts/libmultipath/hwtable.c 2012-02-07
16:17:55.000000000 +0100
@@ -352,6 +352,22 @@ static struct hwentry default_hw[] = {
.prio_name = DEFAULT_PRIO,
.prio_args = NULL,
},
+ {

+               .vendor        = "FUJITSU",
+               .product       = "ETERNUS_DX(L|400|8000)",
+               .getuid        = DEFAULT_GETUID,
+               .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,
+               .prio_name     = PRIO_ALUA,
+               .prio_args     = NULL,
+       },
        /*
         * Hitachi controller family
         *

diff -rup multipath-tools-0.4.9/multipath.conf.defaults multipath-tools-0.4.9- fts/multipath.conf.defaults
--- multipath-tools-0.4.9/multipath.conf.defaults 2010-05-22
14:01:58.000000000 +0200
+++ multipath-tools-0.4.9-fts/multipath.conf.defaults 2012-02-07
16:10:21.000000000 +0100
@@ -266,6 +266,22 @@
# prio_args ""
# }
# device {

+#              vendor                  "FUJITSU"
+#              product                 "ETERNUS_DX(L|400|8000)"
+#              getuid_callout          "/lib/udev/scsi_id --whitelisted --
device=/dev/%n"
+#              features                "1 queue_if_no_path"
+#              hardware_handler        "0"
+#              path_selector           "round-robin 0"
+#              path_grouping_policy    group_by_prio
+#              failback                immediate
+#              rr_weight               uniform
+#              no_path_retry           10
+#              rr_min_io               1000
+#              path_checker            tur
+#              prio                    alua
+#              prio_args               ""
+#      }
+#      device {
 #              vendor                  "(HITACHI|HP)"
 #              product                 "OPEN-.*"
 #              getuid_callout          "/lib/udev/scsi_id --whitelisted --

device=/dev/%n"
---
With best regards

Gerhard Wichert
Senior Developer
DCS R&D HW

FUJITSU
Fujitsu Technology Solutions GmbH
Heinz-Nixdorf-Ring 1, 33106 Paderborn, Germany

Tel:    +49 (5251) 525 2799
Fax:    +49 (5251) 525 32 2799

Email: [email protected]
Web: ts.fujitsu.com
Company Details: ts.fujitsu.com/imprint

libmultipath/hwtable.c +16 -0
diff -rup multipath-tools-0.4.9/libmultipath/hwtable.c multipath-tools-0.4.9-fts/libmultipath/hwtable.c
@@ -352,6 +352,22 @@ static struct hwentry default_hw[] = {
 		.prio_name     = DEFAULT_PRIO,
 		.prio_args     = NULL,
 	},
+	{
+		.vendor        = "FUJITSU",
+		.product       = "ETERNUS_DX(L|400|8000)",
+		.getuid        = DEFAULT_GETUID,
+		.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,
+		.prio_name     = PRIO_ALUA,
+		.prio_args     = NULL,
+	},
 	/*
 	 * Hitachi controller family
 	 *
multipath.conf.defaults +16 -0
diff -rup multipath-tools-0.4.9/multipath.conf.defaults multipath-tools-0.4.9-fts/multipath.conf.defaults
@@ -266,6 +266,22 @@
 #		prio_args		""
 #	}
 #	device {
+#		vendor			"FUJITSU"
+#		product			"ETERNUS_DX(L|400|8000)"
+#		getuid_callout		"/lib/udev/scsi_id --whitelisted --device=/dev/%n"
+#		features		"1 queue_if_no_path"
+#		hardware_handler	"0"
+#		path_selector		"round-robin 0"
+#		path_grouping_policy	group_by_prio
+#		failback		immediate
+#		rr_weight		uniform
+#		no_path_retry		10
+#		rr_min_io		1000
+#		path_checker		tur
+#		prio			alua
+#		prio_args		""
+#	}
+#	device {
 #		vendor			"(HITACHI|HP)"
 #		product			"OPEN-.*"
 #		getuid_callout		"/lib/udev/scsi_id --whitelisted --device=/dev/%n"