Re: [suse-sles-e] Qlogic Host Bus Adapters

frank.hornung_at_stihl.de
Date: Wed Jan 26 2005 - 17:18:02 CET


Message-ID: <098DC734CC21D411B9EF0000F646424A02F1667C@sv013338.de.stihl.net>
From: frank.hornung@stihl.de
Date: Wed, 26 Jan 2005 17:18:02 +0100
Subject: Re: [suse-sles-e] Qlogic Host Bus Adapters

Hy all,

thanks for your answers, i tried your suggestions.
This is how it works for Suse Prof 8.2 / SLES 8 SP3 / SLES 9 SP1.

For some reason i had to run the SANsurfer FC HBA Manager for Linux (32bit)
(you can get it from qlogic's website) before any LUN's (new SAN-Disks)
could be detected at runtime.
SANsurfer ask for a initial configuration for each adapter.

then type
        echo "scsi-qlascan" > /proc/scsi/qla2xxx/0
to rescan the fibrechannel bus.
(at Suse 8.2 and SLES 8 the directory name is qla2300 instead qla2xxx)

now the Qlogic Adapter has recogniced the new disks which can be verified
with

        cat /proc/scsi/qla2xxx/0

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.
( 0: 0): Total reqs 0, Pending reqs 0, flags 0x0*, 0:0:81 00

-> the last line indicates the new disk found

next step is to make the disks visible to the OS (scsi-layer)
q20ap1:/proc/scsi # echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi

the last step can also be accomplished by using /bin/rescan-scsi-bus.sh
script which is shipped with the "scsi" RPM-Package.
-> it only detects all new disks with additional command-line parameters
(e.g. -l -w -c)

all disks should now be visible, for example by typing

cat /proc/partitions

regards
Frank

Dieses E-Mail ist vertraulich. Wenn Sie nicht der rechtmaessige Empfaenger
sind, duerfen Sie den Inhalt weder kopieren, verbreiten oder benutzen.
Sollten Sie dieses E-Mail versehentlich erhalten haben, senden Sie es bitte
an uns zurueck und loeschen es anschliessend.
This E-Mail is confidential. If you are not the intended recipient, you must
not copy, disclose or use its contents. If you have received it in error,
please inform us immediately by return E-Mail and delete the document.
Esta mensagem, e qualquer de seus anexos, eh confidencial e privilegiada.
Caso voce nao seja o destinatario, nao esta autorizado a reproduzir ou
divulgar a terceiros o conteudo desta mensagem e de qualquer anexo da mesma
e deve apagar com os seus respectivos anexos.

---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com



This archive was generated by hypermail 2.1.7 : Wed Jan 26 2005 - 17:18:33 CET