From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,332c38e545e29192 X-Google-Attributes: gidfa528,public From: Marble Head Subject: Re: tape drive configuration problem on 5.0A Date: 2000/08/21 Message-ID: <39A174EC.12862F64@nospam.guacamole.com>#1/1 X-Deja-AN: 660815165 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@knows.shr.dec.com X-Trace: knows.shr.dec.com 966882546 635063 16.129.14.83 (21 Aug 2000 18:29:06 GMT) Organization: Organization? Yes, please. Mime-Version: 1.0 NNTP-Posting-Date: 21 Aug 2000 18:29:06 GMT Newsgroups: comp.unix.tru64 LONG ANSWER: The system doesn't think there are two tape drives. The characteristic you are describing was created in part to support clustering. In the old naming scheme, /dev/rz0c or whatever, the device name was dependent on the physical location of the drive, and if you moved the drive to a new location, the system would not recognize that it is in fact the same drive. In the new naming scheme, /devices/disk/dskxx whatever, the system keeps a list of all disks it has ever seen, numbering them sequentially, regardless of the physical location. This way, if you disconnect a drive from the local SCSI bus, and connect it to a storage array 10km away that's linked by fibre, it will appear to the system as the same device in the same location. While this is not particularly helpful on a DS20, take a GS-system for example. If you've got 32 processors, connected to a storage array through fibre channel in switched fabric mode, you've got a virtually unlimited number of functionally equivalent paths between the device and the various CPUs. If the device names were dependent on the data path, .... well... That poor computer would be doing things poor computers were never meant to do. SHORT ANSWER: The system doesn't think there are two tape drives. It automatically assigns the same device name to the same device, no matter where you connect it. It is nearly impossible to change the device name manually. If you ever replace this drive with a new one, you will have the same problem all over again. I suggest you modify your script(s) and things to use any device name of your choice. Malcolm Dunnett wrote: > I have an Alphaserver DS20 running Tru64 5.0A. > > There was a tape drive attached to the system > on the second SCSI bus ( MKB500 at the console level ). > I had the system configured and running ok with > this tape drive. > > Today I swapped the drive for a new one. The > old drive was an HP DDS-3 DAT drive, the new one > is a DLT 7000 drive. I put the new drive on the > same SCSI bus and at the same device address (5). > > When I boot the system it insists on creating > a new tape drive ( tape1xxx ) whereas the old drive > was located at tape0xxx. I tried deleting all the > device files in /devices/tape and /devices/ntape, > but on reboot the system recreates the tape as > tape1xxx again. I tried rebuilding the kernel and > repeating that step, but same result. I renamed > all the tape1xxx files in the /devices/tape and > /device/ntape directories to tape0xxx - this > allows me to use the drive, but a reboot still > creates the spurious tape1xxx devices. > > Why does the system think there are 2 tape drives > on it and how can I convince it there's really only > one? > > Thanks in advance > > ============================================================================= > Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca > Information Systems Nanaimo, B.C. CANADA V9R 5S5 Tel: (250)755-8738