From patchwork Mon Aug 28 23:46:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9926459 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CC2AE60375 for ; Mon, 28 Aug 2017 23:47:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDB5628475 for ; Mon, 28 Aug 2017 23:47:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0ECA285AE; Mon, 28 Aug 2017 23:47:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 365F328475 for ; Mon, 28 Aug 2017 23:47:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id ED591C0587D3; Mon, 28 Aug 2017 23:47:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com ED591C0587D3 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dm-devel-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com ED591C0587D3 Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="go9d1777" Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D26B85EDEA; Mon, 28 Aug 2017 23:47:09 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 8C20E3889; Mon, 28 Aug 2017 23:47:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v7SNl8Bm013333 for ; Mon, 28 Aug 2017 19:47:08 -0400 Received: by smtp.corp.redhat.com (Postfix) id 26F4368869; Mon, 28 Aug 2017 23:47:08 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2171968D85 for ; Mon, 28 Aug 2017 23:47:06 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 14EE5C0587C8 for ; Mon, 28 Aug 2017 23:47:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 14EE5C0587C8 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=xose.vazquez@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 14EE5C0587C8 Received: by mail-wm0-f66.google.com with SMTP id j72so2052963wmi.3 for ; Mon, 28 Aug 2017 16:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=DoCVmt0lXM4UVVn5TX6B5nYjYta1T4Bui/TbwEPBzZ0=; b=go9d1777/eKwCoPlG8Kl3dGTGAKyKuBnd/Z4mcAXZpoGWLXIyrPCYttRr5tdMDHkNZ Ij8WkYHi/5UTuHHtzT4QeJGESko1wX2KTzTKOuoreAV3kto2T10oXypU2d0NnoIzKs4k FtK9v5vMHJACO7Vv2R61ubtZUhGHgSkyWKgNrxsMukwKeJmH4nibjDankbsW9dWm072T HgFDJAigHNBznkZ2UfLXyFqFh9vF+Ye2WNT+qP7Fr00AGXxCWmYz0VfCwO0lmGNhvtH5 q7+BDM2G3VYBuFRSQYm55CHhZRd7+cou3tYzqlASyqFLZ9enwHaE7VCtRhlzS8NJepji 7VsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DoCVmt0lXM4UVVn5TX6B5nYjYta1T4Bui/TbwEPBzZ0=; b=F0OVaTH46XZ3VVVPbX1jNsBOtayC/WOYxqJ+xgT+sd/gbYz6+ZS9UWBVePx+m2urd5 oybwLxVNEKp1y9WHm4gvS0c9gHpmeGAiagize7buHOka3s4rozDe37UkuGXx0200norl 6T5mt6PsU3RE4BZlHvi7rh2E+phniBjf7AG3f1vbLgs3noew2sVHHfyGdazNL26Mins7 x7aPUyfsbge2fAAOblHl3GNXCG1AqT25IgbeW8wnmQZ0tqdk8FElvBXAyJwncwVAyF+P GYYtNamHMxl11vW/IPTys4HBIWph7vtqo/Q5GdeiaoQAu+EvW0n21ZDlMYvNAjeDCGB+ 4m6Q== X-Gm-Message-State: AHYfb5jcAkctcn2xHF+Emfk/6rFWRoMi+kI2Yalow9zGHSdWr4DwgKtj tERkVp7ZrfOThA== X-Google-Smtp-Source: ADKCNb5coIOD/Sp0Wlo9Iy5NSF1WbTEnO2dsedgD3JxeVef4UjVd4rP/H0LTBEi+tv6Pf3qeeSoMvg== X-Received: by 10.28.13.130 with SMTP id 124mr150688wmn.13.1503964023367; Mon, 28 Aug 2017 16:47:03 -0700 (PDT) Received: from localhost ([46.222.22.13]) by smtp.gmail.com with ESMTPSA id y25sm1957628wrd.50.2017.08.28.16.47.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2017 16:47:02 -0700 (PDT) From: Xose Vazquez Perez To: Date: Tue, 29 Aug 2017 01:46:59 +0200 Message-Id: <20170828234659.13995-1-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 28 Aug 2017 23:47:05 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 28 Aug 2017 23:47:05 +0000 (UTC) for IP:'74.125.82.66' DOMAIN:'mail-wm0-f66.google.com' HELO:'mail-wm0-f66.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.13 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.66 mail-wm0-f66.google.com 74.125.82.66 mail-wm0-f66.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez , Martin Wilck Subject: [dm-devel] [PATCH v2] multipath-tools: clarify how to dump the multipathd config X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 28 Aug 2017 23:47:10 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP Reported-by: Martin Wilck Cc: Martin Wilck Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- v2 replace also the text in multipath.8 --- multipath/main.c | 2 +- multipath/multipath.8 | 2 +- multipath/multipath.conf.5 | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/multipath/main.c b/multipath/main.c index dede017..0047bf1 100644 --- a/multipath/main.c +++ b/multipath/main.c @@ -119,7 +119,7 @@ usage (char * progname) " -c check if a device should be a path in a multipath device\n" " -q allow queue_if_no_path when multipathd is not running\n" " -d dry run, do not create or update devmaps\n" - " -t dump internal hardware table\n" + " -t display the currently used multipathd configuration\n" " -r force devmap reload\n" " -i ignore wwids file\n" " -B treat the bindings file as read only\n" diff --git a/multipath/multipath.8 b/multipath/multipath.8 index b9436e5..3c83be4 100644 --- a/multipath/multipath.8 +++ b/multipath/multipath.8 @@ -86,7 +86,7 @@ Flush all unused multipath device maps. . .TP .B \-t -Print internal hardware table to stdout. +Display the currently used multipathd configuration. . .TP .B \-r diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5 index a78ec5b..57a771c 100644 --- a/multipath/multipath.conf.5 +++ b/multipath/multipath.conf.5 @@ -28,7 +28,8 @@ overwrite the built-in configuration table of \fBmultipathd\fP. Any line whose first non-white-space character is a '#' is considered a comment line. Empty lines are ignored. .PP -Internal multipathd configuration can be displayed with the \fBmultipath -t\fR command. +Currently used multipathd configuration can be displayed with the \fBmultipath -t\fR +or \fBmultipathd show config\fR command. . . .\" ----------------------------------------------------------------------------