Skip to contentSkip to conversation

multipath-tools: Default configuration changes

PATCH New Benjamin Marzinski 1 participant 1 message Oct 20, 2009 Device mapper

lore
Share & tools
lore

Benjamin Marzinski

author maintainer
#0 lore raw

PATCH 1/1 multipath-tools: Default configuration changes

Add support for some more MSA arrays.

---
 libmultipath/hwtable.c  |    2 +-
 multipath.conf.defaults |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
libmultipath/hwtable.c +1 -1
Index: multipath-tools-091013/libmultipath/hwtable.c
===================================================================
@@ -128,7 +128,7 @@ static struct hwentry default_hw[] = {
 	},
 	{
 		/* MSA 1000/1500 with new firmware */
-		.vendor        = "HP",
+		.vendor        = "(COMPAQ|HP)",
 		.product       = "MSA VOLUME",
 		.getuid        = DEFAULT_GETUID,
 		.features      = DEFAULT_FEATURES,
multipath.conf.defaults +2 -2
Index: multipath-tools-091013/multipath.conf.defaults
===================================================================
@@ -91,7 +91,7 @@
 #		prio			hp_sw
 #	}
 #	device {
-#		vendor			"HP"
+#		vendor			"(COMPAQ|HP)"
 #		product			"MSA VOLUME"
 #		getuid_callout		"/lib/udev/scsi_id --whitelisted --device=/dev/%n"
 #		features		"0"
@@ -122,7 +122,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		"/lib/udev/scsi_id --whitelisted --device=/dev/%n"
 #		features		"0"
 #		hardware_handler	"0"