On 05/28/2015 02:55 PM, Christian Seiler wrote: > Trying again, since google groups thought my response was spam > (twice)... (Explicitly putting you on Cc so at least you get my message.) > > On 28.05.2015 20:56, Mike Christie wrote: >> On 05/26/2015 04:14 PM, Christian Seiler wrote: >>> Final question regarding that matter: >> >> Sorry, I originally read this mail with my phone and missed the >> questions below. > > No worries. > >>> Is that possible? (I'm basically looking for the equivalent of >>> udevadm settle for iSCSI sessions.) >> >> Currently, you have to script it, > > Yes, I figured. But instead of using iscsiadm, I wrote up the > following check: > > cat /sys/class/iscsi_session/session*/state 2>/dev/null \ > | grep -qv LOGGED_IN > > If that succeeds, all sessions (if any) are properly up. Unless you have > any objections, I'm going to stick to that. >
That is fine. The iscsiadm command just reads that sysfs file and prints it, so same thing. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.