* Q: adding tape drive to Alpha
@ 1998-01-06 5:00 Peyton Bland
1998-01-08 5:00 ` Warren Sypteras
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Peyton Bland @ 1998-01-06 5:00 UTC (permalink / raw)
Hi,
We have an Alpha (DEC 3000/500x) running OSF/1 v3.2. At the present, we
have a TLZ06 4mm tape drive on SCSI bus 0 (internal) at target 5. It is
accessed via /dev/*rmt0*. I'm trying to add a TLZ09 drive to the external
SCSI bus (and keep the TLZ06 on the internal). Looks like I need to
rebuild the kernel to get this to happen. Our current config file contains
the following for the TLZ06:
device tape tz5 at scsi0 drive 40
I assume I need something like this for the TLZ09. I will use target 5 or
6 on the external SCSI bus. After I rebuild the kernel, it looks like I
just have to run MAKEDEV to create the special files.
Can anyone help with the magic to put in the config file? Also, is there
anything I need to know about running MAKEDEV?
Thanks! (I will re-post any helpful advice received via email.)
Peyton
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Peyton Bland Digital Image Processing
Lab
Dept. of Radiology, Univ. of Michigan
http://www.med.umich.edu/dipl/
"We all have better moments than anybody ever knows, and so do all the
others. We are a great mystery. Each one of us is a secret, and on that
basis we ought to treat each other with the deepest respect." --
Garrison Keillor
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Q: adding tape drive to Alpha
1998-01-06 5:00 Q: adding tape drive to Alpha Peyton Bland
@ 1998-01-08 5:00 ` Warren Sypteras
1998-01-09 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1998-01-09 5:00 ` Peyton Bland
2 siblings, 0 replies; 4+ messages in thread
From: Warren Sypteras @ 1998-01-08 5:00 UTC (permalink / raw)
To: Peyton Bland
Peyton;
The easiest way to add your tape (or any device) is NOT to
edit the kernel config file (unless you understand the syntax).
Try this process for your new tape (or anything else).
1. Shutdown system and add your new hardware.
2. Powerup and verify that the computer knows it's there.
You can do this at the console firmware prompt.
3. Boot the system using the GENERIC kernel.
4. Execute "doconfig -c {yoursystemname}." When asked if
you want to "replace" the existing config file, say "yes."
5. Backup old kernel if needed; copy new kernel to root.
6. Re-boot.
When you boot off the generic kernel and the tape is present, the OS
knows about it. So, when you run doconfig and tell it to replace the
config file for your system name; doconfig will make a new config file
based on everything in your current hardware configuration.
> We have an Alpha (DEC 3000/500x) running OSF/1 v3.2. At the present, we
> have a TLZ06 4mm tape drive on SCSI bus 0 (internal) at target 5. It is
> accessed via /dev/*rmt0*. I'm trying to add a TLZ09 drive to the external
> SCSI bus (and keep the TLZ06 on the internal). Looks like I need to
> rebuild the kernel to get this to happen. Our current config file contains
> the following for the TLZ06:
>
> device tape tz5 at scsi0 drive 40
>
> I assume I need something like this for the TLZ09. I will use target 5 or
> 6 on the external SCSI bus. After I rebuild the kernel, it looks like I
> just have to run MAKEDEV to create the special files.
>
> Can anyone help with the magic to put in the config file? Also, is t
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Q: adding tape drive to Alpha
1998-01-06 5:00 Q: adding tape drive to Alpha Peyton Bland
1998-01-08 5:00 ` Warren Sypteras
@ 1998-01-09 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1998-01-09 5:00 ` Peyton Bland
2 siblings, 0 replies; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1998-01-09 5:00 UTC (permalink / raw)
In article <bland-060198122857@host-251.subnet-13.med.umich.edu>, bland@umich.edu (Peyton Bland) writes:
>Can anyone help with the magic to put in the config file?
You never have to rebuild the kernel to add a device to an
existing SCSI bus. For LUN 0 disks and tapes this has never
been *necessary* on any released version of DEC OSF/1 or Digital
UNIX (I start counting at V1.2). I think there were some early
versions where you needed configuration file lines to get I/O
stats, but this may have been limited to non-LUN 0 devices of
array controllers. I'm also not sure whether you needed device
lines for non-LUN 0 disks just to see them, but I don't think
so. This has been fixed in recent versions.
You do need to build a new kernel to add a SCSI controller,
but you don't need anything for the disks or tapes on that
controller.
>anything I need to know about running MAKEDEV?
(bus * 8) + SCSI-ID
That's the essential bit of information. If you're
creating a disk preceded the "unit" number from that
by "rz". For tapes use "tz". If creating disks for
array controllers that use LUNs other than zero it
gets a bit more complicated. MAKEDEV won't create
non-LUN 0 tape devices at all.
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Q: adding tape drive to Alpha
1998-01-06 5:00 Q: adding tape drive to Alpha Peyton Bland
1998-01-08 5:00 ` Warren Sypteras
1998-01-09 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1998-01-09 5:00 ` Peyton Bland
2 siblings, 0 replies; 4+ messages in thread
From: Peyton Bland @ 1998-01-09 5:00 UTC (permalink / raw)
In article <bland-060198122857@host-251.subnet-13.med.umich.edu>,
bland@umich.edu (Peyton Bland) wrote:
> We have an Alpha (DEC 3000/500x) running OSF/1 v3.2. At the present, we
> have a TLZ06 4mm tape drive on SCSI bus 0 (internal) at target 5. It is
> accessed via /dev/*rmt0*. I'm trying to add a TLZ09 drive to the external
> SCSI bus (and keep the TLZ06 on the internal). Looks like I need to
> rebuild the kernel to get this to happen. Our current config file contains
> the following for the TLZ06:
>
> device tape tz5 at scsi0 drive 40
>
> I assume I need something like this for the TLZ09. I will use target 5 or
> 6 on the external SCSI bus. After I rebuild the kernel, it looks like I
> just have to run MAKEDEV to create the special files.
>
> Can anyone help with the magic to put in the config file? Also, is there
> anything I need to know about running MAKEDEV?
Alan Rollow responded with some useful info (below). (Unfortunately, I had
already gone ahead and used the method as outlined on the doconfig(8) man
page, which actually isn't too bad.) Thanks to the others who responded.
Peyton
------------------------------
You don't need to add anything to the configuration file to add
any SCSI device to an existing bus (and don't let anybody tell
you otherwise(*)). If you have shutdown the system to add the device
run MAKEDEV for the new device. If you can add the device without
rebooting, use scu(8) to scan the external bus, then run MAKEDEV.
The number of the "tz" device for the tape is found from:
(bus * 8) + ID
So target 5 will tz13 and target 6 will be tz14. MAKEDEV
will create the files for rmt1.
Whether you need to shutdown the system or not, depends on
whether you have to unterminate the bus to add the device.
When adding devices to a StorageWorks shelf you don't change
the bus termination and it is fair safe to just add a disk
or tape on the fly. If other devices on the bus are active
you have to remove a terminator to add the device, you need
to shutdown to ensure the bus is quiet.
(*) The Exception... Some older versions, older than yours
needed configuration file device entries for SCSI disks to
collect I/O stats. It didn't affect using the disks, just
whether or not I/O stats were collected for them. This was
especially true of non-LUN 0 disks such as those found on
RAID arrays. This has been fixed in recent versions.
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-01-09 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-06 5:00 Q: adding tape drive to Alpha Peyton Bland
1998-01-08 5:00 ` Warren Sypteras
1998-01-09 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1998-01-09 5:00 ` Peyton Bland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox