* Re: SCSI drive installation?
2000-02-03 5:00 SCSI drive installation? Matt Tanquary
2000-02-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2000-02-03 5:00 ` Ron S
2000-02-03 5:00 ` Tim Mooney
2 siblings, 0 replies; 5+ messages in thread
From: Ron S @ 2000-02-03 5:00 UTC (permalink / raw)
If the drive is on bus scsi1, then the device name should be rz13 ((bus * 8) +
id).
Check /usr/adm/messages to see how it is identified at boot.
Ron
Matt Tanquary <mtanquary@earthlink.net> wrote in message
news:38999c74.4130269@news.earthlink.net...
> 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
>
> I have tried several other methods getting my machine to recognize the
> drive to no avail. I'm a former SGI administrator, so the techniques
> and labeling mechanisms I'm used to are no good to me.
>
> I am also interested in knowing how you can distinguish a drive on
> bus0, id5 from a drive on bus1, id5.
>
> My OS version is: OSF1 V4.0 878 alpha
>
> Thanks!
> Matt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SCSI drive installation?
2000-02-03 5:00 SCSI drive installation? Matt Tanquary
@ 2000-02-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2000-02-03 5:00 ` Ron S
2000-02-03 5:00 ` Tim Mooney
2 siblings, 0 replies; 5+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2000-02-03 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SCSI drive installation?
2000-02-03 5:00 SCSI drive installation? Matt Tanquary
2000-02-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2000-02-03 5:00 ` Ron S
@ 2000-02-03 5:00 ` Tim Mooney
2000-02-06 5:00 ` Michael Krauss
2 siblings, 1 reply; 5+ messages in thread
From: Tim Mooney @ 2000-02-03 5:00 UTC (permalink / raw)
In article <38999c74.4130269@news.earthlink.net>,
Matt Tanquary <mtanquary@earthlink.net> wrote:
> 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:
If it's on bus 1, you're off by 8 ids: rz0-7 (7 == controller) is bus 0,
rz8-15 is bus 1, etc. The formula is given (in words) in the SCSI(7) man
page:
... The unit number is eight times
the bus number plus the target ID.
You want rz13, I think (bus # * 8) + 1 = (1 * 8) + 5 = 13.
Note that some of this may change at 5.x -- device names change and
I think I remember seeing support for wide addressing, but I'm not sure
if the tried-and-true formula shown above actually did change or not. I
haven't done enough with 5.x yet to know.
>
> >># disklabel -rw rz5 not_in_drivetab
> >>disklabel: /dev/rrz5a: No such device or address
>
> I have tried several other methods getting my machine to recognize the
> drive to no avail. I'm a former SGI administrator, so the techniques
> and labeling mechanisms I'm used to are no good to me.
>
> I am also interested in knowing how you can distinguish a drive on
> bus0, id5 from a drive on bus1, id5.
With the 4.x system, integer division of the unit # gives you the bus
#, and the unit # mod 8 gives you the SCSI ID.
rz13 -> unit 13
13 / 8 = 1 (bus #, integer division!)
13 % 8 = 5 (scsi id)
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J1, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
^ permalink raw reply [flat|nested] 5+ messages in thread
* SCSI drive installation?
@ 2000-02-03 5:00 Matt Tanquary
2000-02-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Matt Tanquary @ 2000-02-03 5:00 UTC (permalink / raw)
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
I have tried several other methods getting my machine to recognize the
drive to no avail. I'm a former SGI administrator, so the techniques
and labeling mechanisms I'm used to are no good to me.
I am also interested in knowing how you can distinguish a drive on
bus0, id5 from a drive on bus1, id5.
My OS version is: OSF1 V4.0 878 alpha
Thanks!
Matt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SCSI drive installation?
2000-02-03 5:00 ` Tim Mooney
@ 2000-02-06 5:00 ` Michael Krauss
0 siblings, 0 replies; 5+ messages in thread
From: Michael Krauss @ 2000-02-06 5:00 UTC (permalink / raw)
Hi !
Tim Mooney schrieb:
> In article <38999c74.4130269@news.earthlink.net>,
> Matt Tanquary <mtanquary@earthlink.net> wrote:
> Note that some of this may change at 5.x -- device names change and
> I think I remember seeing support for wide addressing, but I'm not sure
> if the tried-and-true formula shown above actually did change or not. I
> haven't done enough with 5.x yet to know.
As far as I know 5.x will support both naming sceems: The RZxy and
the RZzxy where
x=a number calculated wit the well known formula
y=partition letter (a-h)
z=LUN of SCSI-Device
> > >># disklabel -rw rz5 not_in_drivetab
> > >>disklabel: /dev/rrz5a: No such device or address
you may want to try
# disklabel -wr -t advfs rz13 unknown
You can replace advfs with ufs if you don't want advfs. Anyway it
will try to read the parameteres from the disk instead from disktab.
Ciao,
michael
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-02-06 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-03 5:00 SCSI drive installation? Matt Tanquary
2000-02-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2000-02-03 5:00 ` Ron S
2000-02-03 5:00 ` Tim Mooney
2000-02-06 5:00 ` Michael Krauss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox