The iscsiadm rescan command will not disrupt mounted LUNs. All it does it 
discovery new LUNs.

If you did something like remap LUNs then you would have other issues. iscsiadm 
rescan does not handle that.


On Jul 3, 2014, at 9:25 AM, [email protected] wrote:

> Mike,
> This help me to discover the new LUNs, I have one question, I am running a 
> cluster services, I did the rescan from the standby node, I need to run it 
> also on the active nodes, but first I want to know if running the rescan will 
> affect the mounted LUNs and/or the active cluster services?
> 
> Thanks,
> 
> On Monday, October 4, 2010 5:00:36 PM UTC-4, Mike Christie wrote:
> On 10/03/2010 02:08 PM, Rahsaan Page wrote:
> > Hello All,
> >
> > I have a question, when you add a new lun to iscsi target, if client
> > iSCSI initiator is already logged in to target, do i have to restart
> > the client iSCSI initiator for it to see the new lun? how can i make
> > client iSCSI initiator see new lun with out restarting iSCSI initiator
> > and losing connection to current Target and Lun's?
> >
> If you use a target that sends the iscsi async pdu with 
> REPORT_LUNS_DATA_CHANGED then the new luns should be added automatically 
> for you (deleted luns are not removed though and need to be manually 
> deleted).
> 
> If it is not getting automatically added then you need to run either
> 
> //rescan all sessions for new luns
> iscsiadm -m session --rescan
> // rescan specific session
> iscsiadm -m session -R $SID --rescan
> (see the README for other variants)
> 
> This commands only add new luns. If you want something that adds and 
> deletes luns then use the rescan-bus.sh script in the sg utils.
> 
> 
> 
> 
> 
> -- 
> 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 http://groups.google.com/group/open-iscsi.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to