multipath-tools: add iSCSI product id for TEGILE ZEBI
PATCH 1/9 multipath-tools: add iSCSI product id for TEGILE ZEBI
Devices running 2.x firmware has a different product id for iSCSI.
--- libmultipath/hwtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/hwtable.c +1 -1
@@ -1195,7 +1195,7 @@ static struct hwentry default_hw[] = {*/ { .vendor = "TEGILE", - .product = "ZEBI-FC|INTELLIFLASH", + .product = "ZEBI-(FC|ISCSI)|INTELLIFLASH", .hwhandler = "1 alua", .selector = "round-robin 0", .pgpolicy = GROUP_BY_PRIO,
Signature · 1 line
2.5.5
PATCH 2/9 multipath-tools: remove spaces in S390 devices
--- libmultipath/hwtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
libmultipath/hwtable.c +2 -2
@@ -611,7 +611,7 @@ static struct hwentry default_hw[] = {/* IBM S/390 ECKD DASD */ .vendor = "IBM", .product = "S/390 DASD ECKD", - .bl_product = "S/390.*", + .bl_product = "S/390.*", .uid_attribute = "ID_UID", .features = "1 queue_if_no_path", .hwhandler = DEFAULT_HWHANDLER,
@@ -627,7 +627,7 @@ static struct hwentry default_hw[] = {/* IBM S/390 FBA DASD */ .vendor = "IBM", .product = "S/390 DASD FBA", - .bl_product = "S/390.*", + .bl_product = "S/390.*", .uid_attribute = "ID_UID", .features = "1 queue_if_no_path", .hwhandler = DEFAULT_HWHANDLER,
Signature · 1 line
2.5.5
PATCH 3/9 multipath-tools: reduce regex for DGC CLARiiON CX/AX and EMC VNX
In reply to Xose Vazquez Perezvendor="DGC" and product=".*" is tooooo broad. Using same product labels as in drivers/scsi/scsi_dh.c
Field-tested with Clariion VNX7500.
--- libmultipath/hwtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
libmultipath/hwtable.c +2 -2
@@ -267,8 +267,8 @@ static struct hwentry default_hw[] = { }, {/* DGC CLARiiON CX/AX and EMC VNX */ - .vendor = "DGC", - .product = ".*", + .vendor = "^DGC", + .product = "^RAID|^DISK|^VRAID", .bl_product = "LUNZ", .features = "1 queue_if_no_path", .hwhandler = "1 emc",
Signature · 1 line
2.5.5
PATCH 4/9 multipath-tools: unify DELL MD32xx and MD36xx
In reply to Xose Vazquez PerezThey belong same family and share FW:
https://downloads.dell.com/manuals/common/md32xx_md36xx_supportmatrix2_en-us.pdf
The main differences are:
MD3200 6 Gbps direct attached SAS storage array with 12 drives (3.5 inch) MD3220 6 Gbps direct attached SAS storage array with 24 drives (2.5 inch) MD3260 6 Gbps direct Attached SAS storage dense array MD3200i 1 Gbps iSCSI network storage array with 12 drives (3.5 inch)
MD3600i 10 Gbps iSCSI network storage array with 12 drives (3.5 inch) MD3220i 1 Gbps iSCSI network storage array with 24 drives (2.5 inch) MD3620i 10 Gbps iSCSI network storage array with 24 drives (2.5 inch) MD3260i 1 Gbps iSCSI network storage dense array
MD3660i 10 Gbps iSCSI network storage dense array
MD3600f 8 Gbps fibre channel network storage array with 12 drives (3.5 inch) MD3620f 8 Gbps fibre channel network storage array with 24 drives (2.5 inch) MD3660f 8 Gbps fibre channel network storage dense array
A mandatory ACK from Hannes is required, as he was reluctant to unify them.
--- libmultipath/hwtable.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-)
libmultipath/hwtable.c +3 -18
@@ -735,7 +735,7 @@ static struct hwentry default_hw[] = {* DELL */ { -/* DELL MD3000/MD3000i */ +/* DELL MD3000 */ .vendor = "DELL", .product = "MD3000", .bl_product = "Universal Xport",
@@ -750,24 +750,9 @@ static struct hwentry default_hw[] = { .prio_args = NULL, }, { -/* DELL MD32xx/MD32xxi */ +/* DELL MD32xx/MD36xx */ .vendor = "DELL", - .product = "MD32xx", - .bl_product = "Universal Xport", - .features = "2 pg_init_retries 50", - .hwhandler = "1 rdac", - .pgpolicy = GROUP_BY_PRIO, - .pgfailback = -FAILBACK_IMMEDIATE, - .rr_weight = RR_WEIGHT_NONE, - .no_path_retry = 15, - .checker_name = RDAC, - .prio_name = PRIO_RDAC, - .prio_args = NULL, - }, - { -/* DELL MD36xxi/MD36xxf */ - .vendor = "DELL", - .product = "MD36xx(i|f)", + .product = "MD32xx|MD36xx", .bl_product = "Universal Xport", .features = "2 pg_init_retries 50", .hwhandler = "1 rdac",
Signature · 1 line
2.5.5
PATCH 5/9 multipath-tools: add DELL MD34xx/MD38xx
In reply to Xose Vazquez PerezNew MD34xx/MD38xx family based also on RDAC:
http://downloads.dell.com/manuals/common/md34xx_md38xx_support%20matrix2_en-us.pdf
MD3400 12 Gbps direct attached SAS storage array with 12 drives (3.5 inch) MD3420 12 Gbps direct attached SAS storage array with 24 drives (2.5 inch) MD3460 12 Gbps direct attached SAS storage dense array MD3800i 10 Gbps iSCSI network storage array with 12 drives (3.5 inch) MD3820i 10 Gbps iSCSI network storage array with 24 drives (2.5 inch) MD3860i 10 Gbps iSCSI network storage dense array MD3800f 16 Gbps FC network storage array with 12 drives (3.5 inch) MD3820f 16 Gbps FC network storage array with 24 drives (2.5 inch) MD3860f 16 Gbps FC network storage dense array
--- libmultipath/hwtable.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
libmultipath/hwtable.c +15 -0
@@ -764,6 +764,21 @@ static struct hwentry default_hw[] = { .prio_name = PRIO_RDAC, .prio_args = NULL, }, + { +/* DELL MD34xx/MD38xx */ + .vendor = "DELL", + .product = "MD34xx|MD38xx", + .bl_product = "Universal Xport", + .features = "2 pg_init_retries 50", + .hwhandler = "1 rdac", + .pgpolicy = GROUP_BY_PRIO, + .pgfailback = -FAILBACK_IMMEDIATE, + .rr_weight = RR_WEIGHT_NONE, + .no_path_retry = 15, + .checker_name = RDAC, + .prio_name = PRIO_RDAC, + .prio_args = NULL, + },/* * NETAPP */
Signature · 1 line
2.5.5
PATCH 6/9 multipath-tools: do not track temp vim files and patches
In reply to Xose Vazquez Perezadd *.swp and *.patch to .gitignore
--- .gitignore | 2 ++ 1 file changed, 2 insertions(+)
.gitignore +2 -0
@@ -10,3 +10,5 @@ multipath/multipath multipathd/multipathd mpathpersist/mpathpersist .nfs* +*.swp +*.patch
Signature · 1 line
2.5.5
PATCH 7/9 multipath-tools: tips on adding new devices with proprietary handlers
In reply to Xose Vazquez Perezkernel(SCSI) and multipath-tools should be in sync. Currently in drivers/scsi/scsi_dh.c:
{"DGC", "RAID", "clariion" },
{"DGC", "DISK", "clariion" },
{"DGC", "VRAID", "clariion" }, {"COMPAQ", "MSA1000 VOLUME", "hp_sw" },
{"COMPAQ", "HSV110", "hp_sw" },
{"HP", "HSV100", "hp_sw"},
{"DEC", "HSG80", "hp_sw"}, {"IBM", "1722", "rdac", },
{"IBM", "1724", "rdac", },
{"IBM", "1726", "rdac", },
{"IBM", "1742", "rdac", },
{"IBM", "1745", "rdac", },
{"IBM", "1746", "rdac", },
{"IBM", "1813", "rdac", }, -> missing in multipath-tools !!!Added in 4df01b. It's an IBM DCS3860.
{"IBM", "1814", "rdac", },
{"IBM", "1815", "rdac", },
{"IBM", "1818", "rdac", },
{"IBM", "3526", "rdac", },
{"SGI", "TP9", "rdac", },
{"SGI", "IS", "rdac", },
{"STK", "OPENstorage D280", "rdac", },
{"STK", "FLEXLINE 380", "rdac", },
{"SUN", "CSM", "rdac", },
{"SUN", "LCSM100", "rdac", },
{"SUN", "STK6580_6780", "rdac", },
{"SUN", "SUN_6180", "rdac", },
{"SUN", "ArrayStorage", "rdac", }, -> missing in multipath-tools !!!Added in 66195f. Unknown device, too generic name.
{"DELL", "MD3", "rdac", },
{"NETAPP", "INF-01-00", "rdac", },
{"LSI", "INF-01-00", "rdac", },
{"ENGENIO", "INF-01-00", "rdac", },--- libmultipath/hwtable.c | 5 +++++ 1 file changed, 5 insertions(+)
libmultipath/hwtable.c +5 -0
@@ -15,6 +15,11 @@* You are welcome to claim maintainership over a controller * family. Please mail the currently enlisted maintainer and * the upstream package maintainer. +* +* WARNING: +* +* Devices with a proprietary handler must also be included in +* the kernel side. Currently at drivers/scsi/scsi_dh.c */ static struct hwentry default_hw[] = {/*
Signature · 1 line
2.5.5
PATCH 8/9 multipath-tools: fix syntax in mpath_persistent_reserve_out.3
In reply to Xose Vazquez Perez./libmpathpersist/mpath_persistent_reserve_out.3:91: warning: tab character in unquoted macro argument
--- libmpathpersist/mpath_persistent_reserve_out.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libmpathpersist/mpath_persistent_reserve_out.3 +1 -1
@@ -88,5 +88,5 @@ sends PR OUT command to the DM device and gets the response. .SH "SEE ALSO" -.I mpath_persistent_reserve_in mpathpersist /usr/share/doc/mpathpersist/README +.I mpath_persistent_reserve_in mpathpersist /usr/share/doc/mpathpersist/README .br
Signature · 1 line
2.5.5
PATCH 9/9 multipath-tools: minor edit in hwtable
In reply to Xose Vazquez Perezdelete empty lines and correct a NEC product.
--- libmultipath/hwtable.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
libmultipath/hwtable.c +1 -4
@@ -189,7 +189,6 @@ static struct hwentry default_hw[] = { .prio_name = PRIO_ALUA, .prio_args = NULL, }, - {/* HP SVSP */ .vendor = "HP",
@@ -205,7 +204,6 @@ static struct hwentry default_hw[] = { .prio_name = PRIO_ALUA, .prio_args = NULL, }, - {/* HP Smart Array */ .vendor = "HP",
@@ -861,7 +859,6 @@ static struct hwentry default_hw[] = { .prio_name = PRIO_ALUA, .prio_args = NULL, }, -/* * SGI */
@@ -910,7 +907,7 @@ static struct hwentry default_hw[] = {* NEC */ { -/* Storage M Series */ +/* M-Series */ .vendor = "NEC", .product = "DISK ARRAY", .features = DEFAULT_FEATURES,
Signature · 1 line
2.5.5
All nine patches of this set are merged.
Thanks.
Quoted 26 lines · Xose Vazquez Perez
Devices running 2.x firmware has a different product id for iSCSI.
Cc Christophe Varoqui <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- libmultipath/hwtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)libmultipath/hwtable.c +1
-2@@ -1195,7 +1195,7 @@ static struct hwentry default_hw[] = {*/ { .vendor = "TEGILE", - .product = "ZEBI-FC|INTELLIFLASH", + .product = "ZEBI-(FC|ISCSI)|INTELLIFLASH", .hwhandler = "1 alua", .selector = "round-robin 0", .pgpolicy = GROUP_BY_PRIO, --2.5.5