[Ocfs2-users] OCFS2 inside Virtuozzo nodes

Sunil Mushran Sunil.Mushran at oracle.com
Wed Jun 18 09:46:50 PDT 2008


The ocfs2 1.x packages are only meant for sles and (rh)el and
not other distributions. 2.6.18 and 2.6.16 shipped with (rh)el
and sles respectively are not the same as the original mainline
tree. So building it will require some development work.

One option for you is to ping the kernel vendor and see if they
can help you.

Other option is to use various xen solutions offered by oracle,
suse and rh.

santi at usansolo.net wrote:
> 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
>
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users
>   




More information about the Ocfs2-users mailing list