9 Jun
2005
9 Jun
'05
19:16
I have defined luns on a FC device. Is there a way to probe/reset the FC bus/controller to get the new devices? And, other than doing an ls,
Thanks eric
Assuming a recent kernel, try
echo "- - -" > /sys/class/scsi_host/host2/scan
And I think /var/log/messages will show the new lun.
I don't know what the "- - -" means, but you may be able to only scan specific HPAs.
FYI: The main way for userspace to communicate with HPA drivers is via sysfs (ie. /sys). sysfs is similar to /proc in that it does not actually exist on your disk. I tried the above suggestion, and that did not work. I ended up rebooting the system, which then allowed me to acces the newly create cibre channel luns.
Thanks eric