GFS version in OpenVZ kernel? [message #32680] |
Sat, 23 August 2008 10:59 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
aniou
Messages: 1 Registered: August 2008
|
Junior Member |
|
|
I have installation of CentOS 5.2 with current kernel (2.6.18-92.1.10.el5). GFS modules from RH are provided by separated packages:
kmod-gfs-0.1.23-5.el5
kmod-gfs2-1.92-1.1.el5_2.2
..and their versions, reported in kernel messages, are:
GFS2 Overlay (built Jun 21 2008 21:27:08) installed
GFS 0.1.23-5.el5 (built May 25 2008 03:59:58) installed
OpenVZ kernel (ovzkernel-2.6.18-92.1.1.el5.028stab057.2.x86_64.rpm) provides own gfs modules with unknown wersions:
GFS2 (built Jul 21 2008 17:12:08) installed
GFS <CVS> (built Jul 21 2008 17:11:32) installed
In addition I'm not able to rebuild gfs-kmod-0.1.23-5.el5.src.rpm with OpenVZ sources due to conflicts, for example:
/usr/src/redhat/BUILD/gfs-kmod-0.1.23/_kmod_build_/src/gfs/g lock.c:2755: error: too few arguments to function 'invalidate_inodes'
So, I have following question:
- what version of GFS/GFS2 modules contains OpenVZ "RHEL5" kernel and how looks reliability of that modules, comparing to "original", provided by RHEL5/CentOS?
|
|
|
|
Re: GFS version in OpenVZ kernel? [message #32865 is a reply to message #32710] |
Fri, 05 September 2008 10:05 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
ACichocki
Messages: 1 Registered: September 2008
|
Junior Member |
|
|
Hi!
I noticed that GFS2 in OpenVZ is quite updated. Comparing to gfs2-kmod-1.92-1.1.el5_2.2.src.rpm from RH, diff shows some changes but the DLM (part of gfs2 package from RH) is identical - diff doesn't show any differences.
But the GFS1 is quite old, there is only one (!) patch from RH since 2006.
I've been able to build OpenVZ kernel with the newest GFS1 from RedHat. I patched sources from gfs-kmod-0.1.23-5.el5_2.2.src.rpm (from RH) and used it with OpenVZ source rpms (2.6.18-92.1.1.el5.028stab057.2). There were only 3 changes needed:
- removal of diff-gfs-rh-truncate-corruption-20070521 (the one) from kernel-ovz.spec
- substitution of diff-gfs-kmod-0.1.16 with one I did from gfs-kmod-0.1.23-5.el5_2.2.src.rpm
- some minor changes in diff-gfs-vzquota-20070521 (changing order of couple lines).
I'm attaching patch against installed kernel-ovz source rpms (/usr/src/redhat). Installation procedure is simple:
1. cd /usr/src/redhat
2. zcat gfs1-from-rh-to-ovz.patch.gz | patch -p0
Artur
|
|
|