[DRBD-user] drbd hanging on file write

Diego Julian Remolina diego.remolina at ibb.gatech.edu
Thu Mar 16 20:55:48 CET 2006

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


A small comment on your upgrade process...

> Then I rebooted the other machine into 2.6.15 so I could build its new 
> modules. While I was waiting for that, I started transferring some data 

You do not need to reboot a machine to build the drbd modules for a new kernel.  First install your 
new kernel and then build drbd as shown below:

cd /usr/src
tar -xzf /path/to/drbd/source/drbd-0.7.17.tar.gz
cd drbd-0.7.17
make rpm KDIR=/usr/src/kernels/2.6.9-34.EL-x86_64
make rpm KDIR=/usr/src/kernels/2.6.9-34.EL-smp-x86_64

Adjust kernel path as needed.

You can then stop heartbeat and drbd, install the new rpms:

rpm -Fvh --force dist/RPMS/x86_64/drbd-0.7.17-1.x86_64.rpm
rpm -Fvh --force dist/RPMS/x86_64/drbd-debuginfo-0.7.14-1.x86_64.rpm

NOTE: --force only needed if using same drbd version but only upgrading kernel.

Now install the kernel modules

rpm -ivh dist/RPMS/x86_64/drbd-km*.rpm

Then reboot and your machine will come up ready.

Diego



More information about the drbd-user mailing list