分类: LINUX
2015-01-07 14:21:30
一)创建SCST,无infiniband支持
1:载入最小化支持
#aptitude install build-essentials linux-headers checkinstall
#wget
#tar -xzf scstadmin-2.0.0.tar.gz
#cd scst-2.0.0.1
#make
#checkinstall --exclude=/lib/modules/2.6.32-5-amd64/modules.softdep,/lib/modules/2.6.32-5-amd64/modules.devname
2:加载模块
# modprobe scst
# modprobe scst_vdisk
# modprobe iscsi-scst
FATAL: Module iscsi_scst not found.
download iscsi-scst:
#wget
#tar -xzf iscsi-scst-2.0.0.tar.gz
# iscsi-scst-2.0.0/
#make all
#checkinstall --exclude=/lib/modules/2.6.32-5-amd64/modules.softdep,/lib/modules/2.6.32-5-amd64/modules.devname
#dpkg -i iscsi-scst_2.0.0-1_amd64.deb
# modprobe iscsi-scst
# iscsi-scstd
process ist started successfully
# scstadmin
-bash: scstadmin: command not found
dowoad scstadm:
#wget
#tar -xzf scstadmin-2.0.0.tar.gz
#cd scstadmin-2.0.0
#make
#checkinstall --exclude=/lib/moles/2.6.32-5-amd64/modules.softdep,/lib/modules/2.6.32-5-amd64/modules.devname
二)创建SCST,附加infiniband支持
1:下载并编译需要的资源文件(svn)
svn co
#cd scst
#checkinstall --exclude=/lib/modules/2.6.32-5-amd64/modules.softdep,/lib/modules/2.6.32-5-amd64/modules.devname
#cd ../srpt
#checkinstall --exclude=/lib/modules/2.6.32-5-amd64/modules.softdep,/lib/modules/2.6.32-5-amd64/modules.devname
2:载入模块
#modprobe scs
#modprobe scst_vdisk
#modprobe ib_srpt
作者 shoolors