I'm trying to setup DRBD for the first time on a 2-node cluster using DRBD over a lvm lvgroup. I believe I have set it up just as outlined in sec10.2 of the DRBD User's Guide. My r0.res is setup with:<br><div style="margin-left:40px">
resource 0 {<br> volume 0 {<br> device /dev/drbd1;<br> disk /dev/vg_ajksjnusrv/lv_shared;<br> meta-disk internal;<br> }<br> on <a href="http://ajk-s-jnusrv1.jnu.nwsar.gov">ajk-s-jnusrv1.jnu.nwsar.gov</a> {<br>
address <a href="http://10.0.64.1:7789">10.0.64.1:7789</a>;<br> }<br> on <a href="http://ajk-s-jnusrv2.jnu.nwsar.gov">ajk-s-jnusrv2.jnu.nwsar.gov</a> {<br> address <a href="http://10.0.64.2:7789">10.0.64.2:7789</a>;<br>
}<br>}<br></div><br>lvscan shows<br><div style="margin-left:40px"> ACTIVE '/dev/vg_ajksjnusrv/lv_shared' [1.91 TiB] inherit<br></div><br>drbdadm create-md r0 works fine. But when I try drbdadm up r0 I get<br>
<div style="margin-left:40px">1: Failure: (104) Can not open backing device.<br>Command 'drbdsetup attach 1 /dev/vg_ajksjnusrv/lv_shared /dev/vg_ajksjnusrv/lv_shared internal' terminated with exit code 10<br></div>
<br>/var/log/messages says <br><div style="margin-left:40px">block drbd1: open("/dev/vg_ajksjnusrv/lv_shared") failed with -16<br><br></div>I've been searching the web the last 2 days but have not been able to see where I'm going wrong. Any help of where to look next would be greatly appreciated.<br>
<br>Paul Shannon<br clear="all"><div><font size="4"><font><span style="font-family:garamond,serif">-----<br></span></font></font><br><br></div><br>