<!DOCTYPE RefEntry PUBLIC "-//OASIS//DTD DocBook V4.2//EN" []>
<refentry>
<refentryinfo><date>15 Oct 2008</date></refentryinfo>

<refmeta>
 <refentrytitle>drbddisk</refentrytitle>
 <manvolnum>8</manvolnum>
</refmeta>

<refnamediv>
 <refname>/etc/ha.d/resource.d/drbddisk</refname>
 <refpurpose>Script to mark devices as primary and mount file systems</refpurpose>
</refnamediv>

<refsynopsisdiv>
 <cmdsynopsis>
  <command>/etc/ha.d/resource.d/drbddisk</command>
  <arg><replaceable>resource</replaceable></arg>
  <arg choice="req"><group choice="plain">
      <arg choice="req">start</arg>
      <arg choice="req">stop</arg>
      <arg choice="req">status</arg>
    </group>
    </arg>
 </cmdsynopsis>
</refsynopsisdiv>

<refsect1>
 <title>Introduction</title>
 <para>
   The <option>/etc/ha.d/resource.d/drbddisk</option> script
   brings the local device of <replaceable>resource</replaceable> into
   primary state. It is designed to be
   used by Heartbeat.
  </para>
  <para>
    In order to use <option>/etc/ha.d/resource.d/drbddisk</option> you must
    define
    a resource, a host, and any other configuration options in the DRBD
    configuration file.  See <option>/etc/drbd.conf</option> for details.
    If <replaceable>resource</replaceable> is omitted, then all of the
    resources listed in the config file are affected.
  </para>
</refsect1>

<refsect1>
<title>Version</title>
<simpara>This document was revised for version 8.0.14 of the DRBD distribution.
</simpara>
</refsect1>

<refsect1>
  <title>Author</title>
  <simpara>
    Written by Philipp Reisner <email>philipp.reisner@linbit.com</email>
            and Lars Ellenberg <email>lars.ellenberg@linbit.com</email>.
  </simpara>
</refsect1>

<refsect1>
  <title>Reporting Bugs</title>
  <simpara>
    Report bugs to <email>drbd-user@lists.linbit.com</email>.
  </simpara>
</refsect1>

<refsect1>
  <title>Copyright</title>
  <simpara>
Copyright 2001-2008 LINBIT Information Technologies,
Philipp Reisner, Lars Ellenberg. This  is  free software;
see the source for copying conditions.  There is NO warranty;
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  </simpara>
</refsect1>

<refsect1>
  <title>See Also</title>
  <para>
    <citerefentry><refentrytitle>drbd.conf</refentrytitle>
    <manvolnum>5</manvolnum></citerefentry>,
    <citerefentry><refentrytitle>drbd</refentrytitle>
    <manvolnum>8</manvolnum></citerefentry>,
    <citerefentry><refentrytitle>drbdsetup</refentrytitle>
    <manvolnum>8</manvolnum></citerefentry>
    <citerefentry><refentrytitle>drbdadm</refentrytitle>
    <manvolnum>8</manvolnum></citerefentry>
    <ulink url="http://www.drbd.org/">
    <citetitle>DRBD Homepage</citetitle></ulink>
  </para>
</refsect1>

</refentry>

