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+...@googlegroups.com.
To post to this group, send email to open-...@googlegroups.com.
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.