[DRBD-cvs] documentation by phil; Finally implemented the 'drbddisk resour...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Mon, 24 May 2004 13:39:50 +0200 (CEST)


DRBD CVS committal

Author  : phil
Project : drbd
Module  : documentation

Dir     : drbd/documentation


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


Log Message:
Finally implemented the 'drbddisk resource status' command.

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/documentation/Attic/drbdadm.sgml,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -3 -r1.1.2.5 -r1.1.2.6
--- drbdadm.sgml	4 Mar 2004 13:06:26 -0000	1.1.2.5
+++ drbdadm.sgml	24 May 2004 11:39:45 -0000	1.1.2.6
@@ -168,6 +168,13 @@
         </para></listitem>
       </varlistentry>
       <varlistentry>
+        <term>state</term>
+        <listitem><para>
+	  Shows the current states of the devices (local/peer). 
+	  E.g. primary/secondary        
+	</para></listitem>
+      </varlistentry>
+      <varlistentry>
         <term>dump</term>
         <listitem><para>
           Just parse the configuration file and dump it to stdout. Might
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/documentation/drbdsetup.sgml,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -u -3 -r1.9.2.2 -r1.9.2.3
--- drbdsetup.sgml	9 Feb 2004 16:20:58 -0000	1.9.2.2
+++ drbdsetup.sgml	24 May 2004 11:39:45 -0000	1.9.2.3
@@ -398,15 +398,6 @@
 </para>
 </refsect2>
 <refsect2>
-<title>secondary_remote</title>
-<para>
-Tries to set the partner of <replaceable>device</replaceable> into secondary 
-state. This command will return successfully as long as it is possible
-to communicate with the partner. Its return value does not indicate if the
-partner device could change its state.
-</para>
-</refsect2>
-<refsect2>
 <title>replicate</title>
 <para>
 This forces the pair of connected DRBD devices into SyncAll state, which
@@ -473,6 +464,13 @@
 Removes all configuration information from the 
 <replaceable>device</replaceable> and forces it back to 
 unconfigured state. 
+</para>
+</refsect2>
+<refsect2>
+<title>state</title>
+<para>
+Shows the current states of the <replaceable>device</replaceable> and 
+its peer. (local/peer). 
 </para>
 </refsect2>
 <refsect2>