[DRBD-cvs] documentation by phil; Added the user space side of ko-count. (...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Wed, 9 Jun 2004 22:06:41 +0200 (CEST)


DRBD CVS committal

Author  : phil
Project : drbd
Module  : documentation

Dir     : drbd/documentation


Modified Files:
      Tag: rel-0_7-branch
	drbdsetup.sgml 


Log Message:
Added the user space side of ko-count. (as in drbd-0.6.x)
Added the user space side of on-disconnect. Kernel part not yet done.
[I am still not sure about the freeze_io thing, maybe I will remove...]

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/documentation/drbdsetup.sgml,v
retrieving revision 1.9.2.4
retrieving revision 1.9.2.5
diff -u -3 -r1.9.2.4 -r1.9.2.5
--- drbdsetup.sgml	8 Jun 2004 12:33:43 -0000	1.9.2.4
+++ drbdsetup.sgml	9 Jun 2004 20:06:36 -0000	1.9.2.5
@@ -36,7 +36,8 @@
       <arg>-i<arg choice="req"><replaceable>time</replaceable></arg></arg>
       <arg>-t<arg choice="req"><replaceable>val</replaceable></arg></arg>
       <arg>-S<arg choice="req"><replaceable>size</replaceable></arg></arg>
-      <arg>-K<arg choice="req"><replaceable>count</replaceable></arg></arg>
+      <arg>-k<arg choice="req"><replaceable>count</replaceable></arg></arg>
+      <arg>-d<arg choice="req"><replaceable>discon_handler</replaceable></arg></arg>
     </cmdsynopsis>
     <cmdsynopsis>
       <command>drbdsetup</command>
@@ -256,7 +257,7 @@
 	  </listitem>
 	</varlistentry>
 	<varlistentry>
-	  <term><option>-K</option>,
+	  <term><option>-k</option>,
 	  <option>--ko-count <replaceable>count</replaceable></option></term>
 	  <listitem>
 	    <para>
@@ -290,6 +291,20 @@
 	      same as <option>--max-epoch-size </option>.  Small values
 	      could lead to degraded performace. (Minimum 32) The default is
 	      2048.  
+	    </para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term><option>-d</option>,
+	  <option>--on-disconnect <replaceable>discon_handler</replaceable></option></term>
+	  <listitem>
+	    <para>
+	      When the connection to the peer is lost, DRBD can either
+	      go into stand alone mode, try to reconnect to the peer or
+	      freeze all further IO requests (think of an NFS hard mount).
+	      The keywords are: <option>stand_allone</option>, 
+	      <option>reconnect</option> and <option>freeze_io</option>.
+	      The default hander is <option>reconnect</option>.
 	    </para>
 	  </listitem>
 	</varlistentry>