From our investigation, we found that Ubuntu didn't add iscsi_ibft module automatically, but after I manually modprobe iscsi_ibft, the command has output as follows, but we still couldn't login iscsi disk and got kernel socket connect error. --> root@test:~# iscsiadm --mode fw # BEGIN RECORD 2.1.9 iface.initiatorname = iqn.1986-03.com.example:lql iface.transport_name = tcp iface.hwaddress = 0c:42:a1:ca:e7:e0 iface.bootproto = DHCP iface.ipaddress = 9.0.1.108 iface.prefix_len = 23 iface.subnet_mask = 255.255.254.0 iface.gateway = 9.0.0.2 iface.primary_dns = 9.0.0.1 iface.vlan_id = 0 iface.net_ifacename = ens4f0np0 node.name = iqn.1986-03.com.ibm:2145.v7000gen2.node2 node.conn[0].address = 9.0.0.22 node.conn[0].port = 3260 node.boot_lun = 00000000 # END RECORD root@test:~# <<--
From our investigation, we found that Ubuntu didn't add iscsi_ibft module automatically, but after I manually modprobe iscsi_ibft, the command has output as follows, but we still couldn't login iscsi disk and got kernel socket connect error. 03.com. example: lql _name = tcp 03.com. ibm:2145. v7000gen2. node2 0].address = 9.0.0.22
-->
root@test:~# iscsiadm --mode fw
# BEGIN RECORD 2.1.9
iface.initiatorname = iqn.1986-
iface.transport
iface.hwaddress = 0c:42:a1:ca:e7:e0
iface.bootproto = DHCP
iface.ipaddress = 9.0.1.108
iface.prefix_len = 23
iface.subnet_mask = 255.255.254.0
iface.gateway = 9.0.0.2
iface.primary_dns = 9.0.0.1
iface.vlan_id = 0
iface.net_ifacename = ens4f0np0
node.name = iqn.1986-
node.conn[
node.conn[0].port = 3260
node.boot_lun = 00000000
# END RECORD
root@test:~#
<<--