Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Attaching External Disk on DEC 3000 Model 500
@ 1994-05-19  0:03 Gary Wu
  1994-05-19  1:17 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1994-05-19 13:14 ` William Thompson
  0 siblings, 2 replies; 4+ messages in thread
From: Gary Wu @ 1994-05-19  0:03 UTC (permalink / raw)



  
  Hello,

  I have an external Seagate 2.1G disk that I would like to 
  attach to a DEC 3000 Model 500 running OSF/1 v2.0.

  When I type "show dev" in the PROM mode, it lists the Seagate
  as being visible to the system, with SCSI address of 1 and on
  SCSI_B (external scsi).

  The drive has a SCSI selector that switches between 0 and 6.

  Now, how can I create the correct /dev/rz files for it and
  newfs it ?  The /dev/rz files created with MAKEDEV seem to
  work only for SCSI_A (internal scsi) devices.

  Any help would be appreciated.

  Regards,

  Gary

-- 
Gary Wu
Software Engineer
Platforms Group
Viewlogic Systems, Inc.			  Phone: (508) 480-0881	
293 Boston Post Road West		  Fax:   (508) 480-0882
Marlborough, MA  01752			  E-mail: gwu@viewlogic.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Attaching External Disk on DEC 3000 Model 500
  1994-05-19  0:03 Attaching External Disk on DEC 3000 Model 500 Gary Wu
@ 1994-05-19  1:17 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  1994-05-19 13:14 ` William Thompson
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-05-19  1:17 UTC (permalink / raw)



In article <Cq0w6L.2r8@viewlogic.com>, gwu@everest.viewlogic.com (Gary Wu) writes:

>  I have an external Seagate 2.1G disk that I would like to 
>  attach to a DEC 3000 Model 500 running OSF/1 v2.0.
>
> [ some stuff deleted [
>
>  Now, how can I create the correct /dev/rz files for it and
>  newfs it ?  The /dev/rz files created with MAKEDEV seem to
>  work only for SCSI_A (internal scsi) devices.

Simple answer - Add 8 to the target number you select for the
disk.  This will give one of:

	rz8, rz9, rz10, rz11, rz12, rz13, rz14, rz15

Use MAKEDEV to create the appropriate set of special
device files.  Or just create all of them.  It save
having to worry about it the next time.

Longer answer - See the system management guide for instructions
on how to update the configuration for the addition of new
devices.  This will probably suggest making a copy of the
current vmunix and then copying genvmunix over it.  Boot
that and run doconfig to build the new configuration file.

The kernel genvmunix has all the likely drivers and devices
built it to it.  Doconfig will use sizer to determine what
devices were found and build an appropriate configuration
file.  From this a configuration specific kernel will be
built which can be booted.  Then watch the boot messages
to see what name the Seagate is found under.  Create the
special device files as appropriate.

Alternatively, you can edit the configuration file by hand.
The two built-in SCSI adapters are asc0 and asc1 on tcds0.
The full expansion for the configuration for all possible
devices on those two SCSI channels is at the end of the
follow-up.

If you're likely to be adding another SCSI adapter to the
TURBOchannel it may be wise to just go ahead and add all
the necessary lines.  A couple of days ago I built a kernel
with the minimum configuration file to match the configuration
and a configuration with all the possible SCSI adapters and
devices in it.  The difference in size of the two kernels was
80 KB.

To get a clue what all the SCSI adapters and devices will
look like, look at the GENERIC configuration file.

bus             tcds0   at *   vector tcdsintr
controller      asc0    at *   vector ascintr
controller      asc1    at *   vector ascintr
#
device disk             rz0     at asc0         drive 0
device disk             rz1     at asc0         drive 8
device disk             rz2     at asc0         drive 16
device disk             rz3     at asc0         drive 24
device disk             rz4     at asc0         drive 32
device disk             rz5     at asc0         drive 40
device disk             rz6     at asc0         drive 48
device disk             rz7     at asc0         drive 56
device disk             rz8     at asc1         drive 64
device disk             rz9     at asc1         drive 72
device disk             rz10    at asc1         drive 80
device disk             rz11    at asc1         drive 88
device disk             rz12    at asc1         drive 96
device disk             rz13    at asc1         drive 104
device disk             rz14    at asc1         drive 112
device disk             rz15    at asc1         drive 120
#
device tape             tz0     at asc0         drive 0
[ Its just like the disk list with "tape" replacing "disk"
  and "tz" replacing "rz". ]

>
>Gary Wu

--
Alan Rollow				alan@nabeth.cxo.dec.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Attaching External Disk on DEC 3000 Model 500
  1994-05-19  0:03 Attaching External Disk on DEC 3000 Model 500 Gary Wu
  1994-05-19  1:17 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1994-05-19 13:14 ` William Thompson
  1994-05-19 14:16   ` L.Rosenthaler
  1 sibling, 1 reply; 4+ messages in thread
From: William Thompson @ 1994-05-19 13:14 UTC (permalink / raw)


gwu@everest.viewlogic.com (Gary Wu) writes:


>  
>  Hello,

>  I have an external Seagate 2.1G disk that I would like to 
>  attach to a DEC 3000 Model 500 running OSF/1 v2.0.

>  When I type "show dev" in the PROM mode, it lists the Seagate
>  as being visible to the system, with SCSI address of 1 and on
>  SCSI_B (external scsi).

>  The drive has a SCSI selector that switches between 0 and 6.

>  Now, how can I create the correct /dev/rz files for it and
>  newfs it ?  The /dev/rz files created with MAKEDEV seem to
>  work only for SCSI_A (internal scsi) devices.

>  Any help would be appreciated.

>  Regards,

>  Gary

>-- 
>Gary Wu
>Software Engineer
>Platforms Group
>Viewlogic Systems, Inc.			  Phone: (508) 480-0881	
>293 Boston Post Road West		  Fax:   (508) 480-0882
>Marlborough, MA  01752			  E-mail: gwu@viewlogic.com

This is what I had to do to mount a third-party external disk drive on my Sun
workstation.  First of all, the SCSI address for the external drive has to be
increased by 8.  In other words, an external drive with SCSI address 1 will be
/dev/rz9...  

Then, since the database delivered with the Alpha only lists drives
manufactured by DEC, I had to first tell it that it was a DEC drive, and then
edit the label.  As I recall, and please forgive me if my memory is a bit
fuzzy, I did something like

	disklabel -rw rz9 rz56
	disklabel -e rz9

When I editted the label, I had to change just about everything the computer
thought it knew about the disk--the number of cylinders, the number of sectors
per cylinder, etc.--as well as the partition table (including the C partition
to reflect the true size of the disk).

I don't know if that's the best way to do it or not, but it worked and wasn't
as hard as it sounds.

Good luck,

Bill Thompson


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Attaching External Disk on DEC 3000 Model 500
  1994-05-19 13:14 ` William Thompson
@ 1994-05-19 14:16   ` L.Rosenthaler
  0 siblings, 0 replies; 4+ messages in thread
From: L.Rosenthaler @ 1994-05-19 14:16 UTC (permalink / raw)


In order to get a disklabel on a "foreign" disk, use the
following command:

	% disklabel -r -w /dev/rrz.. foobar

The disklabel *requires* a disktype, but if the disktype is not
known, the disklabel program will read all parameters from the
disk itself. So, supposing You have no disktab entry named "foobar",
the above command does create the "right" disklabel!

Lukas

P.S. It would be nice, if this would be stated in the documentation...


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-05-19 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-19  0:03 Attaching External Disk on DEC 3000 Model 500 Gary Wu
1994-05-19  1:17 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1994-05-19 13:14 ` William Thompson
1994-05-19 14:16   ` L.Rosenthaler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox