From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: SCSI drive installation?
Date: 2000/02/03 [thread overview]
Message-ID: <87chog$ouc$1@mailint03.im.hou.compaq.com> (raw)
In-Reply-To: 38999c74.4130269@news.earthlink.net
In article <38999c74.4130269@news.earthlink.net>, mtanquary@earthlink.net (Matt Tanquary) writes:
>I removed a drive which recently failed and replaced it with another.
>The old drive was a Seagate Barracuda 4.5 gig. The new drive is an IBM
>DNES-309170 9.1 gig. The SCSI ID is 5, on bus 'scsi1'.
>
>I rebuilt the device drivers for rz5&rrz5, but disklabel still gives
>me the following:
>
>>># disklabel -rw rz5 not_in_drivetab
>>>disklabel: /dev/rrz5a: No such device or address
According to the intro(2) manual page, the error you got can be
cause by the following conditions.
[ENXIO] No such device or address
Indicates one or more of the following errors:
+
The specified address, major device number, or channel is out of
valid range.
+
No more channels are available (open()).
+
The named file is a character-special or block-special file and the
associated device does not exist (open()).
+
The O_NONBLOCK flag is set, the named file is FIFO, O_WRONLY is set,
and no process has the file open for reading (open()).
+
The specified tape drive is offline or a disk pack is not loaded in
the specified disk drive.
The most likely case, is that the kernel doesn't recognize the drive
or it isn't ready. This being a SCSI drive you can use the scu(8)
command to pound on it in some detail; do an Inquiry command to see
if it responds at all, read a couple of mode pages, send it a Test
Unit Ready (always a good test) and Read Capacity. This should
offer a clue, since you'll get back the Sense Key, ASC and ASCQ
of any SCSI failures.
>I am also interested in knowing how you can distinguish a drive on
>bus0, id5 from a drive on bus1, id5.
The drive number is found from (bus * 8) + target-id
Generally, it is a good idea, to double check the presense of
drives with the console, since that offers a slightly different
SCSI implementation.
>Matt
>
--
Alan Rollow alan@nabeth.cxo.dec.com
prev parent reply other threads:[~2000-02-03 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-03 5:00 SCSI drive installation? Matt Tanquary
2000-02-03 5:00 ` Tim Mooney
2000-02-06 5:00 ` Michael Krauss
2000-02-03 5:00 ` Ron S
2000-02-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox