Chelsio T520 T420安装iSCSI PDU Initiator

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

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

时间: 2024-10-20 01:51:31

Chelsio T520 T420安装iSCSI PDU Initiator的相关文章

Chelsio T520 T420安装iSCSI PDU Offload Target

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 #开机

Chelsio T520 T420安装LIO iSCSI Target Offload

安装lio_target需要特殊组件,先配置kernel,再安装lio_target #配置kernel rpm -ivh kernel-3.10.0-862.2.3.el7.src.rpm(忽略此次报错) cd /root/rpmbuild/SPECS/ rpmbuild -bp kernel.spec --nodeps cd  ../BUILD/kernel-3.10.0-862.2.3.el7/linux-3.10.0-862.2.3.el7.x86_64/ make prepare cp

Chelsio T520 T420安装iSER

#安装驱动 cd ChelsioUwire-3.9.0.0 make iser_install #卸载模块 rmmod csiostor cxgb4i cxgbit iw_cxgb4 chcr cxgb4vf cxgb4 libcxgbi libcxgb rmmod iw_cxgb4 #加载iwarp驱动 modprobe iw_cxgb4 mpa_rev=2 modprobe rdma_ucm #开启iwarp端口 iwpmd #加载模块 target端:  modprobe ib_isert

Chelsio T520 T420开启RDMA-NFS

#加载驱动 服务器:modprobe xprtrdma modprobe svcrdma 客户端:modprobe xprtrdma #配置nfs 服务器:/home/in 192.168.1.1/24(rw,sync,no_root_squash) vim /etc/exports exportfs -r exportfs systemctl restart rpcbind nfs-server echo rdma 2050 > /proc/fs/nfsd/portlist cat /proc

Chelsio T520 T420开启RDMA(服务器&&客户端)

cd ChelsioUwire-3.9.0.0 make iwarp_install #卸载inbox模块 rmmod csiostor cxgb4i cxgbit iw_cxgb4 chcr cxgb4vf cxgb4 libcxgbi libcxgb #加载iwarp驱动 modprobe cxgb4 modprobe iw_cxgb4 modprobe rdma_ucm #开启iwarp端口 iwpmd #卸载  rmmod iw_cxgb4 原文地址:https://www.cnblog

ubuntu安装iscsi

ubuntu安装iscsi target端:apt-get install iscsitarget ubuntu安装iscsi initiator端:apt-get install open-iscsi-utils iscsiadm命令:查找目标主机上划了哪些luniscsiadm -m discovery -t sendtargets -p [ip_address] 登入并使用un设备iscsiadm -m node -T [targetname] -p [ipaddress] -l 退出lu

CentOS安装ISCSI服务和运行

一:安装服务器: [[email protected] CD]# rpm -ivh scsi-target-utils-1.0.24-10.el6.x86_64.rpm warning: scsi-target-utils-1.0.24-10.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY error: Failed dependencies: libibverbs.so.1()(64bit) is nee

linux iSCSI target/initiator配置

linux iSCSI target配置全过程一:Install iSCSI target for Linux1,操作系统:[[email protected] ~]# cat /etc/issueEnterprise Linux Enterprise Linux AS release 4 (October Update 4)Kernel r on an m [[email protected] /]# uname -aLinux rac2.mycorpdomain.com 2.6.9-42.0

Chelsio T520 T4201启用TOE

cd ChelsioUwire-3.9.0.0 make toe_install rmmod csiostor cxgb4i cxgbit iw_cxgb4 chcr cxgb4vf cxgb4 libcxgbi libcxgb modprobe t4_tom cat /sys/kernel/debug/cxgb4/0000\:01\:00.4/tids #使用BUSY_POLL CONFIG_NET_RX_BUSY_POLL=y sysctl -w net.core.busy_read=<va