[prev in list] [next in list] [prev in thread] [next in thread]
List: dm-devel
Subject: [dm-devel] [PATCH 10/18] multipath-tools: add Nexsan E-Series and SATABeast/SATABoy to hwtable
From: Xose Vazquez Perez <xose.vazquez () gmail ! com>
Date: 2016-07-30 0:28:18
Message-ID: 1469838506-15689-10-git-send-email-xose.vazquez () gmail ! com
[Download RAW message or body]
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 --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
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic