ProLiant Servers (ML,DL,SL)
1753464 Members
4699 Online
108794 Solutions
New Discussion

rescanning FC LUNs ( RH ES Linux 2.1, qlogic)

 
Morten Lange
Occasional Advisor

rescanning FC LUNs ( RH ES Linux 2.1, qlogic)

Hi

I hope therea are any FC-linux experts her

I run some boxes with qlogic fibrechannel hostbus adapters (HBAs ), and they seem to work well, except I can't find a way to find new
devices without rebooting.
I've tried the trick about poking into proc, but to no avail :

echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi

with the numbers replaced accordingly. ( host, channel Id, lun)

This did work in roughly the same environment on an cpqfc HBA , but qla2300 refuses to see anything new until after a reboot ( rmmod and modprobe might have done the trick also, but at the moment I don´t have the opurtunity to run it as a module.

I´ll gladly provide more info, if that can help.

Best Regards,
Morten


[root@orappt init.d]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: OPEN-E-CVS Rev: 2103
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: HP Model: OPEN-E*5 Rev: 2103
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 02
Vendor: HP Model: OPEN-E*3 Rev: 2103
Type: Direct-Access ANSI SCSI revision: 02
[root@orappt init.d]#


# cat /proc/scsi/qla2300/0
QLogic PCI to Fibre Channel Host Adapter for ISP23xx:
Firmware version: 3.01.18, Driver version 6.04.01
Entry address = f8836060
HBA: QLA2312 , Serial# L26
Its a _N_Iceland