* tape drive configuration problem on 5.0A
@ 2000-08-21 4:00 Malcolm Dunnett
2000-08-21 4:00 ` Marble Head
0 siblings, 1 reply; 4+ messages in thread
From: Malcolm Dunnett @ 2000-08-21 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tape drive configuration problem on 5.0A
2000-08-21 4:00 tape drive configuration problem on 5.0A Malcolm Dunnett
@ 2000-08-21 4:00 ` Marble Head
2000-08-22 4:16 ` Adam Price
0 siblings, 1 reply; 4+ messages in thread
From: Marble Head @ 2000-08-21 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tape drive configuration problem on 5.0A
2000-08-22 4:16 ` Adam Price
@ 2000-08-22 4:00 ` Stephen Carpenter
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Carpenter @ 2000-08-22 4:00 UTC (permalink / raw)
The commands you need are:
/sbin/dsfmgr -d tape0
/sbin/dsfmgr -m tape1 tape0
Stephen.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tape drive configuration problem on 5.0A
2000-08-21 4:00 ` Marble Head
@ 2000-08-22 4:16 ` Adam Price
2000-08-22 4:00 ` Stephen Carpenter
0 siblings, 1 reply; 4+ messages in thread
From: Adam Price @ 2000-08-22 4:16 UTC (permalink / raw)
Marble Head wrote in message <39A174EC.12862F64@nospam.guacamole.com>...
>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.
>
man hwmgr
man dsfmgr
These two man pages should tell you enough to change the device name.
Hope this helps
Adam
PS Don't ask me how to do the change as I don't have a V5.0x system here at
home to play with and I can't remember.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-08-22 4:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-21 4:00 tape drive configuration problem on 5.0A Malcolm Dunnett
2000-08-21 4:00 ` Marble Head
2000-08-22 4:16 ` Adam Price
2000-08-22 4:00 ` Stephen Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox