[plug] SCSI device rescan...
Trevor Phillips
phillips at central.murdoch.edu.au
Mon Aug 21 09:13:45 WST 2000
"Scott, Simon" wrote:
>
> From http://www.uwsg.iu.edu/hypermail/linux/kernel/9706.2/0267.html
>
> > If I plug a new diskdrive into a scsicontroller on a live system, how
> > do I get the drive to be identified (as /dev/sdx or such) without
> > rebooting the bloody box ?
>
> echo "scsi add-single-device 0 0 1 0" > /proc/scsi/scsi
>
> will reprobe Card 0, Channel 0, Device 1, Lun 0, and add it if it is
> found.
Yeah, I found a nice-ish shell script off a site which does this all for you
(without needing to know settings). Works quite well!
--
. Trevor Phillips - http://jurai.murdoch.edu.au/ .
: CWIS Systems Administrator - T.Phillips at murdoch.edu.au :
| IT Services - Murdoch University |
>------------------- Member of the #SAS# & #CFC# --------------------<
| On nights such as this, evil deeds are done. And good deeds, of /
| course. But mostly evil, on the whole. /
\ -- (Terry Pratchett, Wyrd Sisters) /
More information about the plug
mailing list