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 <[email protected]>
Cc: device-mapper development <[email protected]>
Signed-off-by: Xose Vazquez Perez <[email protected]>
---
 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
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to