From: Heming Zhao Date: Sun, 19 Sep 2021 14:43:13 +0800 Subject: [Cluster-devel] [PATCH 01/10] dlm_tool man: add command "joinleave", add "USAGE" section In-Reply-To: <20210919064322.1670-1-heming.zhao@suse.com> References: <20210919064322.1670-1-heming.zhao@suse.com> Message-ID: <20210919064322.1670-2-heming.zhao@suse.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Signed-off-by: Heming Zhao --- dlm_tool/dlm_tool.8 | 79 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/dlm_tool/dlm_tool.8 b/dlm_tool/dlm_tool.8 index bbc11c261b7e..056c4af0213c 100644 --- a/dlm_tool/dlm_tool.8 +++ b/dlm_tool/dlm_tool.8 @@ -48,6 +48,10 @@ dlm_tool \- a utility for the dlm and dlm_controld daemon .br Leave a lockspace. +.BI joinleave " name" +.br + Do two actions: first Join then Leave a lockspace. + .BI lockdebug " name" .br Complete display of locks from the lockspace. @@ -112,6 +116,81 @@ Print help, then exit .B \-V Print program version information, then exit +.SH USAGE + +dlm_tool ls [-n] [ls_name] + +- + +dlm_tool status [-v] + +- + +dlm_tool dump + +- + +dlm_tool dump_config + +- + +dlm_tool fence_ack \fIls-name\fP + +- + +dlm_tool log_plock + +- + +dlm_tool plocks \fIls-name\fP + +- + +dlm_tool join [-e 0|1] [-f 0|1] \fIls-name\fP + +- + +dlm_tool leave \fIls-name\fP + +- + +dlm_tool joinleave [-e 0|1] [-f 0|1] \fIls-name\fP + +- + +dlm_tool lockdebug [-s] [-v] [-w] \fIls-name\fP + +- + +dlm_tool lockdump [-M] \fIls-name\fP + +- + +dlm_tool run|run_start [-n] \fIcommand\fP + +* current run & run_start support \fIcommand\fP: +.RS 4 +"lvm lvchange --refresh" +.br +"lvm lvs" +.RE + +- + +dlm_tool run_check|run_cancel [-i "sec"] \fIuuid\fP + +- + +dlm_tool run_list + +- + +dlm_tool -h + +- + +dlm_tool -V + .SH SEE ALSO .BR dlm_controld (8), .BR dlm.conf (5) -- 2.32.0