Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: bland@umich.edu (Peyton Bland)
Subject: Re: Q: adding tape drive to Alpha
Date: 1998/01/09	[thread overview]
Message-ID: <bland-090198134700@host-251.subnet-13.med.umich.edu> (raw)
In-Reply-To: bland-060198122857@host-251.subnet-13.med.umich.edu


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



      parent reply	other threads:[~1998-01-09  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 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