[Lustre-discuss] building lustre-client rpms

Kevin Van Maren kevin.van.maren at oracle.com
Thu Jul 8 06:03:57 PDT 2010


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:
>
> [root at lustreclient2 mnt]# mount -t lustre lustremds02 at tcp0:/lustre 
> /mnt/lustre
> mount.lustre: mount lustremds02 at 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.
>
> [root at lustreclient2 src]# uname -r
> 2.6.18-164.el5
>
> [root at 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
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>   




More information about the lustre-discuss mailing list