hi! I use the OpennBSD 6.4 and FreeBSD 12. recently, I tried OpenBSD iscsid with FreeBSD ctld. These are gave me a good perfomance for HDD with ffs & ntfs directry in use! But, I get the ANY Problem with iscsid and ctld.
#problem 1. iscsid didn't have "chap auth" connection. 2. iscsid lost the connection with any "big data transportation". "dd" "mv" "cp" "mkntfs" "newfs" 3. almost zfs iscsi target lost the connection with any data transportation. "dd" "mkntfs" "newfs" problem 2 and 3 get the error on FreeBSD with hungup the process on OpenBSD. I tried "pkill iscsid": Any time stop the process safely. but, other time crash the OpenBSD!!! I don't use the firewall(pf and ipf). #sources #FreeBSD Target 192.168.0.3 # cat <<_EOF_> /etc/ctl.conf portal-group pg0 { discovery-auth-group no-authentication listen 0.0.0.0 #listen [::] } target "iqn.1998-11.com.example:target0" { auth-group no-authentication portal-group pg0 lun 0 { path "/dev/ada0" #problem 2 ## cleared the data, before using: ## dd if=/dev/zero of=/dev/ada0 bs=32k #path "/dev/zvol/zpool/zvolume/array_lun0" #problem 3 ## zfs creation was almost no problem... ## dd if=/dev/zero of=/dev/ada0 bs=32k ## zpool create zpool /dev/ada0 ## zfs create zpool/zvolume ## zfs create -V 100G zpool/zvolume/array_lun0 } } _EOF_ ## then service ctld start #OpenBSD Initiator 192.168.0.2 # cat <<_EOF_> /etc/iscsi.conf target "array" { targetaddr 192.168.0.2 targetname "iqn.2019-01.com.example:target0" initiatoraddr 192.168.0.3 initiatorname "iqn.1995-11.org.openbsd.iscsid:initiat0" } _EOF_ ## then rcctl -f iscsid start; iscsictl reload; #ERRORS WARNING: 192.168.0.3 (iqn.1995-11.org.openbsd.iscsid:initiat0): waiting for CTL to terminate 1 tasks WARNING: 192.168.0.3 (iqn.1995-11.org.openbsd.iscsid:initiat0): received PDU with CmdSN 3817501623, while expected 3817501624 WARNING: 192.168.0.3 (iqn.1995-11.org.openbsd.iscsid:initiat0): tasks terminated WARNING: 192.168.0.3 (iqn.1995-11.org.openbsd.iscsid:initiat0): no ping reply (NOP-Out) after 5 seconds; dropping connection WARNING: 192.168.0.3 (iqn.1995-11.org.openbsd.iscsid:initiat0): received PDU with CmdSN 3817501624, while expected 3817501625 WARNING: 192.168.0.3 (iqn.1995-11.org.openbsd.iscsid:initiat0): no ping reply (NOP-Out) after 5 seconds; dropping connection . . . ENDLESS I want to get the good idea... please help me...