Re: Urgent: how to rescan SCSI channel for new drives?
Nico De Ranter <email@example.com> writes:
> is it possible to add a scsi drive to a Linux system without
> having to reboot the machine i.o.w. is there a way to rescan
> the scsi bus (cfr "drvconfig; disks" on Solaris) ?
In testing or unstable, you can:
apt-get install scsiadd
For example, to add my CD-ROM, I do:
scsiadd -a 1 0 2 0
These numbers are host (bus) 1, channel=0, id=2, lun=0. For your
typical device, channels and luns are 0, the host is the SCSI bus
(typically 0, unless you have more than one SCSI card), and the id
is what you've set the switch or jumpers on the device to.
Bill Wohler <firstname.lastname@example.org> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and mh-e. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.