<br><font size=2 face="sans-serif">Hello, I'm very new to drbd, and I have
been going over the documentation and mailing list archives the past few
days to help me get started. But I've reached a point were I need some
help.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I think what I am trying to accomplish should be fairly simple. I have
two nodes and I'd like to replicate the '/var/log' file system between
the two.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I have drbd compiled and installed (I believe correctly), and I'm running
in to a couple of problems...</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
1. On one node when I run 'drbdadm up all' I get the following error (I
did run the mknod command as the documentation specifies):</font><font size=3>
</font><font size=2 face="sans-serif"><br>
can not open /dev/drbd0: No such device or address</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Command '/sbin/drbdsetup /dev/drbd0 disk /dev/mapper/VolGroup00-LogVol00_varlog
internal -1 --on-io-error=detach' terminated with exit code 20</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
2. &nbsp;On the other node when I run 'drbdadm up all' I get the following
error:</font><font size=3> </font><font size=2 face="sans-serif"><br>
Lower device (/dev/mapper/VolGroup00-varlog) is already mounted</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Command '/sbin/drbdsetup /dev/drbd0 disk /dev/mapper/VolGroup00-varlog
internal -1 --on-io-error=detach' terminated with exit code 20</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
I understand that the file system cannot be mounted when drbd tries to
use it, but I'm not sure how to configure this to work correctly. Is there
a way to get drbd to mount the file system on startup?</font><font size=3>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
I am running...</font><font size=3> </font><font size=2 face="sans-serif"><br>
RedHat EL 4</font><font size=3> </font><font size=2 face="sans-serif"><br>
heartbeat 2.0.2-1</font><font size=3> </font><font size=2 face="sans-serif"><br>
drbd 0.7.13</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
drbd.conf (I only changed the host information, and left everything else
default):</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
 &nbsp;on left_host {</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;device &nbsp; &nbsp; /dev/drbd0;</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;disk &nbsp; &nbsp; &nbsp; /dev/mapper/VolGroup00-varlog;</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;address &nbsp; &nbsp;10.10.10.11:7788;</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;meta-disk &nbsp;internal; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp;}</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
 &nbsp;on right_host {</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;device &nbsp; &nbsp;/dev/drbd0;</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;disk &nbsp; &nbsp; &nbsp;/dev/mapper/VolGroup00-LogVol00_varlog;</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;address &nbsp; 10.10.10.12:7788;</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp;meta-disk internal;</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp;}</font><font size=3> </font>
<br>
<br>
<br><font size=2 face="sans-serif">Your friendly neighborhood SA,<br>
phiLLip</font>