so to clarify, the solution for removing, adding, and spinning up a scsi
disk drive is:
echo "scsi remove-single-device a b c d" >/proc/scsi/scsi
echo "scsi add-single-device a b c d " >/proc/scsi/scsi
in line 2, the space after the d is important due to a bug
where:
a is Host No (usually 0)
b is Channel (usually 0 or 1)
c is Device Id
d is LUN (usually 0)
could jakob add this in to the howto in the hotswapping section?
--
stephen waters
amicus, inc.
Lance Robinson wrote:
>
> OOPS! I copied the first echo line, but didn't edit it.
>
> > Lance Robinson wrote:
> > >
> > > You should first use:
> > > echo "scsi remove-single-device a b c d" >/proc/scsi/scsi
> > > then use:
> > > echo "scsi remove-single-device a b c d " >/proc/scsi/scsi
>
> The second echo should be add-single-device....
> After a device is removed, an add will cause it to spin-up.
>
> >
> > I have no problem with remove. My problem is about getting my disk to
> > spin up again after insertion. But thanks anyway.
> > <tomas/>
> >