First of all thank you for the help. The "configure string" was from another test server, sorry about the mess.
It seems like the "configure" always detect a patched kernel. I tested it on a patched client node rebooted into the standard redhat kernel, on a RHEL 5.5 and on a fresh RHEL 5.4 installation: [r...@lustreclient3 lustre-1.8.3]# ./configure --with-linux=/lib/modules/`uname -r`/build [r...@lustreclient3 lustre-1.8.3]# make rpms [r...@lustreclient3 lustre-1.8.3]# ls -l /usr/src/redhat/RPMS/x86_64/ total 38656 -rw-r--r-- 1 root root 4712160 Jul 8 16:09 lustre-1.8.3-2.6.18_164.el5_201007081603.x86_64.rpm -rw-r--r-- 1 root root 11097838 Jul 8 16:10 lustre-debuginfo-1.8.3-2.6.18_164.el5_201007081603.x86_64.rpm -rw-r--r-- 1 root root 15040050 Jul 8 16:10 lustre-modules-1.8.3-2.6.18_164.el5_201007081603.x86_64.rpm -rw-r--r-- 1 root root 5509072 Jul 8 16:10 lustre-source-1.8.3-2.6.18_164.el5_201007081603.x86_64.rpm -rw-r--r-- 1 root root 3152499 Jul 8 16:10 lustre-tests-1.8.3-2.6.18_164.el5_201007081603.x86_64.rpm [r...@lustreclient3 lustre-1.8.3]# uname -a Linux lustreclient3.diennea.lan 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux The build process doesn't request additional rpms. > This should all be documented in the manual. > > > When you run "configure", it will determine whether to build the > client or the server based on > whether it detects a Lustre-patched kernel -- there is only one Lustre > source. > > Installing the RPMs for the wrong kernel > (2.6.18-164.el52.6.18-164.11.1.0.1.el5) won't help. > > Building on the client should be as easy as: > # cd /usr/src/lustre-1.8.3 > # ./configure --with-linux=/lib/modules/`uname -r`/build > # make rpms > (but you may have to add a few RPMs required by the build process) > > The problem is you pointed your configure at > 2.6.18-194.8.1.el5-x86_64, instead of what you are running, > which is 2.6.18-164.el5 > > > > Alessandro Luccaroni - Diennea wrote: >> Hello, >> in the last few days i have installed a HA lustre cluster for testing >> purpouse. >> Everything goes smooth with the patched kernel >> (kernel-2.6.18-164.11.1.0.1.el5_lustre.1.8.3.x86_64.rpm) but i can't >> find a way to mount the filsesystem with the patchless rpms: >> >> [r...@lustreclient2 mnt]# mount -t lustre lustremd...@tcp0:/lustre >> /mnt/lustre >> mount.lustre: mount lustremd...@tcp0:/lustre at /mnt/lustre failed: >> No such device >> Are the lustre modules loaded? >> Check /etc/modprobe.conf and /proc/filesystems >> Note 'alias lustre llite' should be removed from modprobe.conf >> >> In /proc/filesystems i can't find the "lustre" row. >> >> [r...@lustreclient2 src]# uname -r >> 2.6.18-164.el5 >> >> [r...@lustreclient2 mnt]# ls -l /lib/modules/ >> drwxr-xr-x 6 root root 4096 Jul 7 17:57 2.6.18-164.11.1.0.1.el5 >> drwxr-xr-x 6 root root 4096 Jul 7 17:58 2.6.18-164.el5 >> >> I think the problem is the different kernel revision, but i can't >> find on the Red Hat Network the 2.6.18_164.11.1.0.1.el5 kernel; the >> closest one is kernel-2.6.18-164.11.1.el5.x86_64.rpm. >> >> >> I have also tried to build the client rpm from source but in the >> /usr/src/redhat/RPMS/x86_64/ directory i can only find the >> server-side rpms (lustre, lustre-debuginfo, lustre-modules, >> lustre-source, lustre tests): >> >> cd /usr/src/lustre-1.8.3 >> ./configure --with-linux=/usr/src/kernels/2.6.18-194.8.1.el5-x86_64 >> make rpms >> >> Sure I'm missing something, can someone help me or point me to some >> documentation about building the patchless rpms from source? >> _______________________________________________ >> Lustre-discuss mailing list >> [email protected] >> http://lists.lustre.org/mailman/listinfo/lustre-discuss _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
