<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.2">
<TITLE>can not open /dev/drbd0: No such device or address</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">Hello all,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm new to DRBD, and already have my clustering software up and running. I've been working on getting DRBD setup for 3 days solid so far to no avail. I am attempting to get DRBD running on SLES 9 with DRBD 7.14</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Every time I try to start DRBD (with drbdadm up all) I get the following error - can not open /dev/drbd0: No such device or address.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I've read the Quick start guide, which unfortunately does not cover much of the drbd.conf configuration. I've also attempted to use modprobe to adjust the DRBD install as listed here </FONT><A HREF="http://lists.community.tummy.com/pipermail/linux-ha/2005-April/014386.html"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://lists.community.tummy.com/pipermail/linux-ha/2005-April/014386.html</FONT></U></A><FONT SIZE=2 FACE="Arial">, but have had no luck.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I have also created /dev/drbdX manually as suggested here: </FONT><A HREF="http://www.gossamer-threads.com/lists/drbd/users/10955"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://www.gossamer-threads.com/lists/drbd/users/10955</FONT></U></A><FONT SIZE=2 FACE="Arial">, but also with no luck.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Here is my drbd.conf file, in case I configured something wrong:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">-----begin drbd.conf------</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">resource app_data {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> protocol C;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> startup {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> degr-wfc-timeout 120; # 2 minutes.</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> disk {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> on-io-error detach;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> net {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # timeout 60;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # connect-int 10;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # ping-int 10;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # max-buffers 2048;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # max-epoch-size 2048;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> syncer {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> rate 10M;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> group 1;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> al-extents 257;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> on app4 {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> device /dev/drbd0;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> disk /dev/hda5;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> address 10.0.0.2:7788;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> meta-disk internal;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> on app5 {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> device /dev/drbd0;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> disk /dev/hda5;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> address 10.0.0.2:7788;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> meta-disk internal;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">resource app_product {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> protocol C;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";</FONT>
<BR><FONT SIZE=2 FACE="Arial"> startup {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> degr-wfc-timeout 120; ## 2 minutes.</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> disk {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> on-io-error detach;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> net {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # timeout 60;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # connect-int 10;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # ping-int 10;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # max-buffers 2048;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # max-epoch-size 2048;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> syncer {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> rate 10M;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> group 2;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> on app4 {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> device /dev/drbd1;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> disk /dev/hda6;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> address 10.0.0.3:7789;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> meta-disk internal;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial"> on app5 {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> device /dev/drbd1;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> disk /dev/hda6;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> address 10.0.0.3:7789;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> meta-disk internal;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
<BR><FONT SIZE=2 FACE="Arial">-----end drbd.conf------</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks for any help in advance,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">-Tim Spangler</FONT>
</P>
</BODY>
</HTML>