Ben RUBSON
2016-08-10 17:13:25 UTC
Hello,
I have some difficulties to make iSER (FreeBSD 11 BETA3) working.
### My configuration :
2 servers with Mellanox ConnectX-3 NICs.
### What I did :
I rebuilt kernel adding the following to GENERIC :
options OFED
device mlxen
options COMPAT_LINUXKPI
I built iser :
cd /usr/src/sys/modules/iser/ ; make ; make install ; kldload iser
(I saw later-on that I could have used "device iser" in kernel configuration)
My /etc/ctl.conf :
portal-group pg0 {
discovery-auth-group no-authentication
listen 192.168.2.2
offload iser
}
target iqn.2012-06.com.test:target1 {
auth-group no-authentication
portal-group pg0
alias my-iser-disk
lun 0 {
path /dev/da8
}
}
### Error :
As soon as I do the following :
iscsictl -A -r -t iqn.2012-06.com.test:target1 -p 192.168.2.2
I get this error :
iscsid[1187]: 192.168.2.2 (iqn.2012-06.com.test:target1): failed to connect to 192.168.2.2 using ICL kernel proxy: ISCSIDCONNECT: Invalid argument
iscsid[655]: child process 1187 terminated with exit status 1
"sysctl hw.mlxen1.stat.tx_packets" on initiator shows that no packet is sent at all when trying to connect.
Did I miss something ?
Many thanks !
Ben
I have some difficulties to make iSER (FreeBSD 11 BETA3) working.
### My configuration :
2 servers with Mellanox ConnectX-3 NICs.
### What I did :
I rebuilt kernel adding the following to GENERIC :
options OFED
device mlxen
options COMPAT_LINUXKPI
I built iser :
cd /usr/src/sys/modules/iser/ ; make ; make install ; kldload iser
(I saw later-on that I could have used "device iser" in kernel configuration)
My /etc/ctl.conf :
portal-group pg0 {
discovery-auth-group no-authentication
listen 192.168.2.2
offload iser
}
target iqn.2012-06.com.test:target1 {
auth-group no-authentication
portal-group pg0
alias my-iser-disk
lun 0 {
path /dev/da8
}
}
### Error :
As soon as I do the following :
iscsictl -A -r -t iqn.2012-06.com.test:target1 -p 192.168.2.2
I get this error :
iscsid[1187]: 192.168.2.2 (iqn.2012-06.com.test:target1): failed to connect to 192.168.2.2 using ICL kernel proxy: ISCSIDCONNECT: Invalid argument
iscsid[655]: child process 1187 terminated with exit status 1
"sysctl hw.mlxen1.stat.tx_packets" on initiator shows that no packet is sent at all when trying to connect.
Did I miss something ?
Many thanks !
Ben