[dm-devel] [PATCH] multipath-tools: add HPE StoreVirtual 4000 family(LEFTHAND) to hwtable

Xose Vazquez Perez xose.vazquez at gmail.com
Wed Oct 5 21:00:14 UTC 2016


No official documentation, based on field-tested configuration:
https://www.citrix.com/blogs/2013/10/02/hp-p4000-multipath-config-file/
https://community.hpe.com/t5/HPE-StoreVirtual-Storage/StoreVirtual-4000-and-multipath-tools-Linux/m-p/6874775

Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: device-mapper development <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
 libmultipath/hwtable.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 8ecaffb..e1ed7ef 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -146,6 +146,15 @@ static struct hwentry default_hw[] = {
 		.no_path_retry = 18,
 		.prio_name     = PRIO_ALUA,
 	},
+	{
+		/* StoreVirtual 4000 family */
+		.vendor        = "LEFTHAND",
+		.product       = "^(P4000|iSCSIDisk)",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.no_path_retry = 18,
+		.prio_name     = PRIO_ALUA,
+	},
 	/*
 	 * DataDirect Networks
 	 */
-- 
2.10.1




More information about the dm-devel mailing list