public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Mira Limbeck <m.limbeck@proxmox.com>
To: pve-devel@pve.proxmox.com
Subject: [pve-devel] [PATCH manager] report: add multipath.conf and wwids file
Date: Fri, 16 Apr 2021 15:15:54 +0200	[thread overview]
Message-ID: <20210416131554.5056-1-m.limbeck@proxmox.com> (raw)

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





             reply	other threads:[~2021-04-16 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-16 13:15 Mira Limbeck [this message]
2021-04-20 14:43 ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210416131554.5056-1-m.limbeck@proxmox.com \
    --to=m.limbeck@proxmox.com \
    --cc=pve-devel@pve.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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