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
Re: [PATCH 5/7] multipath-tools: multipathc: print version string on startup
Quoted 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)
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