[dm-devel] [PATCH] mpathpersist.8: add missing documentation for -K, -C, -l

Martin Wilck mwilck at suse.com
Mon May 22 22:16:43 UTC 2017


Furthermore, add a reference to the sg_persist man page.
---
 mpathpersist/mpathpersist.8 | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/mpathpersist/mpathpersist.8 b/mpathpersist/mpathpersist.8
index 4b15666f..a8982e65 100644
--- a/mpathpersist/mpathpersist.8
+++ b/mpathpersist/mpathpersist.8
@@ -34,6 +34,12 @@ attribute must be defined in the \fI/etc/multipath.conf\fR file. Otherwise the
 \fBmultipathd\fR daemon will not check for persistent reservation for newly
 discovered paths or reinstated paths.
 .
+.LP
+\fBmpathpersist\fR supports the same command-line options as the
+\fBsg_persist\fR utility.
+.
+Consult the \fBsg_persist (8)\fR manual page for an in-depth discussion of the
+various options.
 .
 .\" ----------------------------------------------------------------------------
 .SH OPTIONS
@@ -89,6 +95,10 @@ PR Out parameter 'APTPL'.
 PR In: Read Keys.
 .
 .TP
+.BI \--param-rk=\fIRK\fB|\-K " RK"
+PR Out parameter reservation key (RK is in hex, up to 8 bytes).
+.
+.TP
 .BI \--param-sark=\fISARK\fB|\-S " SARK"
 PR Out parameter service action reservation key (SARK is in hex).
 .
@@ -97,6 +107,10 @@ PR Out parameter service action reservation key (SARK is in hex).
 PR Out: Preempt.
 .
 .TP
+.B \--clear|\-C
+PR Out: Clear registrations.
+.
+.TP
 .B \--preempt-abort|\-A
 PR Out: Preempt and Abort.
 .
@@ -140,6 +154,10 @@ PR Out: Reserve.
 .BI \--transport-id=\fITIDS\fB|\-X " TIDS"
 TransportIDs can be mentioned in several forms.
 .
+.TP
+.BI \--alloc-length=\fILEN\fB|\-l " LEN"
+PR In: maximum allocation length. LEN is a decimal number between 0 and 8192.
+.
 .
 .\" ----------------------------------------------------------------------------
 .SH EXAMPLE
@@ -164,7 +182,8 @@ Read the reservation status of the /dev/mapper/mpath9 device:
 .\" ----------------------------------------------------------------------------
 .
 .BR multipath (8),
-.BR multipathd (8).
+.BR multipathd (8),
+.BR sg_persist (8).
 .
 .
 .\" ----------------------------------------------------------------------------
-- 
2.12.2




More information about the dm-devel mailing list