User Tools

Site Tools


rescan_scsi_bus

This is an old revision of the document!


Rescan bus

There is no need to reboot in order to rescan SCSI/FC bus

Rescan SCSI bus

echo "- - -" > /sys/class/scsi_host/host<#>/scan

If many hosts exists take them in one go:

 for hosts in  /sys/class/scsi_host/*; do echo "- - -" > $hosts/scan ; done  

Rescan FC bus

echo "1" > /sys/class/fc_host/host#/issue_lip

If several hosts exists take them in one go:

for hosts in /sys/class/fc_host/*; do echo "1" > $hosts/issue_lip; done
rescan_scsi_bus.1306933116.txt.gz · Last modified: 2011/10/03 09:27 (external edit)