thx, it helped me to find the discovered lun On Tuesday, October 5, 2010 8:08:47 AM UTC-4, Rahsaan Page wrote: > > Thank You Mike, > > This is very appreciated.... > > Sent from my HTC on the Now Network from Sprint! > > ----- Reply message ----- > From: "Mike Christie" <mich...@cs.wisc.edu <javascript:>> > Date: Mon, Oct 4, 2010 5:00 pm > Subject: Adding New ISCSI LUN to Target, How does client iSCSI initiator > access new Lun > To: <open-...@googlegroups.com <javascript:>> > Cc: "Rahsaan Page" <rahsaa...@gmail.com <javascript:>> > > > 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 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.