Scsi-Bus scannen
Frank Roechter
frank at fhd.de
Mon Aug 23 18:08:56 CEST 1999
Martin Krueger wrote:
>
> Hallo
> Wie kann ich unter Linux den Scsi-Bus scannen,
> ohne auf den naechsten Systemstart zu warten?
>
> Gruss
> Martin
Siehe SCSI-Programming-HOWTO
evtl. zu finden unter /usr/doc/HOWTO/SCSI-Programming-HOWTO.gz
<--
4.3.1. Dynamically insert and remove SCSI devices
If a newer kernel and the /proc file system is running, a non-busy
device can be removed and installed 'on the fly'.
To remove a SCSI device:
echo "scsi remove-single-device a b c d" > /proc/scsi/scsi
and similar, to add a SCSI device, do
echo "scsi add-single-device a b c d" > /proc/scsi/scsi
where
a == hostadapter id (first one being 0)
b == SCSI channel on hostadapter (first one being 0)
c == ID
d == LUN (first one being 0)
-->
frank
--
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
More information about the Linux
mailing list