summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@sourceware.org>2010-01-26 14:01:49 +0100
committerChristophe Varoqui <christophe.varoqui@free.fr>2010-01-26 14:01:49 +0100
commit0cca36611a04e26aee7052cd911687867870085a (patch)
treef050962941a73d61ba855550bcbd055b67bc9d4b
parent848721ca9cdd627d6e13affcf4b67831fec9683f (diff)
downloadmultipath-tools-0cca36611a04e26aee7052cd911687867870085a.tar.gz
multipath-tools-0cca36611a04e26aee7052cd911687867870085a.tar.bz2
multipath-tools-0cca36611a04e26aee7052cd911687867870085a.zip
Add hardware defaults for EMC Invista
-rw-r--r--libmultipath/hwtable.c16
-rw-r--r--multipath.conf.defaults14
2 files changed, 30 insertions, 0 deletions
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 7c2d06f..ec8fddd 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -303,6 +303,22 @@ static struct hwentry default_hw[] = {
.checker_name = DIRECTIO,
.prio_name = DEFAULT_PRIO,
},
+ {
+ .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,
+ },
/*
* Hitachi controller family
*
diff --git a/multipath.conf.defaults b/multipath.conf.defaults
index 4f8806a..064a696 100644
--- a/multipath.conf.defaults
+++ b/multipath.conf.defaults
@@ -209,6 +209,20 @@
# prio emc
# }
# device {
+# vendor "EMC"
+# product "Invista"
+# product_blacklist "LUNZ"
+# getuid_callout "/sbin/scsi_id --whitelisted --device=/dev/%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"
# getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"