Chan Ching Yu, Patrick
2013-May-27 15:14 UTC
Help on installing Lustre 2.1.5 on stock CentOS 6.3
Wojciech Turek
2013-May-27 15:24 UTC
Re: Help on installing Lustre 2.1.5 on stock CentOS 6.3
Hi, If you building client then you need to add --disable-server to your ./configure line and that will disable lustre-backend-fs dependency. best regards, Wojciech On 27 May 2013 16:14, Chan Ching Yu, Patrick <cychan-eQCasaxV0mrc+919tysfdA@public.gmane.org> wrote:> Hi all, > > I tried to install Lustre 2.1.5 client RPM (patchless kernel) on a CentOS > 6.3 machine. > > However, in Whamcloud download site ( > http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/RPMS/x86_64/)<http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/RPMS/x86_64/>, > > I can only find the binary RPMs for kernel 2.6.32-279.19.1, while kernel > version on my stock CentOS6.3 is 2.6.32-279. > > As the kernel version does not match, I tried to build from source RPM, > the rpmbuild is fine: > > # rpmbuild --rebuild lustre-client-2.1.5-2.6.32_279.19.1.el6.x86_64.src.rpm > # cd rpmbuild/RPMS/x86_64/ > > But dependencies error comes out when I install Lustre client RPMs: > > # rpm -ivh lustre-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm > lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm > lustre-tests-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm > > error: Failed dependencies: > lustre-backend-fs is needed by > lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64 > > As I know, Lustre client does not need lustre-backend-fs. Why does this > error occur? Thx. > > CY > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss > >-- Wojciech Turek Senior System Architect High Performance Computing Service University of Cambridge _______________________________________________ Lustre-discuss mailing list Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org http://lists.lustre.org/mailman/listinfo/lustre-discuss
Chan Ching Yu, Patrick
2013-May-27 16:03 UTC
Re: Help on installing Lustre 2.1.5 on stock CentOS 6.3
Wojciech Turek
2013-May-27 16:16 UTC
Re: Help on installing Lustre 2.1.5 on stock CentOS 6.3
Hi, These are my steps to build patchless client: # Lustre 2.1.5 # cd /root/lustre wget http://downloads.whamcloud.**com/public/lustre/latest-** maintenance-release/el6/**client/SRPMS/lustre-client-2.** 1.5-2.6.32_279.19.1.el6.x86_**64.src.rpm<http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/SRPMS/lustre-client-2.1.5-2.6.32_279.19.1.el6.x86_64.src.rpm> rpm -ivh /root/lustre/lustre-client-2.**1.5-2.6.32_279.19.1.el6.x86_**64. src.rpm cd /usr/src tar -zxvf /root/rpmbuild/SOURCES/lustre-**2.1.5.tar.gz cd lustre-2.1.5 ./configure --with-linux=/lib/modules/$**KVER/build --with -o2ib=/usr/src/ofa_**kernel mount -t proc proc /proc make rpms On 27 May 2013 17:03, Chan Ching Yu, Patrick <cychan-eQCasaxV0mrc+919tysfdA@public.gmane.org> wrote:> Thanks for your quick reply. > > However, I’ve tried to add “—disable-server” in SPECS/lustre.spec file > and build it > > # vi SPEC/lustre.spec > (....skipped....) > %define optflags -g -O2 -Werror > CONFIGURE_ARGS="%{?configure_args} --with-release=%release > --disable-server" > %if %{build_lustre_tests} > CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-tests --enable-liblustre-tests" > %else > CONFIGURE_ARGS="$CONFIGURE_ARGS --disable-tests --disable-liblustre-tests" > %endif > > # rpmbuild –ba SPEC/lustre.spec > > # cd ~/rpmbuild/RPMS/x86_64/ > # rpm -ivh lustre-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm > lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm > error: Failed dependencies: > lustre-backend-fs is needed by > lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64 > > That’s the same. Thx. > > > *From:* Wojciech Turek <wjt27-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org> > *Sent:* Monday, May 27, 2013 11:24 PM > *To:* Chan Ching Yu, Patrick <cychan-eQCasaxV0mrc+919tysfdA@public.gmane.org> > *Cc:* lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org > *Subject:* Re: [Lustre-discuss] Help on installing Lustre 2.1.5 on stock > CentOS 6.3 > > Hi, > > If you building client then you need to add --disable-server to your > ./configure line and that will disable lustre-backend-fs dependency. > > best regards, > > Wojciech > > On 27 May 2013 16:14, Chan Ching Yu, Patrick <cychan-eQCasaxV0mrc+919tysfdA@public.gmane.org>wrote: > >> Hi all, >> >> I tried to install Lustre 2.1.5 client RPM (patchless kernel) on a CentOS >> 6.3 machine. >> >> However, in Whamcloud download site ( >> http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/RPMS/x86_64/)<http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/RPMS/x86_64/>, >> >> I can only find the binary RPMs for kernel 2.6.32-279.19.1, while kernel >> version on my stock CentOS6.3 is 2.6.32-279. >> >> As the kernel version does not match, I tried to build from source RPM, >> the rpmbuild is fine: >> >> # rpmbuild --rebuild >> lustre-client-2.1.5-2.6.32_279.19.1.el6.x86_64.src.rpm >> # cd rpmbuild/RPMS/x86_64/ >> >> But dependencies error comes out when I install Lustre client RPMs: >> >> # rpm -ivh lustre-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm >> lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm >> lustre-tests-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm >> >> error: Failed dependencies: >> lustre-backend-fs is needed by >> lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64 >> >> As I know, Lustre client does not need lustre-backend-fs. Why does this >> error occur? Thx. >> >> CY >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org >> http://lists.lustre.org/mailman/listinfo/lustre-discuss >> >> > > > -- > Wojciech Turek > > Senior System Architect > > High Performance Computing Service > University of Cambridge > >-- Wojciech Turek Senior System Architect High Performance Computing Service _______________________________________________ Lustre-discuss mailing list Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org http://lists.lustre.org/mailman/listinfo/lustre-discuss
Wojciech Turek
2013-May-27 16:17 UTC
Re: Help on installing Lustre 2.1.5 on stock CentOS 6.3
and ignore mount -t proc proc /proc line, this is because I was building it in a chroot''ed environment. On 27 May 2013 17:16, Wojciech Turek <wjt27-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org> wrote:> Hi, > > These are my steps to build patchless client: > > # Lustre 2.1.5 # > cd /root/lustre > wget http://downloads.whamcloud.**com/public/lustre/latest-** > maintenance-release/el6/**client/SRPMS/lustre-client-2.** > 1.5-2.6.32_279.19.1.el6.x86_**64.src.rpm<http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/SRPMS/lustre-client-2.1.5-2.6.32_279.19.1.el6.x86_64.src.rpm> > rpm -ivh /root/lustre/lustre-client-2.**1.5-2.6.32_279.19.1.el6.x86_**64. > src.rpm > cd /usr/src > tar -zxvf /root/rpmbuild/SOURCES/lustre-**2.1.5.tar.gz > cd lustre-2.1.5 > ./configure --with-linux=/lib/modules/$**KVER/build --with > -o2ib=/usr/src/ofa_**kernel > mount -t proc proc /proc > make rpms > > > > > On 27 May 2013 17:03, Chan Ching Yu, Patrick <cychan-eQCasaxV0mrc+919tysfdA@public.gmane.org>wrote: > >> Thanks for your quick reply. >> >> However, I’ve tried to add “—disable-server” in SPECS/lustre.spec file >> and build it >> >> # vi SPEC/lustre.spec >> (....skipped....) >> %define optflags -g -O2 -Werror >> CONFIGURE_ARGS="%{?configure_args} --with-release=%release >> --disable-server" >> %if %{build_lustre_tests} >> CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-tests --enable-liblustre-tests" >> %else >> CONFIGURE_ARGS="$CONFIGURE_ARGS --disable-tests --disable-liblustre-tests" >> %endif >> >> # rpmbuild –ba SPEC/lustre.spec >> >> # cd ~/rpmbuild/RPMS/x86_64/ >> # rpm -ivh lustre-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm >> lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm >> error: Failed dependencies: >> lustre-backend-fs is needed by >> lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64 >> >> That’s the same. Thx. >> >> >> *From:* Wojciech Turek <wjt27-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org> >> *Sent:* Monday, May 27, 2013 11:24 PM >> *To:* Chan Ching Yu, Patrick <cychan-eQCasaxV0mrc+919tysfdA@public.gmane.org> >> *Cc:* lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org >> *Subject:* Re: [Lustre-discuss] Help on installing Lustre 2.1.5 on stock >> CentOS 6.3 >> >> Hi, >> >> If you building client then you need to add --disable-server to your >> ./configure line and that will disable lustre-backend-fs dependency. >> >> best regards, >> >> Wojciech >> >> On 27 May 2013 16:14, Chan Ching Yu, Patrick <cychan-eQCasaxV0mrc+919tysfdA@public.gmane.org>wrote: >> >>> Hi all, >>> >>> I tried to install Lustre 2.1.5 client RPM (patchless kernel) on a >>> CentOS 6.3 machine. >>> >>> However, in Whamcloud download site ( >>> http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/RPMS/x86_64/)<http://downloads.whamcloud.com/public/lustre/latest-maintenance-release/el6/client/RPMS/x86_64/>, >>> >>> I can only find the binary RPMs for kernel 2.6.32-279.19.1, while kernel >>> version on my stock CentOS6.3 is 2.6.32-279. >>> >>> As the kernel version does not match, I tried to build from source RPM, >>> the rpmbuild is fine: >>> >>> # rpmbuild --rebuild >>> lustre-client-2.1.5-2.6.32_279.19.1.el6.x86_64.src.rpm >>> # cd rpmbuild/RPMS/x86_64/ >>> >>> But dependencies error comes out when I install Lustre client RPMs: >>> >>> # rpm -ivh lustre-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm >>> lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm >>> lustre-tests-2.1.5-2.6.32_279.el6.x86_64.x86_64.rpm >>> >>> error: Failed dependencies: >>> lustre-backend-fs is needed by >>> lustre-modules-2.1.5-2.6.32_279.el6.x86_64.x86_64 >>> >>> As I know, Lustre client does not need lustre-backend-fs. Why does this >>> error occur? Thx. >>> >>> CY >>> >>> _______________________________________________ >>> Lustre-discuss mailing list >>> Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org >>> http://lists.lustre.org/mailman/listinfo/lustre-discuss >>> >>> >> >> >> -- >> Wojciech Turek >> >> Senior System Architect >> >> High Performance Computing Service >> University of Cambridge >> >> > > > -- > Wojciech Turek > > Senior System Architect > > High Performance Computing Service > >-- Wojciech Turek Senior System Architect High Performance Computing Service University of Cambridge _______________________________________________ Lustre-discuss mailing list Lustre-discuss-aLEFhgZF4x6X6Mz3xDxJMA@public.gmane.org http://lists.lustre.org/mailman/listinfo/lustre-discuss