Skip to contentSkip to conversation

diff for adding 'wipe-md' to drbdadm.xml

Drbd-dev Madison Kelly 1 participant 1 message Apr 7, 2011 DRBD driver

lore
Share & tools
lore
#0 lore raw

I noticed that the 'wipe-md' option wasn't documented. With the help of adam_g on #drbd, I sorted out how to use it. I cloned the 8.3 repo and patched drbdadm.xml to document the feature. I'm not entirely sure what the devs prefer, both in language and diff syntax, so here is my initial stab and I'm happy to hear feedback/criticism.

digimer.drbdadm.xml renamed from drbdadm.xml +3 -0
@@ -295,6 +295,15 @@
         </listitem>
       </varlistentry>
       <varlistentry>
+        <term>wipe-md</term>
+        <listitem>
+          <para><indexterm

significance="normal"><primary>drbdadm</primary><secondary>wipe-md</secondary></indexterm>
+ Wipes the meta data from the specified resource and it's backing
+ devices. Must be run on all nodes. Syntax is: drbdadm wipe-md res
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term>outdate</term>
<listitem>
<para><indexterm
significance="normal"><primary>drbdadm</primary><secondary>outdate</secondary></indexterm>

Signature · 4 lines
Madison Kelly        647-501-5200
E-Mail:              [email protected]
Papers and Projects: http://alteeve.com
"Without risk, without reward."