[dm-devel] [PATCH 10/18] multipath-tools: add Nexsan E-Series and SATABeast/SATABoy to hwtable
Xose Vazquez Perez
xose.vazquez at gmail.com
Sat Jul 30 00:28:18 UTC 2016
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 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 | 12 ++++++++++++
1 file changed, 12 insertions(+)
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.
--
2.7.4
More information about the dm-devel
mailing list