我要评分
获取效率
正确性
完整性
易理解

Preparing the Lustre Source

  1. Create a build user.
    1
    # useradd -m build
    
  2. Switch to the build user and change the current directory.
    1
    2
    # su build
    $ cd $HOME
    
  3. Download the Lustre source.
    • Method 1: If you can access the Internet, run the wget command to download the package.
      1
      $ wget 'https://git.whamcloud.com/?p=fs/lustre-release.git;a=snapshot;h=4e05f3b70b73de54690ec08a4638d80e8f8c6e4e;sf=tgz' -O lustre-release.tar.gz
      
    • Method 2: Local download

      Download URL: https://git.whamcloud.com/fs/lustre-release.git

      Select the 2.13.0 version and click snapshot to download the package.

  4. Decompress the package and go to the download directory of the Lustre source.
    1
    2
    $ tar -zxvf lustre-release.tar.gz
    $ cd lustre-release-4e05f3b
    
  5. Run sh ./autogen.sh.
    1
    $ sh ./autogen.sh
    

    The command output is as follows:

    1
    2
    3
    4
    5
    6
    configure.ac:15: installing 'config/compile'
    configure.ac:10: installing 'config/config.guess'
    configure.ac:10: installing 'config/config.sub'
    configure.ac:12: installing 'config/install-sh'
    configure.ac:12: installing 'config/missing'
    libcfs/libcfs/autoMakefile.am: installing 'config/depcomp'