Re: How to rescan scsi bus

Trevor Johnson (
Tue, 28 Jul 1998 01:33:06 -0400 (EDT)

Xia Hao wrote:

> Hi there,
> i need to add a few scsi disks on a production system and i don't wish
> to take it down. is there any magic in /proc/scsi that i can use to
> rescan the scsi bus? i'm not on the list so please reply to me
> personally.

This should be in the FAQ. The text below is from drivers/scsi/scsi.c.

* Usage: echo "scsi add-single-device 0 1 2 3" >/proc/scsi/scsi
* with "0 1 2 3" replaced by your "Host Channel Id Lun".
* Consider this feature BETA.
* CAUTION: This is not for hotplugging your peripherals. As
* SCSI was not designed for this you could damage your
* hardware !
* However perhaps it is legal to switch on an
* already connected device. It is perhaps not
* guaranteed this device doesn't corrupt an ongoing data transfer.

For a typical discussion of this topic, see
Trevor Johnson

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at