Summary: | iscsi initiator does not provide devices after reconnection | ||
---|---|---|---|
Product: | Base System | Reporter: | info |
Component: | kern | Assignee: | freebsd-scsi (Nobody) <scsi> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | ben.rubson, i.dani, trasz |
Priority: | --- | ||
Version: | 11.3-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
info
2019-12-13 11:08:47 UTC
Do you use jumbo frames ? Could be lack of mbuf_jumbo_9k (vmstat -z should tell you). If so, a workaround is to decrease the MTU until 9K mbufs are not more used. On my systems it gives a 4072 bytes MTU. Of course it's just a workaround, as decreasing MTU increases overhead... (In reply to Ben RUBSON from comment #1) no, we do not use jumbo frames: [root@xxx:~] # ifconfig | grep mtu ix0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ix1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 enc0: flags=0<> metric 0 mtu 1536 pfsync0: flags=0<> metric 0 mtu 1500 pflog0: flags=0<> metric 0 mtu 33160 lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 lagg0.10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 lagg0.800: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 [root@xxx:~] # vmstat -z | grep mbuf_jumbo_9k mbuf_jumbo_9k: 9216, 2420071, 0, 0, 0, 0, 0 A commit references this bug: Author: meta Date: Wed Jan 15 04:30:48 UTC 2020 New revision: 523079 URL: https://svnweb.freebsd.org/changeset/ports/523079 Log: sysutils/getssl: Update to 2.14 2.14 * Rebased master onto APIv2 and added Content-Type: application/jose+json PR: 242621 Submitted by: sanpei Approved by: maintainer timeout Changes: head/sysutils/getssl/Makefile head/sysutils/getssl/distinfo Can you enable debug messages (sysctl kern.iscsi.debug=10) and paste dmesg from when it happens? Also, instead of rebooting, can you instead try 'iscsictl -M -e off' and then 'iscsictl -M -e on'? (In reply to Edward Tomasz Napierala from comment #4) we still have issues with this under 12.3-RELEASE-p1. meanwhile i came across such a situation again and have some more information now: when this situation occurs 'iscsictl -M -e off' and then 'iscsictl -M -e on' does not help at all. even a normal `shutdown -r now` is at one point of the shutdown routine not progressing anymore and somehow waiting for iscsi devices. so we are forced to reset the server at this stage. |