"gili gili" <[EMAIL PROTECTED]> writes:

> Hi list...
> 
> I'm connected to an external storage machine  (like EMC). When I allocate
> new disk I need to unload and load my FC  (fiberchannel card) card
> (Emulex or Qlogic) module.
> 
> Rescan_scsi_bus isn't working also...
> 
> If I do
> # echo "scsi add-single-device 6 0 0 2 " > /proc/scsi/scsi
> when "6 0 0 2" is not "set" on the machine. after the module is
> reloaded I can see that disk... (Host: scsi6 Channel: 00 Id: 00 Lun:
> 02)
> 
> then I get nothing, but if I do
> # echo "scsi remove-single-device 6 0 0 1 " > /proc/scsi/scsi
> when the "6 0 0 1" is aworking device...
> (Host: scsi6 Channel: 00 Id: 00 Lun: 01)
> and then
> # echo "scsi add-single-device 6 0 0 1 " > /proc/scsi/scsi
> so I can add it...
> I can see this is working (just to see that this method of adding devices is
> working)?
> Is there a way to scan the scsi ports without unloading the FC card
> module?

What version of the kernel? What driver?

Assuming QLogic (and depending on the kernel version), try

echo scsi-qlascan > /proc/scsi/qla2xxx/<host#>

before "add-single-device"?

-- 
Oleg Goldshmidt | [EMAIL PROTECTED] | http://www.goldshmidt.org

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to