OpenVZ Forum


Home » General » Support » GFS version in OpenVZ kernel?
GFS version in OpenVZ kernel? [message #32680] Sat, 23 August 2008 10:59 Go to next message
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 #32710 is a reply to message #32680] Mon, 25 August 2008 10:23 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


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'



Yes, it's impossible compile that modules as is due to OpenVZ modification in fs/inode.c. You could look at the appropriate patch that does these modifications.
http://git.openvz.org/?p=linux-2.6.18-openvz;a=commit;h=9912 0690122d5cb9889078accdf0a2270573504e
http://git.openvz.org/?p=linux-2.6.18-openvz;a=blobdiff;f=fs /inode.c;h=10a84ba722ab48002a2e07305abb2172478fe52e;hp=0bf9f 0444a964bb5398e50a533a5a942eb701eae;hb=99120690122d5cb988907 8accdf0a2270573504e;hpb=297ec8662f6fe138b0d491473865fb6698b0 00ca

Quote:


what version of GFS/GFS2 modules contains OpenVZ "RHEL5" kernel


It's based on gfs-kmod-0.1.16-5.2.6.18_8.el5.src.rpm.
But some changes was done, some potential bugs are fixed.
To find out what exactly was done you can install ovz.src.rpm, then go to SOURCE directory. There must be a set of diff-gfs* files.

Thank You.

[Updated on: Mon, 25 August 2008 10:47]

Report message to a moderator

Re: GFS version in OpenVZ kernel? [message #32865 is a reply to message #32710] Fri, 05 September 2008 10:05 Go to previous message
ACichocki is currently offline  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
Previous Topic: Dedicated File Cache
Next Topic: Kernelspace L2TP (using openl2tpd) inside VE - PPPOX socket fail
Goto Forum:
  


Current Time: Mon Nov 18 23:08:03 GMT 2024

Total time taken to generate the page: 0.02994 seconds