Hi All, I''m attempting lustre builds on centos 5.6 and 6.0. I''d like to install 2.1 on both. I''m following the instructions for 5.6 at: http://wiki.whamcloud.com/display/PUB/Walk-thru-+Build+Lustre+1.8+on+CentOS+5.5+or+5.6+from+Whamcloud+git When I run git: git clone git://git.whamcloud.com/fs/lustre-release.git I believe I''m installing a version of 1.8 with this command? The instructions for RHEL 6.0 for lustre 2.1 look the same. Is there a way to get the 2.1 sources for 5.6 or do I already have them? Thanks! Kris -- Mr. Kristen J. Webb Teradactyl LLC. PHONE: 1-505-242-1091 EMAIL: kwebb at teradactyl.com VISIT: http://www.teradactyl.com Home of the True incremental Backup System
On Thu, Sep 15, 2011 at 09:12:24AM -0600, Kristen J. Webb wrote:> git clone git://git.whamcloud.com/fs/lustre-release.git > > I believe I''m installing a version of 1.8 with this command?''git branch'' should tell you that you are on the master branch already, which is currently lustre 2.1. ''git checkout 2.1.0-RC1'' to access the latest tag. Cheers, Johann -- Johann Lombardi Whamcloud, Inc. www.whamcloud.com
Andreas Dilger
2011-Sep-15 17:50 UTC
[Lustre-discuss] [wc-discuss] Re: building lustre 2.1 on centos5.6
On 2011-09-15, at 9:47 AM, Johann Lombardi wrote:> On Thu, Sep 15, 2011 at 09:12:24AM -0600, Kristen J. Webb wrote: >> git clone git://git.whamcloud.com/fs/lustre-release.git >> >> I believe I''m installing a version of 1.8 with this command? > > ''git branch'' should tell you that you are on the master branch already, which is currently lustre 2.1. ''git checkout 2.1.0-RC1'' to access the latest tag.Even easier is "git describe" which tells you the most recent tag, and how many commits your branch is beyond that tag: [adilger at cabot lustre-git]$ git describe 2.1.0-RC1-6-g434ab3e and at the top of lustre/autoconf/lustre-version.m4 is the version that will be used when building Lustre: [adilger at cabot lustre-git]$ head lustre/autoconf/lustre-version.ac m4_define([LUSTRE_MAJOR],[2]) m4_define([LUSTRE_MINOR],[1]) m4_define([LUSTRE_PATCH],[0]) m4_define([LUSTRE_FIX],[0]) Cheers, Andreas -- Andreas Dilger Principal Engineer Whamcloud, Inc.