Re: How do I get /dev/sdb1 back without rebooting?



Dances With Crows wrote:

If I boot my machine with the CD-ROM burner turned off, it does not
appear at all. And turning it on at that point does nothing.

SCSI is easy.

echo "scsi-add-single-device X Y Z W" > /proc/scsi/scsi, replacing X, Y,
Z, and W with the host, bus, ID, and LUN of the drive.

Thank you. Hmmm. I get (among other things),

$ cat /proc/scsi/scsi
Attached devices:

Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: PLEXTOR Model: CD-R PX-W1210S Rev: 1.05
Type: CD-ROM ANSI SCSI revision: 02

So it is obvious what it uses for X Z and W. Do I assume correctly that
Channel is what you call bus?

Perhaps your SATA drives act like my SCSI CD-ROM burner.

A SCSI CD-RW? That thing must be ancient.

I am not sure how ancient. Maybe 5 years old or so.
It is a PlexWriter 12/10/32S. The manual for it is dated August 2002.
It is on a SCSI controller all its own, so it does not contend (at the
controller level) with the disk drives that are on a different (and faster)
SCSI controller. I _never_ get buffer underruns, but it has BURN-Proof
feature, so it might not matter anyway.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 12:05:01 up 9 days, 2:02, 5 users, load average: 4.19, 4.16, 4.17
.



Relevant Pages