[2684] in linux-scsi channel archive
Re: connecting SCSI disk after boot
daemon@ATHENA.MIT.EDU (Kurt Garloff)
Sun Oct 26 18:45:09 1997
Date: Mon, 27 Oct 1997 00:11:34 +0100 (CET)
From: Kurt Garloff <garloff@kg1.ping.de>
To: Radek Doulik <doulik@karlin.mff.cuni.cz>
cc: Linux SCSI list <linux-scsi@vger.rutgers.edu>
In-Reply-To: <199710251929.VAA20960@csmat.karlin.mff.cuni.cz>
On Sat, 25 Oct 1997, Radek Doulik wrote:
>
> Hi all !
>
> Is it possible to connect scsi disk to a running linux, tell him somehow,
> ^^^^^^^
> that there is a new disk, to be able to mount it ?
If you got your root partition on an IDE disk or connected to another
SCSI Hostadapter (SHA) you can load your SCSI driver as a module. Unload
your driver (go to single user mode (telinit S), unmount all SCSI
partitions connected to your SHA, unload the SHA driver (rmmod) and
the SCSI modules.) and reload all. Now remount everything and return
to multiuser mode (telinit 2).
Beware that the assignment of sda/b/c/d etc. can change when there is a
new SCSI device with a SCSI ID smaller than the last one before
installing it.).
There might be another solution, I just don't know about. If the ID is
larger than the one of the last mounted device, it should be possible (in
priciple) to get the SCSI bus resetted and the new device to be
discovered. I don't know, if the hogher level SCSI drivers (sg,sd,sr ...)
will get knowledge of the new device this way.
Kurt Garloff, Dortmund
<K.Garloff@ping.de>