<br><font size=2 face="sans-serif">Hi!</font>
<br>
<br><font size=2 face="sans-serif">First of all, thanks for your help!</font>
<br>
<br><font size=2><tt>Diego Julian Remolina <diego.remolina@ibb.gatech.edu>
wrote on 21.12.2005 20:30:22:<br>
<br>
> This means the node you are working on is not seeing the second computer
<br>
> at all:<br>
> <br>
> > drbd1: Primary/Unknown --> Secondary/Unknown<br>
> > drbd1: Secondary/Unknown --> Primary/Unknown<br>
> <br>
> - Make sure drbd module is loaded on the second node<br>
> lsmod | grep drbd<br>
</tt></font>
<br><font size=2><tt>on both nodes it says:</tt></font>
<br><font size=2><tt>lsmod | grep drbd</tt></font>
<br><font size=2><tt>drbd
156400 3</tt></font>
<br>
<br>
<br><font size=2><tt>> - Make sure drbd is started on that node es well<br>
> /etc/init.d/drbd start<br>
> or whatever your startup script is.<br>
</tt></font>
<br><font size=2><tt>I use it with heartbeat, so I do not use the default
init script.</tt></font>
<br>
<br><font size=2><tt>on the first node:</tt></font>
<br><font size=2><tt>ps aux | grep drbd</tt></font>
<br><font size=2><tt>root 27410 0.0 0.0
0 0 ? S 19:32
0:00 [drbd0_worker]</tt></font>
<br><font size=2><tt>root 29735 0.0 0.0
0 0 ? S 20:28
0:00 [drbd1_worker]</tt></font>
<br><font size=2><tt>root 29736 0.0 0.0
0 0 ? S 20:28
0:00 [drbd1_receiver]</tt></font>
<br>
<br><font size=2><tt>on the second one:</tt></font>
<br><font size=2><tt>ps aux | grep drbd</tt></font>
<br><font size=2><tt>root 7248 0.0 0.0
0 0 ? S Dec15
0:00 [drbd1_worker]</tt></font>
<br><font size=2><tt>root 17484 0.0 0.0
0 0 ? S 20:28
0:00 [drbd0_worker]</tt></font>
<br><font size=2><tt>root 17485 0.0 0.0
0 0 ? S 20:28
0:00 [drbd0_receiver]</tt></font>
<br><font size=2><tt> <br>
> If the above are truth and you still get /Unknown, then check your
<br>
> network connections:<br>
> <br>
> - Check your cables<br>
> - Make sure your network cards are configured to start on boot<br>
> If using any redhat like system then look in <br>
> /etc/sysconfig/network-scripts/ifcg-ethX to make sure that it has:<br>
> ONBOOT=yes<br>
> IPADDR=X.X.X.X<br>
> NETMASK=X.X.X.X<br>
> - Make sure you can ping the IP of the other node's network card used
<br>
> for drbd.</tt></font>
<br>
<br><font size=2><tt>I use debian sarge on both systems.</tt></font>
<br><font size=2><tt>I can ping the other node and vice versa.</tt></font>
<br><font size=2><tt>All interfaces are configured during boot (/etc/network/interfaces)</tt></font>
<br><font size=2><tt><br>
> - Use nmap to see if the port is opened (Maybe you forgot to add a
<br>
> permanent firewall rule to open the appropriate ports for your drbd
<br>
> connection).<br>
> nmap -p [DRBD PORT NUMBER HERE] other_drbd_host_ip_address<br>
> <br>
> If none of the above works then I am out of hints...<br>
</tt></font>
<br><font size=2><tt>The thing is, that there was a reboot, because a daemon,
running on one of the shares, did not exit fast enough and my system was
forced to reboot.</tt></font>
<br><font size=2><tt> <br>
> Hope this helps,<br>
</tt></font>
<br><font size=2><tt>Thanks for your help once again. could there be anything
else?</tt></font>
<br><font size=2><tt> <br>
> Diego<br>
> <br>
</tt></font><font size=2 face="sans-serif">------------------------------------------------
<br>
Andreas Sumper<br>
IT Task Force<br>
CNSystems Medizintechnik GmbH<br>
Reininghausstrasse 13 / A-8020 Graz / Austria <br>
T: +43 316 723456-63 / F: +43 316 723456-2 <br>
Web: http://www.cnsystems.at<br>
mailto:andreas.sumper@cnsystems.at <br>
see Disclaimer: http://www.cnsystems.at/disclaimer<br>
------------------------------------------------ </font>
<br>