Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2006-03-16 14:55:48 -0500 \ Diego Julian Remolina: > 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. since these are the userspace things, you do not need to re-install these. you just need to put the new kernel specific module in place: > Now install the kernel modules > > rpm -ivh dist/RPMS/x86_64/drbd-km*.rpm -- : Lars Ellenberg Tel +43-1-8178292-0 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com : __ please use the "List-Reply" function of your email client.