From: Marble Head <Marble.Head@nospam.guacamole.com>
Subject: Re: tape drive configuration problem on 5.0A
Date: 2000/08/21 [thread overview]
Message-ID: <39A174EC.12862F64@nospam.guacamole.com> (raw)
In-Reply-To: TVCW0BSkJGcg@malvm1.mala.bc.ca
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
next prev parent reply other threads:[~2000-08-21 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-21 4:00 tape drive configuration problem on 5.0A Malcolm Dunnett
2000-08-21 4:00 ` Marble Head [this message]
2000-08-22 4:16 ` Adam Price
2000-08-22 4:00 ` Stephen Carpenter
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