Scan For new LUNS

In Solaris the administrator has to update /kernel/drv/sd.conf file to tell the sd driver to scan for a broader range of scsi devices.
Can someone please tell me what file needs to be update in Redhat Linux 5 for the same.

Second part of the question is WWN for HBA's can be found (atleast in my situation) in /sys/class/fc_host/host*/port_name, but where can I find the WWN for the SP (Storage Processor) on SAN from which this server is drawing the LUNS from.

Thanks

As long as the driver for the HBA has been loaded, then you should not need to update anything further unless you are using multipath drivers.

For that, you should update the multipath configuration files according to how your vendor specifies they should be modified.

If you need to rescan for LUNs on an active machine, there are a few ways. One of which is to find the script (available for free online) rescan-scsi-bus.sh

Alternately you can echo '- - -' to /sys/class/scsi_host/host<num>/scan

echo '- - -' > /sys/class/scsi_host/host1/scan

but you should do this for all HBAs.

1 Like