[Ocfs2-tools-commits] mmatsuna commits r942 - in trunk: ocfs2_hb_ctl ocfs2cdsl vendor/common

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jun 14 08:41:16 CDT 2005


Author: mmatsuna
Date: 2005-06-14 08:41:13 -0500 (Tue, 14 Jun 2005)
New Revision: 942

Added:
   trunk/ocfs2_hb_ctl/ocfs2_hb_ctl.8.in
Modified:
   trunk/ocfs2_hb_ctl/Makefile
   trunk/ocfs2cdsl/ocfs2cdsl.8.in
   trunk/vendor/common/ocfs2-tools.spec.in
Log:
Updated ocfs2cdsl.8.in, added ocfs2_hb_ctl.8.in and changed ocfs2_hb_ctl/Makefile and vendor/common/ocfs2-tools.spec.in to build the new manpages


Modified: trunk/ocfs2_hb_ctl/Makefile
===================================================================
--- trunk/ocfs2_hb_ctl/Makefile	2005-06-14 09:03:12 UTC (rev 941)
+++ trunk/ocfs2_hb_ctl/Makefile	2005-06-14 13:41:13 UTC (rev 942)
@@ -36,8 +36,10 @@
 
 OBJS = $(subst .c,.o,$(CFILES))
 
-DIST_FILES = $(CFILES) $(HFILES)
+MANS = ocfs2_hb_ctl.8
 
+DIST_FILES = $(CFILES) $(HFILES) ocfs2_hb_ctl.8.in
+
 all: ocfs2_hb_ctl
 
 ocfs2_hb_ctl: $(OBJS) $(LIBOCFS2_DEPS) $(LIBO2DLM_DEPS) $(LIBO2CB_DEPS)

Added: trunk/ocfs2_hb_ctl/ocfs2_hb_ctl.8.in
===================================================================
--- trunk/ocfs2_hb_ctl/ocfs2_hb_ctl.8.in	2005-06-14 09:03:12 UTC (rev 941)
+++ trunk/ocfs2_hb_ctl/ocfs2_hb_ctl.8.in	2005-06-14 13:41:13 UTC (rev 942)
@@ -0,0 +1,68 @@
+.TH "ocfs2_hb_ctl" "8" "March 2005" "Version @VERSION@" "OCFS2 Manual Pages"
+.SH "NAME"
+ocfs2_hb_ctl \- Start/stop the ocfs2 heartbeat.
+.SH "SYNOPSIS"
+.B ocfs2_hb_ctl 
+\fB-S\fR \fB-d\fR \fI<device>\fR
+.br
+.B ocfs2_hb_ctl 
+\fB-K\fR \fB-d\fR \fI<device>\fR
+.br
+.B ocfs2_hb_ctl 
+\fB-K\fR \fB-u\fR \fI<uuid>\fR
+.br
+.B ocfs2_hb_ctl 
+\fB-I\fR \fB-d\fR \fI<device>\fR
+.br
+.B ocfs2_hb_ctl 
+\fB-I\fR \fB-u\fR \fI<uuid>\fR
+.br
+.B ocfs2_hb_ctl 
+\fB-h\fR
+.br
+.SH "DESCRIPTION"
+.PP 
+\fBocfs2_hb_ctl\fR is used to start/stop the heartbeat. It can use either a \fIdevice\fR or \fIuuid\fR.
+.SH "OPTIONS"
+.TP
+\fB\-S\fR
+Start the hearbeat of a \fIdevice\fR. This operation can't be performed using \fIuuid\fR.
+
+.TP
+\fB\-K\fR
+Stop the hearbeat of a \fIdevice\fR. This operation can be performed by using either \fIdevice\fR or \fIuuid\fR.
+
+.TP
+\fB\-I\fR
+Prints out ref counts for the region. This operation can be performed by using either \fIdevice\fR or \fIuuid\fR.
+
+.TP
+\fB\-d\fR
+Specifies region by \fIdevice\fR.
+
+.TP
+\fB\-u\fR
+Specifies region by \fIuuid\fR.
+
+.TP
+\fB\-h\fR
+Displays help and exit.
+
+.TP
+\fBuuid\fR
+Ocfs2 writes a signature to the device when it is formatted (\fBmkfs.ocfs2\fR). To obtain the uuid of a specific \fIdevice\fR, one can use the command.
+.HP 
+mounted.ocfs2 -d /dev/sdxx
+
+.SH "BUGS"
+Stuff.
+
+.SH "SEE ALSO"
+.BR 
+o2cb_ctl(8), mounted.ocfs2(8)
+
+.SH "AUTHORS"
+Oracle Corporation
+
+.SH "COPYRIGHT"
+Copyright \(co 2002, 2004 Oracle Corporation

Modified: trunk/ocfs2cdsl/ocfs2cdsl.8.in
===================================================================
--- trunk/ocfs2cdsl/ocfs2cdsl.8.in	2005-06-14 09:03:12 UTC (rev 941)
+++ trunk/ocfs2cdsl/ocfs2cdsl.8.in	2005-06-14 13:41:13 UTC (rev 942)
@@ -5,7 +5,7 @@
 \fBocfs2cdsl\fR [\fB-cfnqvV\fR] [\fB\-t\fR \fIhostname|mach|os|nodenum\fR] \fIfilename\fR
 .SH "DESCRIPTION"
 .PP 
-\fBocfs2cdsl\fR is used to create context dependent symbolic link for \fIfilename\fR (file or directory) for a node. A CDSL \fIfilename\fR will have its own image for a specific node, but a common name in the OCFS2. 
+\fBocfs2cdsl\fR is used to create context dependent symbolic link for \fIfilename\fR (file or directory) for a node. A CDSL \fIfilename\fR will have its own image for a specific node, but a common name in the OCFS2. It is very important that the \fBocfs2ctl\fR command to be issued on all nodes that are part of the cluster and to any subsequent nodes that are added. If the \fBocfs2cdsl\fR command is not executed in some of the nodes, the cdsl directory will not be accessible by them.
 
 .SH "OPTIONS"
 

Modified: trunk/vendor/common/ocfs2-tools.spec.in
===================================================================
--- trunk/vendor/common/ocfs2-tools.spec.in	2005-06-14 09:03:12 UTC (rev 941)
+++ trunk/vendor/common/ocfs2-tools.spec.in	2005-06-14 13:41:13 UTC (rev 942)
@@ -94,6 +94,7 @@
 /usr/share/man/man8/tunefs.ocfs2.8.gz
 /usr/share/man/man8/mounted.ocfs2.8.gz
 /usr/share/man/man8/o2cb_ctl.8.gz
+/usr/share/man/man8/ocfs2_hb_ctl.8.gz
 /usr/share/man/man8/ocfs2cdsl.8.gz
 
 



More information about the Ocfs2-tools-commits mailing list