[DRBD-user] Upgrade to 8.4.1 or 8.3.15 working..... but not!

Jake Smith jsmith at argotec.com
Tue Feb 5 16:46:13 CET 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


----- Original Message -----
> From: "Mark Woolfson" <info at woolfcomputing.com>
> To: drbd-user at lists.linbit.com
> Sent: Tuesday, February 5, 2013 8:49:03 AM
> Subject: [DRBD-user] Upgrade to 8.4.1 or 8.3.15 working..... but not!
> 
> 
> 
> 
> 
> 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.
> 
> 
> 
> 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.
> 
> 
> 
> 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.
> 

I'm thinking maybe you're compiled version isn't looking for the config in that location - I pass quite a few more parameters to configure.  I compile 8.3.11 and 15 from scratch on 12.04 successfully but I use an older kernel.  Either way difference are listed below:

apt-get remove drbd8-source drbd8-utils (if you had the Ubuntu version installed at some point - I did)

> 
> 
> The steps I follow are below:
>  
> Prerequisities
>  
> apt-get install rpm xsltproc flex git
> 
> Download and install source
> 
> Cd /usr/src
>  
> wget http://oss.linbit.com/drbd/8.4/drbd-8.4.1.tar.gz
>  
> tar xfvz drbd-8.4.1.tar.gz
> 
> Configure and Compile
>  
> cd drbd-8.4.1/
>  
> ./configure --with-utils --with-km

./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-mk --with-utils --with-udev --with-pacemaker --with-rgmanager --with-bashcompletion

I probably didn't need rgmanager but doesn't hurt to have.

> 	
> 
> Make
> 	
> 
> make install
> 
> reboot
> 		
> 	
> 
> Help?
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
> 



More information about the drbd-user mailing list