From d311506dc46b22a4c50620a79167b302c2a5d210 Mon Sep 17 00:00:00 2001 From: Steffen Maier Date: Tue, 15 Feb 2022 20:59:20 +0100 Subject: [PATCH] dbginfo.sh: add hex FCP LUN to multipath FC addressing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make use of multipath-tools 0.8.9 commit ("libmultipath: add %L path wildcard for 64-bit hex LUN") https://github.com/opensvc/multipath-tools/commit/260d7cb411fedf49167646ccc8834fd4b88f8005 . Multipath-tools versions that do not know the format wildcard simply ignore it and expand to an empty string, so it's backwards compatible. Signed-off-by: Steffen Maier Signed-off-by: Jan Höppner --- CHANGELOG.md | 1 + scripts/dbginfo.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f9c68fe..52788fc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Release history for s390-tools (MIT version) - dbginfo.sh: replace "which" by builtin command "type" - chreipl-fcp-mpath: bundle a pre-cooked version of the manpage for build environments without access to `pandoc` + - dbginfo.sh: Add multipath info to map paths to FC addressing and prio group Bug Fixes: diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index 56c83927..6e22e7e8 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -463,7 +463,7 @@ CMDS="${CMDS}\ :multipathd -k'show maps'\ :multipathd -k'show topo'\ :multipathd -k'show paths'\ - :multipathd -k'show paths format %w|%a|%r|%p|%i|%d|%D|%t|%T|%o|%0|%C' | sort\ + :multipathd -k'show paths format %w|%a|%r|%L|%p|%i|%d|%D|%t|%T|%o|%0|%C' | sort\ :multipathd -k'show maps stats'\ :multipathd -k'show maps status'\ :multipathd -k'show status'\