Scenario: - The server exports multiple iscsi targets (mapped to zvols) - The client has a configuration file with nicknames for these targets - Doing... # iscsictl -A -n target1 # iscsictl -A -n target2 # iscsictl -L Target name Target portal State iqn.1995-06.server:target1 server Connected: da0 iqn.1995-06.server:target2 server Connected: da1 # iscsictl -R -n target2 # iscsictl -L Target name Target portal State # ... removes all sessions instead of just the one for "target2".
This should be fixed in 10-STABLE, as r274546. Could you upgrade and see if it's fixed? Thanks!
I backported r274546 to releng/10.1 and can confirm that the issue is fixed. Thank you! -- Martin