Dynamically rediscover new devices on Linux
You can re-scan (re-probe) the SCSI/FC bus for new devices dynamically in Linux by selecting one of the following options.
- echo 1 > /sys/class/fc_host/host0/issue_lip
- echo 1 > /sys/class/fc_host/host1/issue_lip
- echo "- - -" > /sys/class/scsi_host/host0/scan
- echo "- - -" > /sys/class/scsi_host/host1/scan
You can also re-load the driver using modprobe:
# modprobe -r qla2300
# lsmod |grep qla
# modprobe qla2300
The following software is not supported or endorsed by Hitachi. See Disclaimer.
Lastly, you can also try the following GNU script from Kurt Garloff which automatically does Option 1, as well as other commands.
These software links are provided AS IS, with no warranty of any kind. Neither Hitachi Vantara (Hitachi) nor Hitachi Ltd. warrants or represents the content of this software. Hitachi and Hitachi Ltd. disclaim all express and implied warranties, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. You are wholly responsible for your use of these links and the results of such use. Neither Hitachi nor Hitachi Ltd. shall be liable for any damages, direct, indirect, incidental, special, consequential or otherwise for the information, your use of the information or the result of such use.