Scan for disks in fiber channel adapters (hba,qlogic)

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

Leave a Reply

Your email address will not be published. Required fields are marked *