From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c75ead6d0ae63961 X-Google-Attributes: gid1164f8,public From: bland@umich.edu (Peyton Bland) Subject: Re: Q: adding tape drive to Alpha Date: 1998/01/09 Message-ID: #1/1 X-Deja-AN: 314387814 Distribution: world References: Followup-To: comp.sys.dec Organization: Univ. of Mich., Dept. of Radiology Newsgroups: comp.sys.dec In article , 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