<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Installing DRBD 8.2.5 on Ubuntu 8.04 Hardy Heron</title>
	<atom:link href="http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/</link>
	<description></description>
	<lastBuildDate>Fri, 13 Jan 2012 14:53:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: kbe</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-83</link>
		<dc:creator>kbe</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-83</guid>
		<description>Hey,

thanks for this guide. On my Hardy servers, I also had to add the &quot;flex&quot; package for drbd to compile: &quot;apt-get install flex&quot;.

Also, the compiled module was put into &lt;code&gt;/lib/modules/2.6.24.3/kernel/drivers/block&lt;/code&gt;. I had to manually copy it to the correct location, which in my case was &lt;code&gt;/lib/modules/2.6.24-17-server/ubuntu/block/drbd&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>thanks for this guide. On my Hardy servers, I also had to add the &#8220;flex&#8221; package for drbd to compile: &#8220;apt-get install flex&#8221;.</p>
<p>Also, the compiled module was put into <code>/lib/modules/2.6.24.3/kernel/drivers/block</code>. I had to manually copy it to the correct location, which in my case was <code>/lib/modules/2.6.24-17-server/ubuntu/block/drbd</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arun U. Kapil</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-84</link>
		<dc:creator>Arun U. Kapil</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-84</guid>
		<description>During the make process for DRBD, I received an error as Flex was not installed.

An apt-get install flex of course did the trick, but figured that if anyone else hits that problem and can&#039;t figure out why, there&#039;s the solution. =)</description>
		<content:encoded><![CDATA[<p>During the make process for DRBD, I received an error as Flex was not installed.</p>
<p>An apt-get install flex of course did the trick, but figured that if anyone else hits that problem and can&#8217;t figure out why, there&#8217;s the solution. =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Barber</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-85</link>
		<dc:creator>Chris Barber</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-85</guid>
		<description>I verified the compiled driver is not being dropped into the appropriate lib directory, but for some reason it works for me.  In any case, I&#039;ve updated the procedure above to move the driver before installing it.

Also, good find on flex missing!  I&#039;ve updated the procedure to include flex.

Thank you!</description>
		<content:encoded><![CDATA[<p>I verified the compiled driver is not being dropped into the appropriate lib directory, but for some reason it works for me.  In any case, I&#8217;ve updated the procedure above to move the driver before installing it.</p>
<p>Also, good find on flex missing!  I&#8217;ve updated the procedure to include flex.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Walsh</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-87</link>
		<dc:creator>Paul Walsh</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-87</guid>
		<description>Thanks for the article.  I&#039;ve been working on getting 8.2.5 running on Ubuntu 8.04LTS. What I hadn&#039;t done up until now was get the linux source.  Whilst DRBD built OK with the headers only and appeared to install, I noticed that 

cat /proc/drbd

gave a GIT-hash string which indicated a different version (8.0.11 I think).  Although this seemed to communicate OK with a 8.2.5 module on an openSUSE I wanted to make sure the drbd module on Ubuntu was the same version.

Just one slight correction to make. Shouldn&#039;t 

&lt;b _moz_dirty=&quot;&quot;&gt;&lt;code _moz_dirty=&quot;&quot;&gt;cp /boot/config-2.6.24-16-server /usr/src/linux-source-2.6.24&lt;/code&gt;&lt;/b&gt;

be

&lt;b _moz_dirty=&quot;&quot;&gt;&lt;code _moz_dirty=&quot;&quot;&gt;cp /boot/config-2.6.24-16-server /usr/src/linux-source-2.6.24/.config&lt;/code&gt;    &lt;/b&gt;

?

When I tried it, make menuconfig complained that  .config  couldn&#039;t be found
</description>
		<content:encoded><![CDATA[<p>Thanks for the article.  I&#8217;ve been working on getting 8.2.5 running on Ubuntu 8.04LTS. What I hadn&#8217;t done up until now was get the linux source.  Whilst DRBD built OK with the headers only and appeared to install, I noticed that </p>
<p>cat /proc/drbd</p>
<p>gave a GIT-hash string which indicated a different version (8.0.11 I think).  Although this seemed to communicate OK with a 8.2.5 module on an openSUSE I wanted to make sure the drbd module on Ubuntu was the same version.</p>
<p>Just one slight correction to make. Shouldn&#8217;t </p>
<p><b _moz_dirty=""><code _moz_dirty="">cp /boot/config-2.6.24-16-server /usr/src/linux-source-2.6.24</code></b></p>
<p>be</p>
<p><b _moz_dirty=""><code _moz_dirty="">cp /boot/config-2.6.24-16-server /usr/src/linux-source-2.6.24/.config</code>    </b></p>
<p>?</p>
<p>When I tried it, make menuconfig complained that  .config  couldn&#8217;t be found</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Walsh</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-88</link>
		<dc:creator>Paul Walsh</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-88</guid>
		<description>Further to what I just said...

drbd 8.2.5 will build and install &lt;b&gt;without&lt;/b&gt; having to compile the kernel:

download drbd-8.2.5.tar.gz into /tmp then:

&lt;pre&gt;&lt;code&gt;apt-get install build-essential linux-kernel-devel \
    linux-headers-2.6.24-16 linux-headers-2.6.24-16-server
cd /usr/src
ln -s linux-headers-2.6.24-16-server linux
tar xzvf /tmp/drbd-8.2.5.tar.gz
cd /usr/src/linux
make mrporper
cd /usr/src/drbd-8.2.5
make clean all
make install&lt;/code&gt;&lt;/pre&gt;

Then, as kbe mentioned:

&lt;pre&gt;&lt;code&gt;copy  /lib/modules/2.6.24-16-server/kernel/drivers/block/drbd.ko \
     to /lib/modules/2.6.24-16-server/ubuntu/block/drbd/drbd.ko&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Further to what I just said&#8230;</p>
<p>drbd 8.2.5 will build and install <b>without</b> having to compile the kernel:</p>
<p>download drbd-8.2.5.tar.gz into /tmp then:</p>
<pre><code>apt-get install build-essential linux-kernel-devel \
    linux-headers-2.6.24-16 linux-headers-2.6.24-16-server
cd /usr/src
ln -s linux-headers-2.6.24-16-server linux
tar xzvf /tmp/drbd-8.2.5.tar.gz
cd /usr/src/linux
make mrporper
cd /usr/src/drbd-8.2.5
make clean all
make install</code></pre>
<p>Then, as kbe mentioned:</p>
<pre><code>copy  /lib/modules/2.6.24-16-server/kernel/drivers/block/drbd.ko \
     to /lib/modules/2.6.24-16-server/ubuntu/block/drbd/drbd.ko</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Barber</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-89</link>
		<dc:creator>Chris Barber</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-89</guid>
		<description>When I first started out, I was trying to compile DRBD with just the kernal headers, but I kept getting an error that &lt;code&gt;modpost&lt;/code&gt; did not exist.  The only way I could figure out how to solve it was to compile modpost via compiling the kernel.

But, I would like to try your method someday and see if I had maybe missed a step before.

Thanks!</description>
		<content:encoded><![CDATA[<p>When I first started out, I was trying to compile DRBD with just the kernal headers, but I kept getting an error that <code>modpost</code> did not exist.  The only way I could figure out how to solve it was to compile modpost via compiling the kernel.</p>
<p>But, I would like to try your method someday and see if I had maybe missed a step before.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Barber</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-90</link>
		<dc:creator>Chris Barber</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-90</guid>
		<description>Thanks! I updated the post. I guess I should have copy and pasted what I typed. :)</description>
		<content:encoded><![CDATA[<p>Thanks! I updated the post. I guess I should have copy and pasted what I typed. <img src='http://www.cb1inc.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Wagner</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-92</link>
		<dc:creator>Jens Wagner</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-92</guid>
		<description>Hi folks,

you just need to install the drbd-utils from repository and load the drbd module in /etc/modules.conf. the drbd modules is included in the ubuntu kernel since 8.04. 

see http://ubuntuforums.org/archive/index.php/t-766171.html

Regards

Jens</description>
		<content:encoded><![CDATA[<p>Hi folks,</p>
<p>you just need to install the drbd-utils from repository and load the drbd module in /etc/modules.conf. the drbd modules is included in the ubuntu kernel since 8.04. </p>
<p>see <a href="http://ubuntuforums.org/archive/index.php/t-766171.html" rel="nofollow">http://ubuntuforums.org/archive/index.php/t-766171.html</a></p>
<p>Regards</p>
<p>Jens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Barber</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-93</link>
		<dc:creator>Chris Barber</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-93</guid>
		<description>Ubuntu 8.04 ships with DRBD 8.0.11.

http://packages.ubuntu.com/hardy/drbd8-utils

When I was running Ubuntu 7.10, I tried using the 8.0.3 version it shipped with and had several issues.  After talking one of the guys who wrote DRBD, he highly recommended using the latest version.

The latest version at the time I wrote this article was 8.2.5 (8.2.6 is now out!).  There has been several bug fixes and improvements between 8.0.11 and 8.2.5.
</description>
		<content:encoded><![CDATA[<p>Ubuntu 8.04 ships with DRBD 8.0.11.</p>
<p><a href="http://packages.ubuntu.com/hardy/drbd8-utils" rel="nofollow">http://packages.ubuntu.com/hardy/drbd8-utils</a></p>
<p>When I was running Ubuntu 7.10, I tried using the 8.0.3 version it shipped with and had several issues.  After talking one of the guys who wrote DRBD, he highly recommended using the latest version.</p>
<p>The latest version at the time I wrote this article was 8.2.5 (8.2.6 is now out!).  There has been several bug fixes and improvements between 8.0.11 and 8.2.5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.cb1inc.com/2008/05/18/installing-drbd-8-2-5-on-ubuntu-8-04-hardy-heron/comment-page-1/#comment-94</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-94</guid>
		<description>How do you get around the fact that drbd is now included with the ubuntu modules?  Does it matter?

Here&#039;s what I did:

Download latest drbd source from debian here - http://packages.debian.org/experimental/drbd8-source

build drbd source pacakge.  install drbd source package.  build module using module-assistant.  install debian package that m-a created.

However - m-a created the module /lib/modules/2.6.24-19-server/kernel/extra/drbd.ko and ubuntu has the module /lib/modules/2.6.24-19-server/ubuntu/block/drbd/drbd.ko.  Whenver I do modprobe drbd the Ubuntu version is installed.  I need the latest version to properly upgrade drbd0.7 to 0.8.X

For now I moved /lib/modules/2.6.24-19-server/kernel/extra/drbd.ko to /lib/modules/2.6.24-19-server/ubuntu/block/drbd/drbd.ko but that&#039;s going to be over-written if I ever upgrade the Ubuntu modules.

Right now I&#039;m thinking build linux-ubuntu-modules-2.6.24 with the newer source, but it seems like there should be a better way to keep these from conflicting.</description>
		<content:encoded><![CDATA[<p>How do you get around the fact that drbd is now included with the ubuntu modules?  Does it matter?</p>
<p>Here&#8217;s what I did:</p>
<p>Download latest drbd source from debian here &#8211; <a href="http://packages.debian.org/experimental/drbd8-source" rel="nofollow">http://packages.debian.org/experimental/drbd8-source</a></p>
<p>build drbd source pacakge.  install drbd source package.  build module using module-assistant.  install debian package that m-a created.</p>
<p>However &#8211; m-a created the module /lib/modules/2.6.24-19-server/kernel/extra/drbd.ko and ubuntu has the module /lib/modules/2.6.24-19-server/ubuntu/block/drbd/drbd.ko.  Whenver I do modprobe drbd the Ubuntu version is installed.  I need the latest version to properly upgrade drbd0.7 to 0.8.X</p>
<p>For now I moved /lib/modules/2.6.24-19-server/kernel/extra/drbd.ko to /lib/modules/2.6.24-19-server/ubuntu/block/drbd/drbd.ko but that&#8217;s going to be over-written if I ever upgrade the Ubuntu modules.</p>
<p>Right now I&#8217;m thinking build linux-ubuntu-modules-2.6.24 with the newer source, but it seems like there should be a better way to keep these from conflicting.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

