-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rescan_scsi_bus.sh: Why it's pointless to do a target scan on FC ? #20
Comments
Even though the rescan_scsi_bus.sh script is in sg3_utils, it is sourced from folks at Suse who asked me to "carry" it in sg3_utils. I have no experience with FC so I can't answer your question but did forward it on to some people who might be able to answer. If so I'll send a follow-up reply. |
Thanks a lot for your answer. |
…h lip lip is a FC operation and can be used to rescan device. While it can not specify the channel and target. So here add a new option make scan FC hosts according SCSI general interface which is /sys/class/scsi_host/hostX/scan. The default value of no_lip_scan is 0 which do not change the behavior default. Fix doug-gilbert#20 Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
lip is a FC operation and can be used to rescan device. While it can not specify the channel and target. So here add a new option make scan FC hosts according SCSI general interface which is /sys/class/scsi_host/hostX/scan. The default value of no_lip_scan is 0 which do not change the behavior default. Fix doug-gilbert#20 Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
@doug-gilbert I tested and found it's ok to scan FC device via channel and target ID. I submitted a PR which add an option to address it. |
lip is a FC operation and can be used to rescan device but it can not specify the channel and target. So add a new option to scan FC hosts according to the SCSI general interface in sysfs: /sys/class/scsi_host/hostX/scan. The default value of no_lip_scan is 0 which does not change the default behavior. Fix doug-gilbert/sg3_utils#20 cherry-pick of 5a1cdab ("rescan-scsi-bus.sh: add option --no-lip-scan") Signed-off-by: Wenchao Hao <haowenchao@huawei.com> git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@967 6180dd3e-e324-4e3e-922d-17de1ae2f315
lip is a FC operation and can be used to rescan device but it can not specify the channel and target. So add a new option to scan FC hosts according to the SCSI general interface in sysfs: /sys/class/scsi_host/hostX/scan. The default value of no_lip_scan is 0 which does not change the default behavior. Fix doug-gilbert/sg3_utils#20 Signed-off-by: Wenchao Hao <haowenchao@huawei.com> git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@967 6180dd3e-e324-4e3e-922d-17de1ae2f315
There is comment in rescan_scsi_bus.sh fo FC host which would make it unable to scan single LUN, but what is the reason?
Why do not do target scan on FC?
The text was updated successfully, but these errors were encountered: