public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] report: add multipath.conf and wwids file
@ 2021-04-16 13:15 Mira Limbeck
  2021-04-20 14:43 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Mira Limbeck @ 2021-04-16 13:15 UTC (permalink / raw)
  To: pve-devel

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 | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 10758c4d..fc54e9e2 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -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;
 };
-- 
2.20.1





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH manager] report: add multipath.conf and wwids file
  2021-04-16 13:15 [pve-devel] [PATCH manager] report: add multipath.conf and wwids file Mira Limbeck
@ 2021-04-20 14:43 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-04-20 14:43 UTC (permalink / raw)
  To: Proxmox VE development discussion, Mira Limbeck, pve-devel

On 16.04.21 15:15, Mira Limbeck wrote:
> 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 | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-20 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 13:15 [pve-devel] [PATCH manager] report: add multipath.conf and wwids file Mira Limbeck
2021-04-20 14:43 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal