From: Stefan Schluppeck (sschluppeck_at_hbv.de)
Date: Wed Jan 26 2005 - 08:47:44 CET
Message-ID: <41F74B20.8000907@hbv.de> Date: Wed, 26 Jan 2005 08:47:44 +0100 From: Stefan Schluppeck <sschluppeck@hbv.de> Subject: Re: [suse-sles-e] Qlogic Host Bus Adapters
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
this is from the source-code driver readme:
- ---schnipp---
8.5 Hot Add new LUNs
- --------------------
This version supports hot adding new luns, etc. Please see text below on how
to perform the lun hot add procedure. The latest driver-v7.00.60-fo has the
mechanism which allows the user to force the driver to do re-scan of the
devices to allow a new device to be added. This triggers the driver to
initiate lun discovery process.
To do this from the command line:
#echo "scsi-qlascan" > /proc/scsi/<driver-name>/<adapter-id> (qlogic
driver will re-scan)
Where <driver-name> can be either one : qla2100/qla2200/qla2300 <adapter-id>
~ is the instance number of the HBA.
Once that has been done , user then can force the scsi mid layer to do
its own scan
and build the device table entry for the new device:
# echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
(scsi mid layer will re-scan) with "0 1 2 3"
replaced by your "Host Channel Id Lun". The scanning has to be done in
the above mentioned order.
First the driver (qla2300/qla2200 driver etc) and then the Linux scsi
mid layer.
- ---schnipp---
You take a look into "dmesg | less" and search for the information about
"Host Channel Id Lun", the Lun you have to know, from the Storage
Administrator.
echo "scsi-qlascan" > /proc/scsi/qla2200/1
echo "scsi-qlascan" > /proc/scsi/qla2200/2
echo "scsi add-single-device 1 0 0 6" >/proc/scsi/scsi
than take a look into "cat /proc/partions" if the pation is not there
you can do a "partprobe" (man partprobe).
- --
Mit freundlichen Grüßen / With regards
Stefan Schluppeck
Bauer Publishinggroup - Brieffach 6200 - Burchard.11 - D-20077 Hamburg
Publishing Support Center - Server & Development - Stefan Schluppeck
Fon:+49-40-3019-5519 - Fax:+49-40-3019-5668 - eMail:sschluppeck@hbv.de
~ <°)))))>< ><)))))°> <°)))))>< ><)))))°> <°)))))>< ><)))))°>
PGP-Fingerabdruck = 7DC1 E4B4 056C 5380 8C68 4B5F 5E87 227D 5632 E45F
Key-ID = 81B7CD29
frank.hornung@stihl.de wrote:
| Hy,
|
| i have a question concerning Qlogic Fibre-Channel-Adapters.
|
| Let's assume that the qla2300 kernel module is loaded and one disk (e.g
| /dev/sda) is accessed via this driver.
| When i map another disk to the machine it is not recognized by Linux
| automatically.
| I have to rmmod and insmod the module to see the new harddisk (/dev/sdb)
|
| This works, but is a problem if /dev/sda is the drive containing my
mounted
| Root-FS.
| In this case i have to do a reboot to access the new disk...
|
| Is there any possibility to "rescan" the fibre-adapter and use the new
disk
| without doing a restart?
|
| Thanks in advance
|
| 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
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB90sfXocifVYy5F8RAqtmAKCWn04xoQBh2CUSCkxY/ZfU6PQozQCgqo5P
p7+JNgKZm0sxFrgx6sInB38=
=m4p0
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
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 - 08:48:09 CET