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
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
I have no problem with remove. My problem is about getting my disk to
spin up again after insertion. But thanks
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
Tomas Fasth [EMAIL PROTECTED] wrote:
problem is that the newly inserted disk never get ordered to spin up.
Something that could be done (which used to be done in the scsi-idle
patch) was to detect NOT READY, POWER UP COMMAND REQUIRED (0x2 0x2A
or something like this) sense and to send a
I think the issue here is that the kernel doesn't know you have added
a disk so you need to tell it. To do that you use the following command
echo "scsi add-single-disk a b c d"/proc/scsi/scsi
a is Host No (usually 0)
b is Channel (usually 0 or 1)
c is Device Id
d is LUN (usually 0)
with the
Brian Murphy wrote:
echo "scsi add-single-disk a b c d"/proc/scsi/scsi
Yes, I already use this as part of the procedure of replacing faulty
drives. It doesn't spin up the disk for me though.
This works with my hot plug setup to spin up and make the device
accessible to the system.
Hm, not
As brian said you have to use echo "scsi add-single-disk a b c
d"/proc/scsi/scsi to insert
the new disque. Then I used scsi-start coming in the rpm scsi-idle to spin
up the disk.
(You don't need to patch the kernel with the scsi-idle stuff to have it work)
I've never tried the solution
- Original Message -
From: Tomas Fasth [EMAIL PROTECTED]
To: Brian Murphy [EMAIL PROTECTED]
Cc: Linux Raid List [EMAIL PROTECTED]
Sent: Monday, October 04, 1999 5:16 AM
Subject: Re: How do I spin up a SCSI disk after being hot swapped?
Brian Murphy wrote:
echo "scsi add-single
Hi.
I'm one of the many satisfied new RAID patch/toolchain users. I use
the aic7xxx driver for the Adaptec chipset, which are both onboard
and offboard. It works great.
I have an issue though, about spinning up a SCSI disk after replacing
a faulty one using hot swap. I know the drive can be