Skip to contentSkip to conversation

multipath-tools: add new devices to hwtable

PATCH Superseded Xose Vazquez Perez 3 participants 11 messages Sep 10, 2025 – Oct 5, 2025 Device mapper

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover multipath-tools: add new devices to hwtable

Xose Vazquez Perez (3):
multipath-tools: add Acronis Cyber Infrastructure to hwtable
multipath-tools: add EqualLogic PS to hwtable
multipath-tools: add QSAN to hwtable

 libmultipath/hwtable.c | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
Signature · 1 line
2.51.0
#1 lore raw

PATCH 1/3 multipath-tools: add Acronis Cyber Infrastructure to hwtable

Source: https://dl.acronis.com/u/software-defined/html/AcronisCyberInfrastructure_3_5_users_guide_en-US/accessing-iscsi/accessing-iscsi-targets-from-linux.html

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
---
 libmultipath/hwtable.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
libmultipath/hwtable.c +15 -0
index 1a78c36d..12e10577 100644
@@ -1371,6 +1371,21 @@ static struct hwentry default_hw[] = {
 		.pgpolicy      = GROUP_BY_SERIAL,
 		.no_path_retry = 30,
 	},
+	/*
+	 * Acronis
+	 */
+	{
+		// Cyber Infrastructure
+		.vendor        = "VSTORAGE",
+		.product       = "VSTOR-DISK",
+		.prio_name     = PRIO_ALUA,
+		.pgpolicy      = GROUP_BY_NODE_NAME,
+		.detect_prio   = DETECT_PRIO_OFF,
+		.features      = "2 pg_init_retries 50",
+		.pgfailback    = -FAILBACK_FOLLOWOVER,
+		.flush_on_last_del = FLUSH_ALWAYS,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+	},
 	/*
 	 * EOL
 	 */
Signature · 1 line
2.51.0
#2 lore raw

Re: [PATCH 1/3] multipath-tools: add Acronis Cyber Infrastructure to hwtable

Quoted 21 lines · Xose Vazquez Perez

Source: https://dl.acronis.com/u/software-defined/html/AcronisCyberInfrastructure_3_5_users_guide_en-US/accessing-iscsi/accessing-iscsi-targets-from-linux.html

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
---
 libmultipath/hwtable.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
libmultipath/hwtable.c +2 -0
index 1a78c36d..12e10577 100644
@@ -1371,6 +1371,21 @@ static struct hwentry default_hw[] = {
 		.pgpolicy      = GROUP_BY_SERIAL,
 		.no_path_retry = 30,
 	},
+	/*
+	 * Acronis

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1385

Quoted 10 lines
libmultipath/hwtable.c +10 -0
+	 */
+	{
+		// Cyber Infrastructure
+		.vendor        = "VSTORAGE",
+		.product       = "VSTOR-DISK",
+		.prio_name     = PRIO_ALUA,
+		.pgpolicy      = GROUP_BY_NODE_NAME,
+		.detect_prio   = DETECT_PRIO_OFF,
+		.features      = "2 pg_init_retries 50",
+		.pgfailback    = -FAILBACK_FOLLOWOVER,

I'm not sure about the pgfailback setting. the FAILBACK_FOLLOWOVER mode is not something that is really needed for a specific array type. It works like FAILOVER_IMMEDIATE, but it's designed to work so that if multiple nodes are using the same multipath device, and one of them loses access to the highest priority pathgroup but the others don't, multipath won't keep switching pathgroups back and forth. The nodes that can see the higher priority pathgroup won't automatically switch back to it, since they weren't the ones that switched away from it. So the setting is more for a specific use case, and not a specific array type.

On the other hand, it is what the vendor tested, and with a single machine accessing the multipath device, you usually only switch away from the highest priority pathgroup because you lost access to all the paths in it. So it usually won't get stuck on a lower priority pathgroup while a higher priority one is usable, although that could happen.

Thoughts?

-Ben

Quoted 8 lines
libmultipath/hwtable.c +3 -0
+		.flush_on_last_del = FLUSH_ALWAYS,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+	},
 	/*
 	 * EOL
 	 */
Signature · 1 line
2.51.0
#3 lore raw

Re: [PATCH 1/3] multipath-tools: add Acronis Cyber Infrastructure to hwtable

Quoted 43 lines · Benjamin Marzinski
Quoted 21 lines · Xose Vazquez Perez

Source: https://dl.acronis.com/u/software-defined/html/AcronisCyberInfrastructure_3_5_users_guide_en-US/accessing-iscsi/accessing-iscsi-targets-from-linux.html

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
---
  libmultipath/hwtable.c | 15 +++++++++++++++
  1 file changed, 15 insertions(+)
libmultipath/hwtable.c +2 -0
index 1a78c36d..12e10577 100644
@@ -1371,6 +1371,21 @@ static struct hwentry default_hw[] = {
  		.pgpolicy      = GROUP_BY_SERIAL,
  		.no_path_retry = 30,
  	},
+	/*
+	 * Acronis

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1385

Quoted 10 lines
libmultipath/hwtable.c +10 -0
+	 */
+	{
+		// Cyber Infrastructure
+		.vendor        = "VSTORAGE",
+		.product       = "VSTOR-DISK",
+		.prio_name     = PRIO_ALUA,
+		.pgpolicy      = GROUP_BY_NODE_NAME,
+		.detect_prio   = DETECT_PRIO_OFF,
+		.features      = "2 pg_init_retries 50",
+		.pgfailback    = -FAILBACK_FOLLOWOVER,

I'm not sure about the pgfailback setting. the FAILBACK_FOLLOWOVER mode is not something that is really needed for a specific array type. It works like FAILOVER_IMMEDIATE, but it's designed to work so that if multiple nodes are using the same multipath device, and one of them loses access to the highest priority pathgroup but the others don't, multipath won't keep switching pathgroups back and forth. The nodes that can see the higher priority pathgroup won't automatically switch back to it, since they weren't the ones that switched away from it. So the setting is more for a specific use case, and not a specific array type.

Quoted 7 lines

On the other hand, it is what the vendor tested, and with a single machine accessing the multipath device, you usually only switch away from the highest priority pathgroup because you lost access to all the paths in it. So it usually won't get stuck on a lower priority pathgroup while a higher priority one is usable, although that could happen.

Thoughts?

Yes, it is a weird value for pgfailback. But it's in two docs from different vendors:
https://dl.acronis.com/u/software-defined/html/AcronisCyberInfrastructure_3_5_users_guide_en-US/accessing-iscsi/accessing-iscsi-targets-from-linux.html
and https://docs.virtuozzo.com/pdf/virtuozzo_hybrid_infrastructure_6_2_users_guide.pdf

I don't even know who the real manufacturer is.

#4 lore raw

Re: [PATCH 1/3] multipath-tools: add Acronis Cyber Infrastructure to hwtable

In reply to Benjamin Marzinski
Quoted 48 lines · Benjamin Marzinski
Quoted 22 lines · Xose Vazquez Perez

Source:
https://dl.acronis.com/u/software-defined/html/AcronisCyberInfrastructure_3_5_users_guide_en-US/accessing-iscsi/accessing-iscsi-targets-from-linux.html

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>

---
 libmultipath/hwtable.c | 15 +++++++++++++++

 1 file changed, 15 insertions(+)
libmultipath/hwtable.c +2 -0
index 1a78c36d..12e10577 100644
@@ -1371,6 +1371,21 @@ static struct hwentry default_hw[] = {
  		.pgpolicy      = GROUP_BY_SERIAL,
  		.no_path_retry = 30,
  	},
+	/*
+	 * Acronis

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1385

Quoted 10 lines
libmultipath/hwtable.c +10 -0
+	 */
+	{
+		// Cyber Infrastructure
+		.vendor        = "VSTORAGE",
+		.product       = "VSTOR-DISK",
+		.prio_name     = PRIO_ALUA,
+		.pgpolicy      = GROUP_BY_NODE_NAME,
+		.detect_prio   = DETECT_PRIO_OFF,
+		.features      = "2 pg_init_retries 50",
+		.pgfailback    = -FAILBACK_FOLLOWOVER,

I'm not sure about the pgfailback setting. the FAILBACK_FOLLOWOVER mode
is not something that is really needed for a specific array type. It works like FAILOVER_IMMEDIATE, but it's designed to work so that if multiple nodes are using the same multipath device, and one of them loses access to the highest priority pathgroup but the others don't, multipath won't keep switching pathgroups back and forth. The nodes that
can see the higher priority pathgroup won't automatically switch back to
it, since they weren't the ones that switched away from it. So the setting is more for a specific use case, and not a specific array type.

Quoted 5 lines

On the other hand, it is what the vendor tested, and with a single machine accessing the multipath device, you usually only switch away from the highest priority pathgroup because you lost access to all the
paths in it.

Not necessarily. path_group_prio_update() calculates the average of the path priorities in the group. With ALUA and groups of 6+ paths, an optimized group with one healthy path will have a lower prio (8) than a non-optimized group with all healthy paths (10). In such a case it could happen that multipathd switches to the non-optimized group and never switches back.

I would suggest setting FAILBACK_IMMEDIATE instead. It's well documented that FOLLOWOVER is only for cluster environments.

Regards
Martin

Quoted 19 lines

So it usually won't get stuck on a lower priority pathgroup
while a higher priority one is usable, although that could happen.

Thoughts?

-Ben

Quoted 8 lines
libmultipath/hwtable.c +3 -0
+		.flush_on_last_del = FLUSH_ALWAYS,
+		.no_path_retry = NO_PATH_RETRY_QUEUE,
+	},
  	/*
  	 * EOL
  	 */
Signature · 1 line
2.51.0
#5 lore raw

Re: [PATCH 1/3] multipath-tools: add Acronis Cyber Infrastructure to hwtable

Quoted 59 lines · Martin Wilck
Quoted 51 lines · Benjamin Marzinski
Quoted 22 lines · Xose Vazquez Perez

Source:
https://dl.acronis.com/u/software-defined/html/AcronisCyberInfrastructure_3_5_users_guide_en-US/accessing-iscsi/accessing-iscsi-targets-from-linux.html

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>

---
 libmultipath/hwtable.c | 15 +++++++++++++++

 1 file changed, 15 insertions(+)
libmultipath/hwtable.c +2 -0
index 1a78c36d..12e10577 100644
@@ -1371,6 +1371,21 @@ static struct hwentry default_hw[] = {
  		.pgpolicy      = GROUP_BY_SERIAL,
  		.no_path_retry = 30,
  	},
+	/*
+	 * Acronis

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 1385

Quoted 10 lines
libmultipath/hwtable.c +10 -0
+	 */
+	{
+		// Cyber Infrastructure
+		.vendor        = "VSTORAGE",
+		.product       = "VSTOR-DISK",
+		.prio_name     = PRIO_ALUA,
+		.pgpolicy      = GROUP_BY_NODE_NAME,
+		.detect_prio   = DETECT_PRIO_OFF,
+		.features      = "2 pg_init_retries 50",
+		.pgfailback    = -FAILBACK_FOLLOWOVER,

I'm not sure about the pgfailback setting. the FAILBACK_FOLLOWOVER mode
is not something that is really needed for a specific array type. It
works like FAILOVER_IMMEDIATE, but it's designed to work so that if multiple nodes are using the same multipath device, and one of them loses access to the highest priority pathgroup but the others don't,
multipath won't keep switching pathgroups back and forth. The nodes that
can see the higher priority pathgroup won't automatically switch back
to
it, since they weren't the ones that switched away from it. So the setting is more for a specific use case, and not a specific array type.

Quoted 6 lines

On the other hand, it is what the vendor tested, and with a single machine accessing the multipath device, you usually only switch away
from the highest priority pathgroup because you lost access to all the
paths in it.

Quoted 8 lines

Not necessarily. path_group_prio_update() calculates the average of the
path priorities in the group. With ALUA and groups of 6+ paths, an optimized group with one healthy path will have a lower prio (8) than a
non-optimized group with all healthy paths (10). In such a case it could happen that multipathd switches to the non-optimized group and never switches back.

Sorry, this example was incorrect. Only paths in UP or GHOST states are counted in for the PG prio. In this example the optimized group would still have p = 50, and what I described would not occur.

The example would be correct if the 5 non-"healthy" paths in the first PG were in standby aka GHOST state (resulting in p = 55 / 6 = 9). But that's a very different scenario, and highly theoretical.

Quoted 2 lines

I would suggest setting FAILBACK_IMMEDIATE instead. It's well documented that FOLLOWOVER is only for cluster environments.

Despite the wrong example, I still think FAILBACK_IMMEDIATE makes more sense as a general default. We can add a comment about the vendor recommendations.

Martin

#6 lore raw

Re: [PATCH 1/3] multipath-tools: add Acronis Cyber Infrastructure to hwtable

Quoted 19 lines · Martin Wilck
Quoted 8 lines · Martin Wilck

Not necessarily. path_group_prio_update() calculates the average of the
path priorities in the group. With ALUA and groups of 6+ paths, an optimized group with one healthy path will have a lower prio (8) than a
non-optimized group with all healthy paths (10). In such a case it could happen that multipathd switches to the non-optimized group and never switches back.

Sorry, this example was incorrect. Only paths in UP or GHOST states are counted in for the PG prio. In this example the optimized group would still have p = 50, and what I described would not occur.

The example would be correct if the 5 non-"healthy" paths in the first PG were in standby aka GHOST state (resulting in p = 55 / 6 = 9). But that's a very different scenario, and highly theoretical.

Quoted 6 lines
Quoted 2 lines

I would suggest setting FAILBACK_IMMEDIATE instead. It's well documented that FOLLOWOVER is only for cluster environments.

Despite the wrong example, I still think FAILBACK_IMMEDIATE makes more sense as a general default. We can add a comment about the vendor recommendations.

I sent a new patch with that fixed.

#7 lore raw

PATCH 2/3 multipath-tools: add EqualLogic PS to hwtable

In reply to Xose Vazquez Perez

Source: https://dl.dell.com/manuals/all-products/esuprt_software/esuprt_it_ops_datcentr_mgmt/s-solution-resources_white-papers30_en-us.pdf

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
---
 libmultipath/hwtable.c | 7 +++++++
 1 file changed, 7 insertions(+)
libmultipath/hwtable.c +7 -0
index 12e10577..392131a3 100644
@@ -408,6 +408,13 @@ static struct hwentry default_hw[] = {
 		.prio_name     = PRIO_ALUA,
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 	},
+	{
+		// EqualLogic PS Series
+		.vendor        = "EQLOGIC",
+		.product       = "100E-00",
+		.pgpolicy      = MULTIBUS,
+		.no_path_retry = 30,
+	},
 	/*
 	 * Fujitsu
 	 */
Signature · 1 line
2.51.0
maintainer Reviewed-by on v1 2/3
#8 lore raw

Re: [PATCH 2/3] multipath-tools: add EqualLogic PS to hwtable

Quoted 7 lines · Xose Vazquez Perez

Source: https://dl.dell.com/manuals/all-products/esuprt_software/esuprt_it_ops_datcentr_mgmt/s-solution-resources_white-papers30_en-us.pdf

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
Quoted 24 lines
---
 libmultipath/hwtable.c | 7 +++++++
 1 file changed, 7 insertions(+)
libmultipath/hwtable.c +7 -0
index 12e10577..392131a3 100644
@@ -408,6 +408,13 @@ static struct hwentry default_hw[] = {
 		.prio_name     = PRIO_ALUA,
 		.pgfailback    = -FAILBACK_IMMEDIATE,
 	},
+	{
+		// EqualLogic PS Series
+		.vendor        = "EQLOGIC",
+		.product       = "100E-00",
+		.pgpolicy      = MULTIBUS,
+		.no_path_retry = 30,
+	},
 	/*
 	 * Fujitsu
 	 */
Signature · 1 line
2.51.0
#9 lore raw

PATCH 3/3 multipath-tools: add QSAN to hwtable

In reply to Xose Vazquez Perez

Source #13/15: https://www.qsan.com/data/dl_files/qs_wp_iSCSI-MPIO-in-Linux%20(en).pdf

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
---
 libmultipath/hwtable.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
libmultipath/hwtable.c +12 -0
index 80e76fed..d9723f87 100644
@@ -1393,6 +1393,18 @@ static struct hwentry default_hw[] = {
 		.flush_on_last_del = FLUSH_ALWAYS,
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
 	},
+	/*
+	 * QSAN
+	 */
+	{
+		// XF / XCubeFAS / XCubeSAN / XN / XCubeNXT Series
+		.vendor        = "^Qsan",
+		.product       = ".*",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.no_path_retry = 30,
+		.prio_args     = "exclusive_pref_bit",
+	},
 	/*
 	 * EOL
 	 */
Signature · 1 line
2.51.0
maintainer Reviewed-by on v1 3/3
#10 lore raw

Re: [PATCH 3/3] multipath-tools: add QSAN to hwtable

Quoted 7 lines · Xose Vazquez Perez

Source #13/15: https://www.qsan.com/data/dl_files/qs_wp_iSCSI-MPIO-in-Linux%20(en).pdf

Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM_DEVEL-ML <[email protected]>
Quoted 29 lines
---
 libmultipath/hwtable.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
libmultipath/hwtable.c +12 -0
index 80e76fed..d9723f87 100644
@@ -1393,6 +1393,18 @@ static struct hwentry default_hw[] = {
 		.flush_on_last_del = FLUSH_ALWAYS,
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
 	},
+	/*
+	 * QSAN
+	 */
+	{
+		// XF / XCubeFAS / XCubeSAN / XN / XCubeNXT Series
+		.vendor        = "^Qsan",
+		.product       = ".*",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.no_path_retry = 30,
+		.prio_args     = "exclusive_pref_bit",
+	},
 	/*
 	 * EOL
 	 */
Signature · 1 line
2.51.0