[dm-devel] [PATCH] multipath-tools: Default configuration changes

Benjamin Marzinski bmarzins at redhat.com
Tue Oct 20 19:49:47 UTC 2009


Add support for some more MSA arrays.

Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
---
 libmultipath/hwtable.c  |    2 +-
 multipath.conf.defaults |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Index: multipath-tools-091013/libmultipath/hwtable.c
===================================================================
--- multipath-tools-091013.orig/libmultipath/hwtable.c
+++ 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,
Index: multipath-tools-091013/multipath.conf.defaults
===================================================================
--- multipath-tools-091013.orig/multipath.conf.defaults
+++ 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"




More information about the dm-devel mailing list