From patchwork Mon Jun 30 05:13:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Marzinski X-Patchwork-Id: 4445671 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: X-Original-To: patchwork-dm-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 01578BEEAA for ; Mon, 30 Jun 2014 05:18:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B69A202FE for ; Mon, 30 Jun 2014 05:18:41 +0000 (UTC) Received: from mx6-phx2.redhat.com (mx6-phx2.redhat.com [209.132.183.39]) by mail.kernel.org (Postfix) with ESMTP id 2D5D920221 for ; Mon, 30 Jun 2014 05:18:40 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx6-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5U5F95i014309; Mon, 30 Jun 2014 01:15:10 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s5U5EK5i026088 for ; Mon, 30 Jun 2014 01:14:20 -0400 Received: from dhcp80-209.msp.redhat.com (octiron.msp.redhat.com [10.15.80.209]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5U5EJ69010394 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 30 Jun 2014 01:14:20 -0400 Received: from dhcp80-209.msp.redhat.com (localhost [127.0.0.1]) by dhcp80-209.msp.redhat.com (8.14.7/8.14.7) with ESMTP id s5U5EIfl005138; Mon, 30 Jun 2014 00:14:19 -0500 Received: (from bmarzins@localhost) by dhcp80-209.msp.redhat.com (8.14.7/8.14.7/Submit) id s5U5EIF6005137; Mon, 30 Jun 2014 00:14:18 -0500 From: Benjamin Marzinski To: device-mapper development Date: Mon, 30 Jun 2014 00:13:59 -0500 Message-Id: <1404105243-5071-9-git-send-email-bmarzins@redhat.com> In-Reply-To: <1404105243-5071-1-git-send-email-bmarzins@redhat.com> References: <1404105243-5071-1-git-send-email-bmarzins@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-loop: dm-devel@redhat.com Cc: Christophe Varoqui Subject: [dm-devel] [PATCH 08/12] Add missing interactive commands to multipathd man page X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: device-mapper development 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the missing options from the multipathd.8 man page. It also fixes a typo in a log message from the alua prioritizer. Signed-off-by: Benjamin Marzinski --- libmultipath/prioritizers/alua.c | 4 ++-- multipathd/multipathd.8 | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/libmultipath/prioritizers/alua.c b/libmultipath/prioritizers/alua.c index 4165ec6..b967ec7 100644 --- a/libmultipath/prioritizers/alua.c +++ b/libmultipath/prioritizers/alua.c @@ -119,10 +119,10 @@ int getprio (struct path * pp, char * args) condlog(0, "%s: couldn't get target port group", pp->dev); break; case ALUA_PRIO_GETAAS_FAILED: - condlog(0, "%s: couln't get asymmetric access state", pp->dev); + condlog(0, "%s: couldn't get asymmetric access state", pp->dev); break; case ALUA_PRIO_TPGS_FAILED: - condlog(3, "%s: couln't get supported alua states", pp->dev); + condlog(3, "%s: couldn't get supported alua states", pp->dev); break; } } diff --git a/multipathd/multipathd.8 b/multipathd/multipathd.8 index 6da9d2b..358141d 100644 --- a/multipathd/multipathd.8 +++ b/multipathd/multipathd.8 @@ -80,6 +80,9 @@ Show all available block devices by name including the information if they are b .B list|show status Show the number of path checkers in each possible state, the number of monitored paths, and whether multipathd is currently handling a uevent. .TP +.B list|show daemon +Show the current state of the multipathd daemon +.TP .B add path $path Add a path to the list of monitored paths. $path is as listed in /sys/block (e.g. sda). .TP @@ -107,6 +110,13 @@ Sets map $map into suspend state. .B resume map|multipath $map Resumes map $map from suspend state. .TP +.B reset map|multipath $map +Reassign existing device-mapper table(s) use use the multipath device, instead +of its path devices. +.TP +.B reload map|multipath $map +Reload a multipath device. +.TP .B fail path $path Sets path $path into failed state. .TP @@ -125,8 +135,27 @@ Disable queuing on multipathed map $map .B restorequeueing map|multipath $map Restore queuing on multipahted map $map .TP +.B forcequeueing daemon +Forces multipathd into queue_without_daemon mode, so that no_path_retry queueing +will not be disabled when the daemon stops +.TP +.B restorequeueing daemon +Restores configured queue_without_daemon mode +.TP +.B map|multipath $map setprstatus +Enable persistent reservation management on $map +.TP +.B map|multipath $map unsetprstatus +Disable persistent reservation management on $map +.TP +.B map|multipath $map getprstatus +Get the current persistent reservation management status of $map +.TP .B quit|exit End interactive session. +.TP +.B shutdown +Stop multipathd. .SH "SYSTEMD INTEGRATION" When compiled with systemd support two systemd service files are