lustre 2.2 for rhel6.2 x64 install guid

39 篇文章 1 订阅

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

wget http://downloads.whamcloud.com/public/lustre/lustre-2.2.0/el6/server/SRPMS/lustre-2.2.0-2.6.32_220.4.2.el6_lustre.x86_64.src.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

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值