From 48f8c7704061c4c2d0ea5e1c61e0d72ef9115d39 Mon Sep 17 00:00:00 2001 From: John Pittman Date: Sun, 8 Jul 2018 13:36:48 -0400 Subject: [multipath] add multipath -t output The 'multipath -t' command prints the internal hardware table of device-mapper-multipath. These are the true, hard-coded defaults that multipath will follow if no other configuration is set. The hardware table is specific to the device-mapper-multipath version that is in use, so it is subject to change across release, making it difficult to track. Prior to the -t flag creation, the user would have to check the source package or /usr/share/doc/device-mapper-multipath for the table. The output is needed as a piece of the puzzle in how the 'multipathd show config' command presents the current, running configuration (it uses the .conf and the hardware table). This makes it very useful in troubleshooting activities. Resolves: #1379 Signed-off-by: John Pittman Signed-off-by: Bryn M. Reeves --- sos/plugins/multipath.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sos/plugins/multipath.py b/sos/plugins/multipath.py index 5fdb67ca..a3a67e35 100644 --- a/sos/plugins/multipath.py +++ b/sos/plugins/multipath.py @@ -24,6 +24,7 @@ class Multipath(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_cmd_output([ "multipath -ll", "multipath -v4 -ll", + "multipath -t", "multipathd show config" ]) -- cgit