wget http://downloads.whamcloud.com/public/lustre/lustre-2.2.0/el6/server/x86_64/kernel-devel-2.6.32-220.4.2.el6_lustre.x86_64.rpm
wget http://downloads.whamcloud.com/public/lustre/lustre-2.2.0/el6/server/x86_64/kernel-firmware-2.6.32-220.4.2.el6_lustre.x86_64.rpm
wget http://downloads.whamcloud.com/public/lustre/lustre-2.2.0/el6/server/x86_64/kernel-headers-2.6.32-220.4.2.el6_lustre.x86_64.rpm
wget http://downloads.whamcloud.com/public/e2fsprogs/1.41.90.wc4/el6/x86_64/e2fsprogs-1.41.90.wc4-7.el6.x86_64.rpm
wget http://downloads.whamcloud.com/public/e2fsprogs/1.41.90.wc4/el6/x86_64/e2fsprogs-devel-1.41.90.wc4-7.el6.x86_64.rpm
wget http://downloads.whamcloud.com/public/e2fsprogs/1.41.90.wc4/el6/x86_64/e2fsprogs-libs-1.41.90.wc4-7.el6.x86_64.rpm
wget http://downloads.whamcloud.com/public/e2fsprogs/1.41.90.wc4/el6/x86_64/e2fsprogs-static-1.41.90.wc4-7.el6.x86_64.rpm
wget http://downloads.whamcloud.com/public/e2fsprogs/1.41.90.wc4/el6/x86_64/libcom_err-1.41.90.wc4-7.el6.x86_64.rpm
wget http://downloads.whamcloud.com/public/e2fsprogs/1.41.90.wc4/el6/x86_64/libcom_err-devel-1.41.90.wc4-7.el6.x86_64.rpm
wget http://downloads.whamcloud.com/public/e2fsprogs/1.41.90.wc4/el6/x86_64/libss-1.41.90.wc4-7.el6.x86_64.rpm
wget http://downloads.whamcloud.com/public/e2fsprogs/1.41.90.wc4/el6/x86_64/libss-devel-1.41.90.wc4-7.el6.x86_64.rpm
Server:
rpm -ivh kernel-firmware-2.6.32-220.17.1.el6_lustre.x86_64.rpm
rpm -ivh kernel-2.6.32-220.17.1.el6_lustre.x86_64.rpm
rpm -ivh kernel-devel-2.6.32-220.17.1.el6_lustre.x86_64.rpm
rpm -Uvh e2fs*.rpm
rpm -Uvh lib*.rpm
rpm -ivh lustre-2.2.0-2.6.32_220.4.2.el6_lustre.x86_64.src.rpm
./mlnxofedinstall.sh
cd /usr/src/kernels/2.6.32-220.4.2.el6_lustre.x86_64/include
mv rdma rdma.old
cp ../../../ofa_kernel/include/rdma . -rf
cd ../drivers/
mv infiniband infiniband.old
cp ../../../ofa_kernel-1.5.4/drivers/infiniband . -rf
cd /usr/src/kernels/2.6.32-220.4.2.el6_lustre.x86_64
make oldconfig
./configure --with-linux=/usr/src/kernels/2.6.32-220.4.2.el6_lustre.x86_64 --with-o2ib=/usr/src/ofa_kernel --enable-quota
make rpms
cd /root/rpmbuild/RPM/x86_64
rpm -ivh *.rpm
reboot
Client:
rpm -ivh *.rpm
Format
MDT:
mkfs.lustre --mdt --mgs --fsname=lustre --backfstype=ldiskfs --param mdd.quota_type=ug --reformat --verbose /dev/sdb
mount -t lustre /dev/disk/by-uuid/573d37c7-2146-4899-a145-de171c610aaf /lustre/mdt/
OSS:
mkfs.lustre --ost --fsname=lustre --mgsnode=mgs_nodename@o2ib0 --backfstype=ldiskfs --mkfsoptions="-E stripe_width=8 -i 1048576" --param ost.quota_type=ug --reformat /dev/sdb
mount -t lustre /dev/disk/by-uuid/0fb19830-9c86-4052-993e-43d02210c0b1 /lustre/ost1
Mount:
modprobe lustre
lsmod | grep lustre
mount -t lustre mdt_nodename@o2ib0:/lustre /mount_point