Re: Any other ways to trigger new LUN discovery?

2017-02-20 Thread Gorka Eguileor
On 19/02, wangxu198...@gmail.com wrote: > Hi Gorka > > I did a general search of AEN/AER, looks like they had been > obsoleted: > http://www.santrainingblog.com/2010/04/asynchronous-event-notification-aen/ > > Notice that AEN/AER was removed in sam3 (scsi architectural model 3, > sam3r14

Re: Any other ways to trigger new LUN discovery?

2017-02-19 Thread wangxu198709
Hi Gorka I did a general search of AEN/AER, looks like they had been obsoleted: http://www.santrainingblog.com/2010/04/asynchronous-event-notification-aen/ Notice that AEN/AER was removed in sam3 (scsi architectural model 3, sam3r14 release in 2004/09/21). Current sam4 (sam4r14) and last

Re: Any other ways to trigger new LUN discovery?

2017-02-17 Thread Gorka Eguileor
On 17/02, wangxu198...@gmail.com wrote: > Hi Gorka > > Definitely, the "AEN/AER" approach deserves a try, I will let you know if > it's applicable for my situation. > > For the sysfs way, do you mean echo a command to the host like below: > > echo "c t l" > "/sys/class/scsi_host/host#/scan" >

Re: Any other ways to trigger new LUN discovery?

2017-02-17 Thread wangxu198709
Hi Gorka Definitely, the "AEN/AER" approach deserves a try, I will let you know if it's applicable for my situation. For the sysfs way, do you mean echo a command to the host like below: echo "c t l" > "/sys/class/scsi_host/host#/scan" Thanks Peter 在 2017年2月15日星期三 UTC+8下午11:52:19,Gorka

Re: Any other ways to trigger new LUN discovery?

2017-02-15 Thread Peter Wang
No, Can you give a example of how to use this parameter? I my case, I got a target information (target IP, iqn, and lun id), and need to get it's local host path via "scan" Thanks Peter On Thu, Feb 16, 2017 at 12:06 AM, Bart Van Assche < bart.vanass...@sandisk.com> wrote: > On 02/15/2017 06:48

Re: Any other ways to trigger new LUN discovery?

2017-02-15 Thread Bart Van Assche
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 >

Re: Any other ways to trigger new LUN discovery?

2017-02-15 Thread Gorka Eguileor
On 15/02, Peter Wang wrote: > Hi > > 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

Any other ways to trigger new LUN discovery?

2017-02-15 Thread Peter Wang
Hi 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