Lustre Client on Ubuntu 14.04 LTS (Trusty)
Jump to navigation
Jump to search
This is a guide to build and install the Lustre client on Ubuntu 14.04 LTS using Mellanox Ethernet only - I have yet to try building it with IB support.
Prework
- Update system for latest source files "/etc/apt/sources.list"
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://uk.archive.ubuntu.com/ubuntu/ trusty main universe
deb-src http://uk.archive.ubuntu.com/ubuntu/ trusty main universe
###### Ubuntu Update Repos
deb http://uk.archive.ubuntu.com/ubuntu/ trusty-security main universe
deb http://uk.archive.ubuntu.com/ubuntu/ trusty-updates main universe- Install Mellanox OFED
- Modify Mellanox interface to use Ethernet only "connectx_port_config"
# Mellanox Prerequisites
root@ubuntu-server-1404-x8664:~# aptitude install debhelper pkg-config swig quilt flex gfortran tk8.4 tcl tcl8.4 dpatch curl tk python-libxml2
libgfortran3 bison libnl1 dkms graphviz chrpath
root@ubuntu-server-1404-x8664:~# apt-get update
root@ubuntu-server-1404-x8664:~# aptitude install git build-essential libtool automake python-docutilsInstallation Steps
root@ubuntu-server-1404-x8664:~# git clone git://git.whamcloud.com/fs/lustre-release.git
root@ubuntu-server-1404-x8664:~# cd lustre-release
root@ubuntu-server-1404-x8664:~/lustre-release# sh ./autogen.sh
root@ubuntu-server-1404-x8664:~/lustre-release# ./configure --disable-server
root@ubuntu-server-1404-x8664:~/lustre-release# make -j 16
root@ubuntu-server-1404-x8664:~/lustre-release# make -j 16 install- Modify "/etc/modprobe.d/lustre.conf"
options lnet networks=tcp0(eth2)- Load Modules
- When issuing "modprobe lustre" ensure the lnet interface in "lustre.conf" is up else you will get errors with "ptlrpc.ko".
root@ubuntu-server-1404-x8664:~# modprobe lnet
root@ubuntu-server-1404-x8664:~# modprobe lustre