From patchwork Mon Aug 28 23:27:56 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: 9926409 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 7A08560329 for ; Mon, 28 Aug 2017 23:28:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BBC6287DA for ; Mon, 28 Aug 2017 23:28:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60427287EB; Mon, 28 Aug 2017 23:28:09 +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 EEC7A287DA for ; Mon, 28 Aug 2017 23:28:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4D5AC461D3; Mon, 28 Aug 2017 23:28:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4D5AC461D3 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx05.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 4D5AC461D3 Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nHvmN7uG" Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A7C4268889; Mon, 28 Aug 2017 23:28:06 +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 C8DAA1806101; Mon, 28 Aug 2017 23:28:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v7SNS41W011101 for ; Mon, 28 Aug 2017 19:28:04 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1F90164451; Mon, 28 Aug 2017 23:28:04 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.29]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 196576444D for ; Mon, 28 Aug 2017 23:28:02 +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 1E2135277E for ; Mon, 28 Aug 2017 23:28:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1E2135277E Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=xose.vazquez@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 1E2135277E Received: by mail-wm0-f66.google.com with SMTP id j72so2027849wmi.3 for ; Mon, 28 Aug 2017 16:28:01 -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=tWvsX7YvFo84gSP7iCDSIJ+LHaMpwQaOk8w7iDqIuPw=; b=nHvmN7uGpYU299BZ7gRNFuvi3XtaPIF+nk6bxf2D7mzqq0nxaumm1LL5cqqDc/shzA APT7klk9r95T2pmjx7T71aG0OBc8iO0K5+/uvxU4UkgTEzAV9M633+LsJ0YrM7VvePy5 XRa9MtrkTZPwglT//EnKY6KbO+KfBxM84NmYnz7PUo9Mutd8KeN2a4RvkAGRVXEDxuUJ +42NEyNJkrwKtrh81THOFkLrYFkhg/6c4e8Ir7Mz4nNK3xGnTPazKCHD2IdqdPXi9l7C mTmOQonOGIe3xAutGRnF5XSvyfDQsoS1KcC776kwEYDXJLJmISdqifefInHmVf4Lah32 xRng== 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=tWvsX7YvFo84gSP7iCDSIJ+LHaMpwQaOk8w7iDqIuPw=; b=LjeDX0pdvzU3EGfxY6ZLcO88kVXDE/2GllmAyTmlj4Gzz5bBtelWUYnykLENAa+Zuc ngh5G7WZKL9UAwdiSFNkh2PHHDdsgrv68+7DgnU8/ZhHY4MlbaNyfsHst384vsmzJZ3c 3iqouv3jv6uFlEEImSRDR95cFXqdJvFajXIxiRGkRqLwHnr4lvPVOj+5XY10pHP2uztq RTv4sG/as3B+Lhbc72RPQ7WlG4XVmy2UqHze1lDojpWP+De2Oxt1WnIHJV46ybxuOiAN c9tgHe0B/Naam8h7trUtcRp/w+bVb9MaXXUbP1/2S3hTOp83JtseFZRycc/nkzp/JEYK 4ZZA== X-Gm-Message-State: AHYfb5gX0yJkhYG8ZWDa83AyL5HYkWq/9RvxEOZLe5JvIKsos+njrHn4 JOIA/0Ymw3rZVA== X-Google-Smtp-Source: ADKCNb5TmPsWLUhWkHvoy/OSb4w9IUpOc7/J8l1zhbIk0WngcjFlGM3wc4pSe1kiUXRcRmiud21JMg== X-Received: by 10.28.32.140 with SMTP id g134mr1036664wmg.158.1503962879252; Mon, 28 Aug 2017 16:27:59 -0700 (PDT) Received: from localhost ([46.222.22.13]) by smtp.gmail.com with ESMTPSA id g51sm3417750wrg.49.2017.08.28.16.27.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Aug 2017 16:27:58 -0700 (PDT) From: Xose Vazquez Perez To: Date: Tue, 29 Aug 2017 01:27:56 +0200 Message-Id: <20170828232756.13465-1-xose.vazquez@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 28 Aug 2017 23:28:01 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 28 Aug 2017 23:28:01 +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.29 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH] 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.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 28 Aug 2017 23:28:08 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP Reported-by: Martin Wilck Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- multipath/main.c | 2 +- multipath/multipath.conf.5 | 3 ++- 2 files changed, 3 insertions(+), 2 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.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. . . .\" ----------------------------------------------------------------------------