Hi all, I would like to know whether someone has ever succeeded in using an OpenVZ node as a Lustre Client. I use a 2.6.18 vanilla based Kernel which I patched in order to have openVZ support. The creation of the modules for Lustre works but when I try to load them I have got numerous errors. I hope someone could help me!
Quote: I have got numerous errors If you are looking for an intelligent response, you will need to be a bit more specific then this. Rick
Here are what modprobe lustre and dmesg give : WARNING: Error inserting libcfs (/lib/modules/2.6.18-ovz028stab053.5/kernel/net/lustre/libcfs.ko): Invalid module format WARNING: Error inserting lvfs (/lib/modules/2.6.18-ovz028stab053.5/kernel/fs/lustre/lvfs.ko): Invalid module format WARNING: Error inserting lnet (/lib/modules/2.6.18-ovz028stab053.5/kernel/net/lustre/lnet.ko): Invalid module format WARNING: Error inserting obdclass (/lib/modules/2.6.18-ovz028stab053.5/kernel/fs/lustre/obdclass.ko): Invalid module format WARNING: Error inserting ptlrpc (/lib/modules/2.6.18-ovz028stab053.5/kernel/fs/lustre/ptlrpc.ko): Invalid module format WARNING: Error inserting mdc (/lib/modules/2.6.18-ovz028stab053.5/kernel/fs/lustre/mdc.ko): Invalid module format WARNING: Error inserting lov (/lib/modules/2.6.18-ovz028stab053.5/kernel/fs/lustre/lov.ko): Invalid module format FATAL: Error inserting lustre (/lib/modules/2.6.18-ovz028stab053.5/kernel/fs/lustre/lustre.ko): Invalid module format libcfs: version magic '2.6.18-ovz028stab053.5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.18-ovz028stab053.5 mod_unload 686 4KSTACKS gcc-3.4' lvfs: version magic '2.6.18-ovz028stab053.5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.18-ovz028stab053.5 mod_unload 686 4KSTACKS gcc-3.4' lnet: version magic '2.6.18-ovz028stab053.5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.18-ovz028stab053.5 mod_unload 686 4KSTACKS gcc-3.4' obdclass: version magic '2.6.18-ovz028stab053.5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.18-ovz028stab053.5 mod_unload 686 4KSTACKS gcc-3.4' ptlrpc: version magic '2.6.18-ovz028stab053.5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.18-ovz028stab053.5 mod_unload 686 4KSTACKS gcc-3.4' mdc: version magic '2.6.18-ovz028stab053.5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.18-ovz028stab053.5 mod_unload 686 4KSTACKS gcc-3.4' lov: version magic '2.6.18-ovz028stab053.5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.18-ovz028stab053.5 mod_unload 686 4KSTACKS gcc-3.4' lustre: version magic '2.6.18-ovz028stab053.5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-3.4' should be '2.6.18-ovz028stab053.5 mod_unload 686 4KSTACKS gcc-3.4'
you need to download the kernel source, and compile the kernel and those modules on the same system. Rick
Ok rickb but that's what I did I first installed the kernel-smp-2.6.18-ovz028stab053.5.i686.rpm kernel on the node. Then I reboot on this kernel. I download the vanilla source code 2.6.18 (kernel.org) then I applied the openvz patch : patch-ovz028stab053.5-combined.gz And I finally use Lustre source code (1.6.4.3) to make the rpms for the client (patchless method) Am I wrong doing that?
try to install src rpm and check if it helps. http://download.openvz.org/kernel/branches/2.6.18/028stab053 .5/kernel-2.6.18-ovz028stab053.5.src.rpm
Let me know how you make out with this. I tried GFS and it didn't work the way I wanted, and the OpenVZ team suggested staying away from NFS. I am trying to provide an environment where I can fail a VE over to another piece of hardware, preferably using a shared drive among three or more machines. I'd be interested in knowing your config and how you make out. Please let me know. sean