<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I have Ubuntu Server 12.04 LTS and trying to upgrade to a newer version of DRBD. My plan is to perform an upgrade on my dev servers and then create rpm or deb packages to deploy to my production servers.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Whether I follow the instructions from the DRBD site, or similar postings from others based on Google searches I always wind up at the same dead end.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Post compile and install, the boot screen includes an error message from DRBD indicating “no resources defined!”. Yet the resource files in /etc/drbd.d are still there and intact. Lsmod shows everything is installed as it should, and drbdadm command now shows the same “no resources defined!” error message. /proc/drbd shows the new version of drbd is installed.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The steps I follow are below:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=394 style='width:295.55pt;margin-left:-.75pt;border-collapse:collapse'><tr style='height:15.0pt'><td width=260 nowrap colspan=2 valign=top style='width:195.35pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>Prerequisities<o:p></o:p></span></p></td><td width=134 nowrap valign=top style='width:100.2pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr><tr style='height:15.0pt'><td width=6 nowrap valign=top style='width:4.7pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=388 nowrap colspan=2 valign=top style='width:290.85pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>apt-get install rpm xsltproc flex git<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=394 nowrap colspan=3 valign=top style='width:295.55pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>Download and install source<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'> Cd /usr/src<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=6 nowrap valign=top style='width:4.7pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=388 nowrap colspan=2 valign=top style='width:290.85pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>wget <a href="http://oss.linbit.com/drbd/8.4/drbd-8.4.1.tar.gz">http://oss.linbit.com/drbd/8.4/drbd-8.4.1.tar.gz</a><o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=6 nowrap valign=top style='width:4.7pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=388 nowrap colspan=2 valign=top style='width:290.85pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span lang=ES-MX style='color:black'>tar xfvz drbd-8.4.1.tar.gz<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=394 nowrap colspan=3 valign=top style='width:295.55pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>Configure and Compile<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=6 nowrap valign=bottom style='width:4.7pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=388 nowrap colspan=2 valign=top style='width:290.85pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>cd drbd-8.4.1/<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=6 nowrap valign=top style='width:4.7pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=388 nowrap colspan=2 valign=top style='width:290.85pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>./configure --with-utils --with-km<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=6 nowrap valign=top style='width:4.7pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=254 nowrap valign=top style='width:190.65pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>Make<o:p></o:p></span></p></td><td width=134 nowrap valign=top style='width:100.2pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr><tr style='height:15.0pt'><td width=6 nowrap valign=top style='width:4.7pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=388 nowrap colspan=2 valign=top style='width:290.85pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>make install<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'>reboot<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=6 nowrap valign=top style='width:4.7pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=254 nowrap valign=top style='width:190.65pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=134 nowrap valign=top style='width:100.2pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr><tr style='height:15.0pt'><td width=6 nowrap valign=top style='width:4.7pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=388 nowrap colspan=2 valign=top style='width:290.85pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr></table><p class=MsoNormal>Help?<o:p></o:p></p></div></body></html>