<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. 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>
on left_host {</font><font size=3> </font><font size=2 face="sans-serif"><br>
device /dev/drbd0;</font><font size=3> </font><font size=2 face="sans-serif"><br>
disk /dev/mapper/VolGroup00-varlog;</font><font size=3>
</font><font size=2 face="sans-serif"><br>
address 10.10.10.11:7788;</font><font size=3>
</font><font size=2 face="sans-serif"><br>
meta-disk internal; <br>
}</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
on right_host {</font><font size=3> </font><font size=2 face="sans-serif"><br>
device /dev/drbd0;</font><font size=3> </font><font size=2 face="sans-serif"><br>
disk /dev/mapper/VolGroup00-LogVol00_varlog;</font><font size=3>
</font><font size=2 face="sans-serif"><br>
address 10.10.10.12:7788;</font><font size=3> </font><font size=2 face="sans-serif"><br>
meta-disk internal;</font><font size=3> </font><font size=2 face="sans-serif"><br>
}</font><font size=3> </font>
<br>
<br>
<br><font size=2 face="sans-serif">Your friendly neighborhood SA,<br>
phiLLip</font>