Debian上SCST的设置
来源:岁月联盟
时间:2012-04-05
一)创建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.devname2:加载内核模块 # modprobe scst# modprobe scst_vdisk# modprobe iscsi-scstFATAL: 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.2cto.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-scstdprocess ist started successfully# scstadmin-bash: scstadmin: command not founddownload 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.2cto.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.devname2:载入模块 #modprobe scs#modprobe scst_vdisk#modprobe ib_srpt 作者 showcolors