Hmm, I have to disagree:

First check the current kernelversion:
[EMAIL PROTECTED] ~]# uname -a
Linux bartje 2.6.18-8.1.8.el5.centos.plus #1 SMP Mon Jul 16 08:49:50 EDT 2007 
i686 athlon i386 GNU/Linux

Check for kmod-drbd:
[EMAIL PROTECTED] ~]# modprobe drbd
[EMAIL PROTECTED] ~]# lsmod | grep drbd
drbd                  180488  1

Install the gnbd-kernel mod. We do want to keep the current kernel, so we 
exclude it now:
[EMAIL PROTECTED] ~]# yum install kmod-gnbd --exclude=kernel
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kmod-gnbd to pack into transaction set.
kmod-gnbd-0.1.3-4.2.6.18_ 100% |=========================| 4.2 kB    00:00
---> Package kmod-gnbd.i686 0:0.1.3-4.2.6.18_8.1.6.el5 set to be installed
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.18-8.1.6.el5 for package: kmod-gnbd
--> Finished Dependency Resolution
Error: Missing Dependency: kernel-i686 = 2.6.18-8.1.6.el5 is needed by package 
kmod-gnbd

Oops.. Do we have the extra repro?
[EMAIL PROTECTED] ~]# grep extra /etc/yum.repos.d/CentOS-*
/etc/yum.repos.d/CentOS-Base.repo:[extras]
/etc/yum.repos.d/CentOS-Base.repo:mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
/etc/yum.repos.d/CentOS-Base.repo:#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/

Jeps, and it's enabled (but that's not shown :P )

But what if we do allow the kernel to be updated/changed?

[EMAIL PROTECTED] ~]# yum install kmod-gnbd
Loading "installonlyn" plugin

<SNIP!>

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 kmod-gnbd               i686       0.1.3-4.2.6.18_8.1.6.el5  updates           
 13 k
Removing:
 kernel                  i686       2.6.18-8.1.8.el5  installed          34 M
Installing for dependencies:
 kernel                  i686       2.6.18-8.1.6.el5  updates            12 M
Removing for dependencies:
 kmod-gnbd               i686       0.1.3-4.2.6.18_8.1.8.el5  installed         
 25 k

Transaction Summary
=============================================================================
Install      2 Package(s)
Update       0 Package(s)
Remove       2 Package(s)

Total download size: 12 M
Is this ok [y/N]:    

That will remove kmod-drbd, which I need...

Regards,

Bart                  

----- Original Message -----
From: "Johnny Hughes" 
To: "CentOS mailing list" 
Subject: Re: [CentOS] GNBD and DRBD kernel mods
Date: Sat, 18 Aug 2007 06:46:20 -0500


Bart wrote:
> Hi all,
>
> I am using heartbeat and drbd on CentOS 5 (see 
> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=7816&forum=41 for 
> details)..
>
> DRBD and heartbeat are working, and now I want to put GNBD on top 
> on this. However, I installed the latest CentOS-plus kernel 
> (2.6.18-8.1.8.el5.centos.plus) but there doesn't appear to be a 
> kmod-gndb for this kernel.
>
> Looks like the latest kmod-gnbd is available for kernel 
> 2.6.18-8.1.8.el5. But I cannot find a kmod-drbd for this kernel. 
> Am I missing something or is this worth a entry in the buglist?
>
> Tnx!
>

That kmod is in extras repo:

http://mirror.centos.org/centos/5/extras/i386/RPMS/
<< signature.asc >>

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


-- 
We've Got Your Name at http://www.mail.com !
Get a FREE E-mail Account Today - Choose From 100+ Domains

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to