Hi Thomas, On Tue, 29 Oct 2013 17:40:50 +0100, Thomas Glanzmann wrote : > > When a TPG is configured in demo mode (generate_node_acls=1), there is > > no way to retrieve the list of initiators that are connected to the > > target. > > In the past I used these commands: > > RTSOS: > grep iqn /proc/iscsi_target/mib/sess_attr > > UPSTREAM: > > for i in /sys/kernel/config/target/iscsi/iqn*/tpgt*/acls/*/info; do echo "${i}:"; cat "${i}"; echo; done This only works with explicit node ACL. When generate_nodes_acls is set to 1, there is no ACL node and consequently no acls/$IQN/info entry. Best regards, -- Christophe Vu-Brugier -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html