multipath-tools: hwtable updates/additions and version output in multipathc
cover multipath-tools: hwtable updates/additions and version output in multipathc
Xose Vazquez Perez (7):
multipath-tools: hwtable: reformat EMC/Celerra entry
multipath-tools: hwtable: clarify FlashSystem(RamSan) NVMe comment
multipath-tools: hwtable: use exact FlashSystem (RamSan) NVMe product ID
multipath-tools: hwtable: add StorONE/S1
multipath-tools: multipathc: print version string on startup
multipath-tools: hwtable: add Zadara VPSA
multipath-tools: multipathd.8.in: restore the original layout
libmultipath/hwtable.c | 30 +++++++++++++++++++++++++++--- multipathd/multipathc.c | 3 +++ multipathd/multipathd.8.in | 2 +- 3 files changed, 31 insertions(+), 4 deletions(-)
Signature · 1 line
2.56.1
PATCH 1/7 multipath-tools: hwtable: reformat EMC/Celerra entry
Move product description inside the braces and drop the vendor name.
--- libmultipath/hwtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/hwtable.c +1 -1
@@ -412,8 +412,8 @@ static struct hwentry default_hw[] = { .pgpolicy = MULTIBUS, .no_path_retry = 30, }, -// EMC Celerra { +// Celerra .vendor = "EMC", .product = "Celerra", .pgpolicy = MULTIBUS,
Signature · 1 line
2.56.1
PATCH 2/7 multipath-tools: hwtable: clarify FlashSystem(RamSan) NVMe comment
In reply to Xose Vazquez PerezExpand the comment for the FlashSystem NVMe entry to specify that NVMe is supported only in FlashSystem 900 models 9840-AE3, 9843-AE3, and 9843-UF3.
--- libmultipath/hwtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/hwtable.c +1 -1
@@ -768,7 +768,7 @@ static struct hwentry default_hw[] = { .pgpolicy = MULTIBUS, }, { -/* FlashSystem(RamSan) NVMe */ +// FlashSystem 900 NVMe (RamSan): 9840-AE3, 9843-AE3 and 9843-UF3 .vendor = "NVME", .product = "FlashSystem", .no_path_retry = NO_PATH_RETRY_FAIL,
Signature · 1 line
2.56.1
PATCH 3/7 multipath-tools: hwtable: use exact FlashSystem (RamSan) NVMe product ID
In reply to Xose Vazquez PerezChange the product pattern to "FlashSystem-9840", which is the identifier reported by the NVMe-compatible models (9840-AE3, 9843-AE3, and 9843-UF3).
--- libmultipath/hwtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/hwtable.c +1 -1
@@ -770,7 +770,7 @@ static struct hwentry default_hw[] = { {// FlashSystem 900 NVMe (RamSan): 9840-AE3, 9843-AE3 and 9843-UF3 .vendor = "NVME", - .product = "FlashSystem", + .product = "FlashSystem-9840", .no_path_retry = NO_PATH_RETRY_FAIL, }, {
Signature · 1 line
2.56.1
PATCH 4/7 multipath-tools: hwtable: add StorONE/S1
In reply to Xose Vazquez PerezConfig on: https://docs.onestor.com/books/linux/page/linux-nfs-fc-and-iscsi#bkmrk-multipath-configurat
--- libmultipath/hwtable.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
libmultipath/hwtable.c +12 -0
@@ -1461,6 +1461,18 @@ static struct hwentry default_hw[] = { .product = "OpenFlex", .no_path_retry = NO_PATH_RETRY_QUEUE, }, +/* +* StorONE +*/ + { +// S1 + .vendor = "STORONE", + .product = "S1", + .pgpolicy = GROUP_BY_PRIO, + .prio_name = PRIO_ALUA, + .pgfailback = -FAILBACK_IMMEDIATE, + .no_path_retry = 30, + },/* * EOL */
Signature · 1 line
2.56.1
PATCH 5/7 multipath-tools: multipathc: print version string on startup
In reply to Xose Vazquez Perez--- multipathd/multipathc.c | 3 +++ 1 file changed, 3 insertions(+)
multipathd/multipathc.c +3 -0
@@ -16,6 +16,7 @@#include "util.h" #include "cli.h" #include "debug.h" +#include "version.h" #ifdef USE_LIBEDIT #include <editline/readline.h>
@@ -297,6 +298,8 @@ int main (int argc, const char * const argv[])int tmo =DEFAULT_REPLY_TIMEOUT +100 ;char *ep; +fprintf (stderr,VERSION_STRING ); +if (argc >2 ) {fprintf (stderr,"Usage: %s [timeout]\n" , argv[0 ]);return 1 ;
Signature · 1 line
2.56.1
PATCH 6/7 multipath-tools: hwtable: add Zadara VPSA
In reply to Xose Vazquez Perez--- libmultipath/hwtable.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
libmultipath/hwtable.c +12 -0
@@ -1473,6 +1473,18 @@ static struct hwentry default_hw[] = { .pgfailback = -FAILBACK_IMMEDIATE, .no_path_retry = 30, }, +/* +* Zadara +*/ + { +// Virtual Private Storage Array + .vendor = "Zadara", + .product = "VPSA", + .pgpolicy = GROUP_BY_PRIO, + .prio_name = PRIO_ALUA, + .pgfailback = -FAILBACK_IMMEDIATE, + .no_path_retry = 10, + },/* * EOL */
Signature · 1 line
2.56.1
PATCH 7/7 multipath-tools: multipathd.8.in: restore the original layout
In reply to Xose Vazquez PerezAdd a blank line between paragraphs.
---
from :
-kcommand
multipathd executes the given command (see COMMANDS below). If the command contains whitespace or shell special characters, it needs to be quoted like in multipathd -k'show topology'. No whitespace is allowed between the -k and the command string. Commands can also be issued without using -k. In this case, the command string should not be quoted. Command arguments that contain whitespace or special characters still need to be quoted, like in multipathd show paths format "%n %w"
to : (as it was before)
-kcommand
multipathd executes the given command (see COMMANDS below). If the command contains whitespace or shell special characters, it needs to be quoted like in multipathd -k'show topology'. No whitespace is allowed between the -k and the command string.
Commands can also be issued without using -k. In this case, the command string should not be quoted. Command arguments that contain whitespace or special characters still need to be quoted, like in multipathd show paths format "%n %w"
--- multipathd/multipathd.8.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
multipathd/multipathd.8.in +1 -1
@@ -77,7 +77,7 @@ multipathd executes the given command (see \fBCOMMANDS\fR below). If the command contains whitespace or shell special characters, it needs to be quoted like in \fImultipathd -k'show topology'\fR. No whitespace is allowed between the \fB-k\fR and the command string. -.br +.IP Commands can also be issued without using \fB-k\fR. In this case, the command string should not be quoted. Command arguments that contain whitespace or special characters still need to be quoted, like in \fImultipathd show paths
Signature · 1 line
2.56.1
Re: [PATCH 5/7] multipath-tools: multipathc: print version string on startup
In reply to Xose Vazquez PerezQuoted 9 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc DM_DEVEL-ML <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>---
multipathd/multipathc.c | 3 +++1 file changed, 3 insertions(+)
What for? I'd prefer multipathd not to be chatty, and I fail to see the benefit of this unsolicited output.
It would be nice to have a "show version" command that would print not only the multipath-tools version but also the versions of relevant other componenents (libdm, kernel dm, kernel mpath). But that's a different thing.
Martin
Signature · 5 lines
Dr. Martin Wilck <[email protected]> SUSE Software Solutions Germany GmbH, Frankenstr. 146, 90461 Nürnberg, Germany Geschäftsführer: Stefan Gaiser, Jochen Jaser, Abhinav Puri (HRB 36809,AG Nürnberg)
Re: [PATCH 5/7] multipath-tools: multipathc: print version string on startup
Quoted 7 lines · Martin Wilck
What for? I'd prefer multipathd not to be chatty, and I fail to see the benefit of this unsolicited output.
It would be nice to have a "show version" command that would print not only the multipath-tools version but also the versions of relevant other componenents (libdm, kernel dm, kernel mpath). But that's a different thing.
Since the "help" command isn't implemented either, even though it's documented in the multipathc man page, this is a quick way to show which version is running.
Re: [PATCH 5/7] multipath-tools: multipathc: print version string on startup
Quoted 6 lines · Xose Vazquez Perez
Quoted 4 lines · Martin Wilck
What for? I'd prefer multipathd not to be chatty, and I fail to see the
benefit of this unsolicited output.
Quoted 8 lines
Quoted 5 lines
It would be nice to have a "show version" command that would print not
only the multipath-tools version but also the versions of relevant other componenents (libdm, kernel dm, kernel mpath). But that's a different thing.Since the "help" command isn't implemented either, even though it's documented in the multipathc man page, this is a quick way to show which version is running.
I don't want this startup message, sorry. multipathc may be used in scripts which I don't want to confuse with stderr output which will be pointless in 90% of cases.
Implementtation of "help" would of course be a welcome addition.
Regards,
Martin
Signature · 5 lines
Dr. Martin Wilck <[email protected]> SUSE Software Solutions Germany GmbH, Frankenstr. 146, 90461 Nürnberg, Germany Geschäftsführer: Stefan Gaiser, Jochen Jaser, Abhinav Puri (HRB 36809,AG Nürnberg)
Benjamin Marzinski
maintainerRe: [PATCH 5/7] multipath-tools: multipathc: print version string on startup
Quoted 16 lines · Martin Wilck
Quoted 6 lines · Xose Vazquez Perez
Quoted 4 lines · Martin Wilck
What for? I'd prefer multipathd not to be chatty, and I fail to see the
benefit of this unsolicited output.Quoted 8 lines
Quoted 5 lines
It would be nice to have a "show version" command that would print not
only the multipath-tools version but also the versions of relevant other componenents (libdm, kernel dm, kernel mpath). But that's a different thing.Since the "help" command isn't implemented either, even though it's documented in the multipathc man page, this is a quick way to show which version is running.
Quoted 5 lines
I don't want this startup message, sorry. multipathc may be used in scripts which I don't want to confuse with stderr output which will be pointless in 90% of cases.
Implementtation of "help" would of course be a welcome addition.
I agree with Martin on this.
Also technically, "help" does show all the commands like the man page says (so does entering "hlep", or any other unrecognized keyword).
-Ben
Quoted 10 lines
Regards,
MartinSignature · 5 lines
Dr. Martin Wilck <[email protected]> SUSE Software Solutions Germany GmbH, Frankenstr. 146, 90461 Nürnberg, Germany Geschäftsführer: Stefan Gaiser, Jochen Jaser, Abhinav Puri (HRB 36809,AG Nürnberg)
Quoted 9 lines · Xose Vazquez Perez
Xose Vazquez Perez (7):
multipath-tools: hwtable: reformat EMC/Celerra entry
multipath-tools: hwtable: clarify FlashSystem(RamSan) NVMe comment
multipath-tools: hwtable: use exact FlashSystem (RamSan) NVMe product ID
multipath-tools: hwtable: add StorONE/S1
multipath-tools: multipathc: print version string on startup
multipath-tools: hwtable: add Zadara VPSA
multipath-tools: multipathd.8.in: restore the original layout
Quoted 4 lines
libmultipath/hwtable.c | 30 +++++++++++++++++++++++++++--- multipathd/multipathc.c | 3 +++ multipathd/multipathd.8.in | 2 +- 3 files changed, 31 insertions(+), 4 deletions(-)
for everything except patch 5:
Re: [PATCH 5/7] multipath-tools: multipathc: print version string on startup
In reply to Benjamin MarzinskiQuoted 11 lines · Benjamin Marzinski
Quoted 5 lines · Martin Wilck
I don't want this startup message, sorry. multipathc may be used in scripts which I don't want to confuse with stderr output which will be pointless in 90% of cases.
Implementtation of "help" would of course be a welcome addition.
I agree with Martin on this.
Also technically, "help" does show all the commands like the man page says (so does entering "hlep", or any other unrecognized keyword).
Fair enough, drop this patch.
Still, it feels a bit odd having to rely on that trick just to see the version or help:
# multipathc multipathd> help fail help: not found multipath-tools v0.14.3 (02/05, 2026) CLI commands reference: list|show paths [...]
Benjamin Marzinski
maintainerRe: [PATCH 5/7] multipath-tools: multipathc: print version string on startup
Quoted 9 lines · Xose Vazquez Perez
Quoted 7 lines · Benjamin Marzinski
Quoted 5 lines · Martin Wilck
I don't want this startup message, sorry. multipathc may be used in scripts which I don't want to confuse with stderr output which will be pointless in 90% of cases.
Implementtation of "help" would of course be a welcome addition.
Quoted 8 lines
Quoted 4 lines
I agree with Martin on this.
Also technically, "help" does show all the commands like the man page says (so does entering "hlep", or any other unrecognized keyword).
Fair enough, drop this patch.
Still, it feels a bit odd having to rely on that trick just to see the version or help:
Yeah, I agree that we should have an actual help command that doesn't return an error. I was just jokingly pointing out that it does do what the documentation says. If you enter "help", multipathd does print out all the available commands as part of the error message.
-Ben
Quoted 9 lines
# multipathc multipathd> help fail help: not found multipath-tools v0.14.3 (02/05, 2026) CLI commands reference: list|show paths [...]