I had the same problem, when the iscsi target is taken down (hard power-off) two problems arise:
1) iscontrol tries to reconnect forever - any i/o hangs, so zfs defaults to wait forever
2) iscontrol is notified "trapped signal 30" but only after 60 sec wait
I tried to tackle both:
1) has been solved for now by setting the trap SIGUSR1 to SESS_DISCONNECT.
2) can be done but needs some futher adjustment of the source, quoting Danny Braniss now:
..look in the iscsi_target for a sleep(...), and once you find the correct one,
you could reduce the 60Hz - i think - time out. Hopefuly, the new version of iscontrol
will have an option/signal to stop trying to reconnect..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.