cd ChelsioUwire-3.9.0.0
make iscsi_pdu_target_install
在3.10.0-862 kernel上:
INFO : chiscsi_t4 [ Not supported ]
在3.10.0-514 kernel上:
rmmod csiostor cxgb4i cxgbit iw_cxgb4 chcr cxgb4vf cxgb4 libcxgbi libcxgb
#加载kernel模块
modprobe chiscsi_t4
#开机启动
chkconfig --level 3 chelsio-target on
systemctl restart chelsio-target
#配置target
vim /etc/chelsio-iscsi/chiscsi.conf
ACL=XXXX
iscsictl -f
iscsictl -c
#开启 target
iscsictl -S target=ALL #启动所有target
iscsictl -S target=iqn.2006-02.com.chelsio.diskarray.san1
#关闭 target
iscsictl -s target=iqn.2006-02.com.chelsio.diskarray.san1
#卸载
rmmod chiscsi_t4
原文地址:https://www.cnblogs.com/niezhongle/p/11062562.html
时间: 2024-10-20 01:51:21