On 02/15/2017 06:48 AM, Peter Wang wrote: > I am investing new ways to discover LUN exposed by iSCSI targets. > > Currently, most of tools/libs are using user land shell commands > "iscsiadm" to login targets or rescan new LUNs. > sometimes, as I observed, the rescan is time-consuming. in > high-concurrency environment, the overhead by executing massive shell > commands cannot be ignored. > > So, my question is: can we use socket or other efficient ways to trigger > actions that we do with "iscsiadm"?
Are you familiar with the "scan" parameter of scsi_mod? See also https://www.spinics.net/lists/linux-scsi/msg95224.html. Bart. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
