Re: GFS version in OpenVZ kernel? [message #32865 is a reply to message #32710] |
Fri, 05 September 2008 10:05  |
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
|
|
|