Skip to main content
Outside service Partner
Hitachi Vantara Knowledge

Dynamically Rediscover New Devices on Linux

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.

 

Option 1

ls /sys/class/scsi_host

  1. echo 1 > /sys/class/fc_host/host0/issue_lip
  2. echo 1 > /sys/class/fc_host/host1/issue_lip
  3. echo "- - -" > /sys/class/scsi_host/host0/scan
  4. echo "- - -" > /sys/class/scsi_host/host1/scan

 

Option 2

You can also re-load the driver using modprobe:

 

# modprobe -r qla2300
# lsmod |grep qla
# modprobe qla2300

 

 

Option 3

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.

Disclaimer

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.