diff mbox

[10/18] multipath-tools: add Nexsan E-Series and SATABeast/SATABoy to hwtable

Message ID 1469838506-15689-10-git-send-email-xose.vazquez@gmail.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Xose Vazquez Perez July 30, 2016, 12:28 a.m. UTC
Based on documentation provided by the manufacturer:
https://drive.google.com/file/d/0B_B6YmEmO7cDeGRXeG85MXFVMEU

Redhat 6:
vendor                  "NEXSAN "
product                 "NXS-B0.*|SATAB.*"
getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
path_grouping_policy    group_by_prio
prio                    alua
path_checker            directio
path_selector           "round-robin 0"
hardware_handler        "0"
rr_weight               priorities
no_path_retry           15
failback                immediate

SUSE 11 (including OpenSUSE):
vendor                  "NEXSAN "
product                 "NXS-B0.*|SATAB.*"
getuid_callout          "/lib/udev/scsi_id --whitelisted -g -u -d /dev/%n"
path_grouping_policy    group_by_prio
prio                    alua
path_checker            directio
path_selector           "round-robin 0"
hardware_handler        "0"
rr_weight               priorities
no_path_retry           15
failback                immediate

Debian Wheezy:
vendor                  "NEXSAN "
product                 "NXS-B0.*|SATAB.*"
path_grouping_policy    group_by_prio
prio                    alua
path_checker            directio
path_selector           "round-robin 0"
hardware_handler        "1 alua"
rr_weight               priorities
no_path_retry           5
failback                immediate

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

Patch

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 4d5717a..45a6332 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -841,6 +841,18 @@  static struct hwentry default_hw[] = {
 		.dev_loss      = MAX_DEV_LOSS_TMO,
 		.fast_io_fail  = 1,
 	},
+	/*
+	 * Nexsan
+	 */
+	{
+		.vendor        = "NEXSAN",
+		.product       = "(NXS-B0.*|SATAB.*)",
+		.selector      = "round-robin 0",
+		.prio_name     = PRIO_ALUA,
+		.hwhandler     = "1 alua",
+		.rr_weight     = RR_WEIGHT_PRIO,
+		.no_path_retry = 15,
+	},
 #if 0
 	/*
 	 * Copy this TEMPLATE to add new hardware.