iSCSI target stuck reconnecting after server reboots

EDIT:

Ok, so event 113 is KB972107, which is a fairly generic class of problems, but the "...network stack is not fully prepared" caught my attention. Then we see the more interesting event 103.

See this experts-exchange post with a similar issue...

If I attach them while the server si running, everything appears to function correctly, but if I reboot, I the server will usually hang after login and the drives either slowly appear or not at all.

...and solution which points to the following KB Article.


Without any further information, my hunch is that the connection is not being gracefully terminated when the initiator is rebooted. This leaves the connection in an inconsistent state on the target device. When your initiator tries to reconnect, the target still believes the original session is active and the connection hangs, either because one side is simply confused, or because you have a limit set on the number of sessions per initiator.

Go ahead and try this again, watching the state of the connection on the remote server. If my hunch is correct, you'll see the session still active on the NAS side. This could be an issue with your server not terminating the session quickly enough before it's forcibly disconnected, or it could be the result of a very long session timeout on the NAS.