Joseph Farran wrote: >> You should be running 2.6.18-128.1.10 (security). >> >> Anyhow, it's easy to compile and use the current lustre-1.6(.7.1) as a >> patchless client on CentOS-5.3 (we do it on our machines). >> >> This is assuming you're on x86_64, I know nothing about the others. > > Can a kind soul describe the steps in this easy building of Lustre on CentOS > 5.3 with Lustre 1.6 or 1.8? > > Thanks, > Joseph >
If you have the kernel source installed, all I did to build lustre-1.8.0.1rc5 was the following: # tar -xvzf lustre-.... (Ok I downloaded from svn, but you need to do this with your tarball) # cd lustre-1.8.0.1rc5 # ./configure --disable-server --prefix=/opt/lustre/1.8.0.1rc5 \ --with-o2ib=/opt/system/ofed/1.4.1/src/openib \ --with-linux=/usr/src/kernels/linux-2.6.18-128.1.10.el5 --enable-quota # make # make install # depmod -a Then I could mount the filesystem with: mount -t lustre -o _netdev,flock 10.180....@o2ib:/scratch /mnt/scratch It is that easy. Note, if you use a different prefix, you need to create a symlink from /sbin/mount.lustre to $PREFIX/sbin/mount.lustre so mount can find it. If you need to install the source, I think the procedure is: # rpm -i kernel-2.6.18-128.1.10.el5.src.rpm # cd /usr/src/redhat/SPECS # rpmbuild -bp --target $(uname -m) kernel-2.6.spec # cd ../BUILD/kernel-2.6.18 # mv linux-2.6.18_x86_64 /usr/src/kernels/linux-2.6.18-128.1.10.el5 # cd /usr/src/kernels/linux-2.6.18-92.1.10.el5 # cd config # cp kernel-2.6.18-x86_64.config ../.config At this point I don't know if you have to configure the kernel. If you do: -- Modify Makefile and change EXTRA to -128.1.10.el5 # make oldconfig Also, you may just be able to install the devel and headers packages for the kernel and Lustre will build off those. I have notes that said I tried it but don't remember the outcome since I had to rebuild the kernel from source anyway. Craig > _______________________________________________ > Lustre-discuss mailing list > [email protected] > http://lists.lustre.org/mailman/listinfo/lustre-discuss > -- Craig Tierney ([email protected]) _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
