一)创建SCST,无infiniband支持
1:载入最小化支持
#aptitude install build-essentials linux-headers checkinstall
#wget http://downloads.sourceforge.net/project/scst/scst/2.0.0.1/scst-2.0.0.1.tar.gz
#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 http://downloads.sourceforge.net/project/scst/iscsi-scst/2.0.0/iscsi-scst-2.0.0.tar.gz www.ahlinux.com
#tar -xzf iscsi-scst-2.0.0.tar.gz
#cd 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
download scstadm:
#wget http://downloads.sourceforge.net/project/scst/scstadmin/2.0.0/scstadmin-2.0.0.tar.gz
#tar -xzf scstadmin-2.0.0.tar.gz
#cd scstadmin-2.0.0
#make
#checkinstall --exclude=/lib/modules/2.6.32-5-amd64/modules.softdep,/lib/modules/2.6.32-5-amd64/modules.devname www.ahlinux.com
二)创建SCST,附加infiniband支持
1:下载并编译需要的资源文件(svn)
svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk
#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
作者 showcolors
- 本文来自:Linux学习网