[dm-devel] [PATCH] multipath-tools: convert Promise/VTrak to ALUA

Xose Vazquez Perez xose.vazquez at gmail.com
Mon Nov 21 22:17:26 UTC 2016


It's also supported.

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 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index efccca9..eb7a5a0 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -1034,7 +1034,10 @@ static struct hwentry default_hw[] = {
 		.vendor        = "Promise",
 		.product       = "VTrak",
 		.bl_product    = "VTrak V-LUN",
-		.pgpolicy      = MULTIBUS,
+		.hwhandler     = "1 alua",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.prio_name     = PRIO_ALUA,
 		.no_path_retry = 30,
 	},
 	{
-- 
2.10.2




More information about the dm-devel mailing list