Could not perform SendTargets discovery

Status
Not open for further replies.

sgargel

Cadet
Joined
Oct 5, 2011
Messages
4
Hi all, thanks for the great job you doing with freenas!

I had a iscsi target with 2 device extents connected to a Win2k3 server (under virtualbox) with MS initiator and everything works fine.

I recently created a new device extent of 1TB, win2k3 recognized it and start the ntfs format (not fast mode). After some minutes all the iscsi drivers disappear and the initiator tells that is trying to reconnect the target.

After some "debug" i found that the iscsi service is no longer responding on the portal ip.

This is my network situation:

Code:
[root@freenas] ~# ifconfig 
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
	ether 14:da:e9:b7:f6:31
	inet 173.102.44.20 netmask 0xffffff00 broadcast 173.102.44.255
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
stge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether f4:6d:04:ab:2f:aa
	inet 192.168.100.100 netmask 0xffffff00 broadcast 192.168.100.255
	media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000 
	nd6 options=3<PERFORMNUD,ACCEPT_RTADV>


And this is the response by another machine running debian-linux (not a vm). Also here there is no response.

Code:
root@LNXVT09:~# iscsiadm -m discovery -t sendtargets -p 192.168.100.100
iscsiadm: cannot make connection to 192.168.100.100:3260 (113)
iscsiadm: connection to discovery address 192.168.100.100 failed
iscsiadm: cannot make connection to 192.168.100.100:3260 (113)
iscsiadm: connection to discovery address 192.168.100.100 failed
iscsiadm: cannot make connection to 192.168.100.100:3260 (113)
iscsiadm: connection to discovery address 192.168.100.100 failed
iscsiadm: cannot make connection to 192.168.100.100:3260 (113)
iscsiadm: connection to discovery address 192.168.100.100 failed
iscsiadm: cannot make connection to 192.168.100.100:3260 (113)
iscsiadm: connection to discovery address 192.168.100.100 failed
iscsiadm: connection login retries (reopen_max) 5 exceeded
iscsiadm: Could not perform SendTargets discovery.


The interface is no longer responding also to ping and tcpdump does not detect any incoming packet to the interface.

The only way to get it working again is to change the ip-address (not in the same subnet) of the iface, delete and configure a new portal (binding on the new ip address).

Any help is appreciated :cool:

EDIT: I can upload the wireshark dump if useful.
 

sgargel

Cadet
Joined
Oct 5, 2011
Messages
4
Update: I swapped the cable and configs between the interfaces... and seems to work :confused:

the situation now is:

Code:
[root@freenas] ~# ifconfig 
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
	ether 14:da:e9:b7:f6:31
	inet 192.168.98.100 netmask 0xffffff00 broadcast 192.168.98.255
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
stge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether f4:6d:04:ab:2f:aa
	inet 173.102.44.20 netmask 0xffffff00 broadcast 173.102.44.255
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000 
	nd6 options=3<PERFORMNUD,ACCEPT_RTADV>


the first difference seems the missing "flowcontrol,rxpause,txpause" ... may be there?
 

sgargel

Cadet
Joined
Oct 5, 2011
Messages
4
Update:
all problems seems related to the stge network card (Asus NX1101) working on 1000baseT. Apparently randomly the network card is going in a state that not rx any packet :confused: The card seems work bad also on linux, suffering the same issue!
 
Status
Not open for further replies.
Top