Re: [DRBD-user] Updating Kernel w/out Updating DRBD

2018-06-22 Thread Eric Robinson
> > Also, I find it odd that the option to build from source is only in > > the DRBD 8.3 User Guide and was left out of the 8.4 and 9.X User > > Guides. (I'm sure the reason is obvious to everyone else I just missed > > something.) > > As I maintain parts of the build system and the documentation

Re: [DRBD-user] Updating Kernel w/out Updating DRBD

2018-06-22 Thread Eric Robinson
Wow, Veit, thanks so much for taking time to provide those details! > -Original Message- > From: Veit Wahlich [mailto:cru.li...@zodia.de] > Sent: Friday, June 22, 2018 3:54 AM > To: Eric Robinson > Cc: drbd-user@lists.linbit.com > Subject: RE: [DRBD-user] Updating Kernel w/out Updating

Re: [DRBD-user] Updating Kernel w/out Updating DRBD

2018-06-22 Thread Roland Kammerer
On Fri, Jun 22, 2018 at 02:21:10PM +, Eric Robinson wrote: > > > Also, I find it odd that the option to build from source is only in > > > the DRBD 8.3 User Guide and was left out of the 8.4 and 9.X User > > > Guides. (I'm sure the reason is obvious to everyone else I just missed > > >

Re: [DRBD-user] Updating Kernel w/out Updating DRBD

2018-06-22 Thread Roland Kammerer
On Fri, Jun 22, 2018 at 08:43:32AM +, Eric Robinson wrote: > > From: Veit Wahlich [mailto:cru.li...@zodia.de] > > Sent: Friday, June 22, 2018 12:45 AM > > To: Eric Robinson > > Cc: drbd-user@lists.linbit.com > > Subject: Re: [DRBD-user] Updating Kernel w/out Updating DRBD > > > > Hi Eric, >

Re: [DRBD-user] Updating Kernel w/out Updating DRBD

2018-06-22 Thread Veit Wahlich
Well, I assume you are on el7 here. Adapt to other distros if required. 1. Install dkms, for el7 it is available in EPEL: # yum install dkms 2. Untar the drbd tarball in /usr/src/, for drbd 8.4.11-1, you should now have a directory /usr/src/drbd-8.4.11-1/. 3. Create a file

Re: [DRBD-user] Updating Kernel w/out Updating DRBD

2018-06-22 Thread Eric Robinson
> From: Veit Wahlich [mailto:cru.li...@zodia.de] > Sent: Friday, June 22, 2018 12:45 AM > To: Eric Robinson > Cc: drbd-user@lists.linbit.com > Subject: Re: [DRBD-user] Updating Kernel w/out Updating DRBD > > Hi Eric, > > if your distro is el (e.g. RHEL/CentOS/Scientific), the kernel ABI >

Re: [DRBD-user] Updating Kernel w/out Updating DRBD

2018-06-22 Thread Veit Wahlich
Hi Eric, if your distro is el (e.g. RHEL/CentOS/Scientific), the kernel ABI *should* not change during kernel updates, and copying modules from older kernel versions as "weak updates" is not uncommon, following the slogan "old module is better than no module". This is for example the case for

[DRBD-user] Updating Kernel w/out Updating DRBD

2018-06-22 Thread Eric Robinson
Greetings - We always build drbd as a KLM, and it seems that every time we update the kernel (with yum update) we have to rebuild drbd. This is probably the worlds's dumbest question, but is there a way to update the kernel without having to rebuild drbd every time? --Eric