]> git.proxmox.com Git - pve-manager.git/commitdiff
report: add multipath.conf and wwids file
authorMira Limbeck <m.limbeck@proxmox.com>
Fri, 16 Apr 2021 13:15:54 +0000 (15:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 16 Apr 2021 13:20:40 +0000 (15:20 +0200)
These 2 files can be helpful for issues with multipath. The multipath -v3
output is too large most of the time and not required for analyzing and
solving the issues.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
PVE/Report.pm

index 10758c4d02d23a5425a2dcec1c4ba08bb48ab6a8..fc54e9e2df067ee28191246bd921d04a8da8db0d 100644 (file)
@@ -92,8 +92,12 @@ my $init_report_cmds = sub {
            ;
     }
 
-    push @{$report_def->{disks}}, 'multipath -ll', 'multipath -v3'
-       if cmd_exists('multipath');
+    if (cmd_exists('multipath')) {
+       push @{$report_def->{disks}},
+           'cat /etc/multipath.conf',
+           'cat /etc/multipath/wwids',
+           'multipath -ll';
+    }
 
     return $report_def;
 };