[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] How to find out what kernel version current GFS rpm is compiled against?





RR wrote:
Hi Riaan,

On 11/28/06, Riaan van Niekerk <riaan obsidian co za> wrote:
hi RR

you have a couple of options:

1 (assuming you have a valid GFS subscription) in RHN under the "File
List" for a specific package will it list the files contained in the
package. your version of GFS installs into
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs

Unfortunately, I don't have a GFS subscription, flying in the dark at
the moment and hoping nothing too serious goes wrong. RHN subscription
is, believe it or not, more expensive than "most" Microsoft licenses
under a SPLA.

GFS is priced to compete with Veritas, Poliserve, etc. It is not priced to compete with an all-you-can eat license from MS. GFS is a complex product (with complex support/certification requirements). If you dont need the support/certification, CentOS-based GFS/RHCS is a very attractive option.

I'm assuming what you mean there is that it will
automatically install the version of GFS in the kernel directory it's
compiled for?

No - a GFS-kernel version maps to a specific kernel version (at least on RH it does). the GFS-kernel to kernel version mapping:
GFS-kernel-smp-2.6.9-60.1 goes with 2.6.9-42.0.2.ELsmp
GFS-kernel-smp-2.6.9-60.3 goes with 2.6.9-42.0.3.ELsmp

At the moment, I have GFS-6.1.6-1 installed in the
2.6.9-42.0.2.ELsmp directory. Are you running this version of GFS with
42.0.3?


I think you are getting confused. the GFS package is the userland tools (fsck, mkfs) and init scripts. the GFS-kernel* package is the kernel modules and is associated with a specific kernel. GFS-6.1.6-1 does not install anyhthing into any specific kernel version modules dir, and does not require a specific kernel version.



2 If you have the package downloaded, a rpm -qpl \
   GFS-kernel-smp-2.6.9-60.3.i686.rpm
will also show you what the relevant kernel version is.


This doesn't show me anything but the listing of the RPM, but there's
nothing in there that indicates the version of kernel. What am I
looking for here?

That is VERY strange. Look carefully and you should see a kernel version. Mine shows me:

 rpm -qpl GFS-kernel-smp-2.6.9-60.3.i686.rpm
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs/gfs.ko
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs_locking
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs_locking/lock_dlm
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs_locking/lock_dlm/lock_dlm.ko
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs_locking/lock_gulm
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs_locking/lock_gulm/lock_gulm.ko
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs_locking/lock_harness
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs_locking/lock_harness/lock_harness.ko
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs_locking/lock_nolock
/lib/modules/2.6.9-42.0.3.ELsmp/kernel/fs/gfs_locking/lock_nolock/lock_nolock.ko

In case you missed it, the kernel version is 2.6.9-42.0.3.ELsmp

This is a RH RPM, but a Centos RPM (assuming thats what you use) should show you something very similar.

I have asked RH support before if one can mix and match RHCS/GFS kernel modules with kernel versions and they strongly recommend against it

greetings
Riaan
begin:vcard
fn:Riaan van Niekerk
n:van Niekerk;Riaan
org:Obsidian Systems;Obsidian Red Hat Consulting
email;internet:riaan obsidian co za
title:Systems Architect
tel;work:+27 11 792 6500
tel;fax:+27 11 792 6522
tel;cell:+27 82 921 8768
x-mozilla-html:FALSE
url:http://www.obsidian.co.za
version:2.1
end:vcard


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]