[Ocfs2-users] OCFS2 inside Virtuozzo nodes

santi at usansolo.net santi at usansolo.net
Wed Jun 18 04:06:44 PDT 2008


Dear Srs,

I'm trying to enable OCFS2 inside a Virtuozzo 4.0 server. Virtuozzo [1] is
a Linux kernel modification to enable operating system-level
virtualization, currently based on v2.6.18. Kernel module has successfully
compiled but I have some problems:

- In this Virtuozzo release 'linux/fs.h' is not patched to support
FS_RENAME_DOES_D_MOVE macro, so "--enable-vfs-rename-patch-override=yes" is
needed to override this. It's important? I can contact Virtuozzo technical
support to suggest enabling in future releases if possible..

checking for flag FS_RENAME_DOES_D_MOVE in fs.h... no
checking whether to ignore the missing vfs rename kernel patch... no
configure: error: Kernel source is missing mainline patch commit
349457ccf2592c14bdf13b6706170ae2e94931b1

- I can't build RPM package with the modules, the output of "uname -r" is
"2.6.18-028stab053.17-ent", and I get this error:

# ./vendor/rhel5/kernel.guess targets
./vendor/rhel5/kernel.guess: line 140: [: 028stab053: integer expression
expected

Appears that kernel.guess doesn't correctly handle the version string
"2.6.18-028stab053.17-ent", maybe?

With "make rhel5_`uname -r`_rpm" I get this error:

===================================================================
(..)
/bin/sh: line 5: [: 028stab053: integer expression expected
rpmbuild -bs --define "_sourcedir ." --define "_srcrpmdir ."
./vendor/rhel5/ocfs2-2.6.18-028stab053.17-ent.spec
Wrote: ./ocfs2-2.6.18-028stab053.17-ent-1.3.9-0.local.el5.src.rpm
rpmbuild --rebuild --target i686
"ocfs2-2.6.18-028stab053.17-ent-1.3.9-0.local.el5.src.rpm"
Installing ocfs2-2.6.18-028stab053.17-ent-1.3.9-0.local.el5.src.rpm
Building target platforms: i686
Building for target i686
error: Failed build dependencies:
        kernel-PAE-devel = 2.6.18-028stab053.17-ent is needed by
ocfs2-2.6.18-028stab053.17-ent-1.3.9-0.local.el5.i686
        kernel-xen-devel = 2.6.18-028stab053.17-ent is needed by
ocfs2-2.6.18-028stab053.17-ent-1.3.9-0.local.el5.i686
        kernel-debug-devel = 2.6.18-028stab053.17-ent is needed by
ocfs2-2.6.18-028stab053.17-ent-1.3.9-0.local.el5.i686
make: *** [rhel5_2.6.18-028stab053.17-ent_rpm] Error 1
rm vendor/rhel5/ocfs2-2.6.18-028stab053.17-ent.spec
===================================================================

Is there anyway to make a RPM package in this scenario? Thanks

[1] http://en.wikipedia.org/wiki/Virtuozzo

--
Santi Saez
http://woop.es




More information about the Ocfs2-users mailing list