Re: problem with iscsid and other Target
I have mistake ... > #sources #FreeBSD Target 192.168.0.2 > #FreeBSD Target 192.168.0.3 > ## then service ctld start > > #OpenBSD Initiator 192.168.0.3 > #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_ please help me...
problem with iscsid and other Target
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...
problem with iscsid and other Target
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...
Re: problem with iscsid
Allan Liblik allan at tarivara.ee writes: hi! I have problem with iscsid - can't connect to NAS4Free iSCSI target. There are - OpenBSD robert.vkhk.ee 5.2 GENERIC.MP#368 amd64 - NAS4Free 9.1.0.1 - Sandstorm (revision 573) In mid of 2012 I have discussed similar issue with another iscsid user. Setups been tried on 1: * initiator (iscsid) OpenBSD xxx 5.0 GENERIC#53 amd64 * target (FreeNAS) FreeBSD xxx 8.2-RELEASE-p9 #1 (istgtcontrol version 0.4 (20111008)) 2: * initiator (iscsid) OpenBSD xxx 5.2 GENERIC#298 amd64 * target (FreeNAS) FreeBSD xxx 8.2-RELEASE-p9 #1 (istgtcontrol version 0.4 (20111008)) On FreeNAS side log/messages was: Jul 19 09:19:32 freenas istgt[18173]: Login(discovery) from openbsd.mailserv (192.168.3.171) on (192.168.3.3:3260,1), ISID=801f363f3c1a, TSIH=5, CID=1356, HeaderDigest=off, DataDigest=off Jul 19 09:19:32 freenas istgt[18173]: Logout(discovery) from openbsd.mailserv (192.168.3.171) on (192.168.3.3:3260,1), ISID=801f363f3c1a, TSIH=5, CID=1356, HeaderDigest=off, DataDigest=off Jul 19 09:44:17 freenas istgt[18173]: Login(discovery) from openbsd.mailserv (192.168.3.171) on (192.168.3.3:3260,1), ISID=80d9d858cab2, TSIH=6, CID=4226, HeaderDigest=off, DataDigest=off Jul 19 09:44:17 freenas istgt[18173]: Logout(discovery) from openbsd.mailserv (192.168.3.171) on (192.168.3.3:3260,1), ISID=80d9d858cab2, TSIH=6, CID=4226, HeaderDigest=off, DataDigest=off Jul 19 09:46:56 freenas istgt[18173]: istgt_iscsi.c:2056:istgt_iscsi_op_login: ***ERROR*** SessionType is empty Jul 19 09:46:56 freenas istgt[18173]: istgt_iscsi.c:2033:istgt_iscsi_op_login: ***ERROR*** InitiatorName is empty Jul 19 09:46:56 freenas istgt[18173]: istgt_iscsi.c:3116:istgt_iscsi_op_scsi: ***ERROR*** before Full Feature Jul 19 09:46:56 freenas istgt[18173]: istgt_iscsi.c:4629:istgt_iscsi_execute: ***ERROR*** iscsi_op_scsi() failed Jul 19 09:46:56 freenas istgt[18173]: istgt_iscsi.c:5269:worker: ***ERROR*** iscsi_execute() failed on (openbsd.mailserv,i,0x802f2bdd1232) Cheers, Alexey