ls /sys/class/fc_host | while read h ; do echo "1" > /sys/class/fc_host/$h/issue_lip ; echo "- - -" > /sys/class/scsi_host/$h/scan done