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



Jean-David Beyer staggered into the Black Sun and said:
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.
$ cat /proc/scsi/scsi
Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: PLEXTOR Model: CD-R PX-W1210S Rev: 1.05

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

Yep. That identifier has different names, possibly because so few SCSI
cards have more than one bus on them.

A SCSI CD-RW? That thing must be ancient.
It is a PlexWriter 12/10/32S. The manual for it is dated August 2002.

In early 2000, SCSI CD-RWs were both rare and quite a bit more expensive
than IDE CD-RWs. By 2004, it was almost impossible to find SCSI CD-RWs.
You can now get an IDE (or SATA) DVD+-RW with Lightscribe for about
$100.

It is on a SCSI controller all its own, so it does not contend (at the
controller level) with the disk drives

I have only seen a buffer underrun happen once in all my years of using
IDE CD-RWs. Apparently, a 500MHz PII can't feed data fast enough to
keep a 40x CD-RW happy, though 24x was fine. I think that the average
user doesn't have to worry much about buffer underruns in this modern
day now that CPUs and non-SCSI I/O are so much faster than they were 10
years ago.

--
"To avoid being eaten, the puffer fish blows itself up"
-- Debbie Maizels
My blog and resume: http://crow202.dyndns.org:8080/wordpress/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.