码迷,mamicode.com
首页 > 其他好文 > 详细

Chelsio T520 T420安装iSCSI PDU Initiator

时间:2019-06-21 09:29:09      阅读:130      评论:0      收藏:0      [点我收藏+]

标签:tran   nod   install   targe   ipaddress   get   安装   iad   WAD   

cd ChelsioUwire-3.9.0.0

make iscsi_pdu_initiator_install

rmmod csiostor cxgb4i cxgbit iw_cxgb4 chcr cxgb4vf cxgb4 libcxgbi libcxgb

modprobe cxgb4i

iscsiadm -m iface

#创建文件/etc/iscsi/ifaces/cxgb4i.xx:xx:xx:xx:xx:xx

iface.iscsi_ifacename = cxgb4i.00:07:43:13:bf:50

iface.hwaddress = 00:07:43:13:bf:50

iface.transport_name = cxgb4i

iface.net_ifacename = enp2s0f4

iface.ipaddress = 182.168.2.50

确保/var/lib/iscsi/ifaces存在cxgb4i.00:07:43:13:bf:50

#启动iscsi

iscsid

#发现target

iscsiadm -m discovery -t st -p 182.168.2.49:3260 -I cxgb4i.00:07:43:13:bf:50

#登录

iscsiadm -m node -p 182.168.2.49:3260 -I cxgb4i.00:07:43:13:bf:50 -l

#登出

iscsiadm -m node -p 182.168.2.49:3260 -I cxgb4i.00:07:43:13:bf:50 -u

#卸载iscsi

rmmod cxgb4i

rmmod libcxgbi

Chelsio T520 T420安装iSCSI PDU Initiator

标签:tran   nod   install   targe   ipaddress   get   安装   iad   WAD   

原文地址:https://www.cnblogs.com/niezhongle/p/11062559.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!