User Tools

Site Tools


rescan_scsi_bus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rescan_scsi_bus [2011/10/03 09:27]
root
rescan_scsi_bus [2011/10/03 11:50] (current)
root [Rescan SCSI/FC bus]
Line 1: Line 1:
-====== Rescan SCSI/FC bus ======+====== Rescan SCSI bus ======
  
 There is no need to reboot in order to rescan SCSI/FC bus There is no need to reboot in order to rescan SCSI/FC bus
Line 9: Line 9:
    for hosts in  /​sys/​class/​scsi_host/​*;​ do echo "- - -" > $hosts/scan ; done  ​    for hosts in  /​sys/​class/​scsi_host/​*;​ do echo "- - -" > $hosts/scan ; done  ​
  
-Rescan FC bus+====== ​Rescan FC bus ======
  
   echo "​1"​ > /​sys/​class/​fc_host/​host#/​issue_lip   echo "​1"​ > /​sys/​class/​fc_host/​host#/​issue_lip
Line 24: Line 24:
   # echo 1 > /​sys/​block/​sdb/​device/​rescan   # echo 1 > /​sys/​block/​sdb/​device/​rescan
  
-In case multipathing is beeing used, the command has to been issued on all devices. eg. sdc/sde etc. multipath -ll can be used to the devices.+In case multipathing is beeing used, the command has to been issued on all devices. eg. sdc/sde etc. multipath -ll can be used to list the devices.
rescan_scsi_bus.1317634078.txt.gz ยท Last modified: 2011/10/03 09:27 by root