I have two servers connected via point-to-point Fibre Channel (QLogic cards). The file server is running FreeBSD and has the iSCSI Target The other is running Debian and is the Initiator. The target from the fileserver shows up as /dev/sdb on the Debian server.
Everything works fine except that if I reboot the fileserver, the Debian server loses the connection.
I can force it to rescan by issuing the command
echo 1 > /sys/class/fc_host/host1/issue_lip
But then it shows up as /dev/sdc
Is there a better way to restore the mount?