* Summary: Problem after replacing the DAT drive
@ 2001-06-08 7:35 Daniel Clar
0 siblings, 0 replies; only message in thread
From: Daniel Clar @ 2001-06-08 7:35 UTC (permalink / raw)
To: tru64-unix-managers
> The original posting was :
>
> > Hello Managers,
> >
> > On a brand new DS20e the internal DAT was not working well (the cover
> > didn't open!).
> > So the field service replaced it today and something strange happened.
> >
> > The hardware was not exactly the same (not the same manufacturer) so
> > when the system rebooted, it created tape1 special files.
> >
> > As I've only one tape drive on this system where Networker is running, I
> > prefer to have the default tape so tape0. I deleted all files in
> > /dev/tape and /dev/ntape and rebooted the system again. Once more tape1
> > special files were created instead of the expected tape0 ones.
> >
> > My question is : do I have to remove also the directory so that the
> > tape0 files could be created or does the system remeber that tape0 files
> > were created before ?
Thank you for their answers to :
Joe Ryals <Joe_Ryals@csx.com>
"Dr. Thomas.Blinn@Compaq.com" <tpb@doctor.zk3.dec.com>
Eric.Chacron@alcatel.fr
"Nemholt, Jesper Frank" <JesperFrank.Nemholt@compaq.com>
"Ivan Hoe" <ivanhoe_jack@hotmail.com>
"Robert Mulley" <Robert.Mulley@unilever.com>
Kat <kathee@mindiq.com>
The answers were around dfsmgr with :
dsfmgr -m tape1 tape0
which is the the fastest way to do that, and hwmgr with :
# hwmgr -view devices
HWID: Device Name Mfg Model Location
----------------------------------------------------------------------------
--
4: /dev/kevm
27: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
28: /dev/disk/dsk0c DEC RZ29L-AA (C) DEC bus-0-targ-0-lun-0
29: /dev/disk/cdrom0c DEC RRD44 (C) DEC bus-0-targ-4-lun-0
30: /dev/ntape/tape0 DEC TLZ07 (C)DEC bus-0-targ-2-lun-0
To delete the tape I would write :
hwmgr -delete component -id 30
I just deleted it :
# hwmgr -view devices
HWID: Device Name Mfg Model Location
----------------------------------------------------------------------------
--
4: /dev/kevm
27: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
28: /dev/disk/dsk0c DEC RZ29L-AA (C) DEC bus-0-targ-0-lun-0
29: /dev/disk/cdrom0c DEC RRD44 (C) DEC bus-0-targ-4-lun-0
...and after a reboot :
# hwmgr -view devices
HWID: Device Name Mfg Model Location
----------------------------------------------------------------------------
--
4: /dev/kevm
27: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
28: /dev/disk/dsk0c DEC RZ29L-AA (C) DEC bus-0-targ-0-lun-0
29: /dev/disk/cdrom0c DEC RRD44 (C) DEC bus-0-targ-4-lun-0
37: /dev/ntape/tape1 DEC TLZ07 (C)DEC bus-0-targ-2-lun-0
It gets 37 because hwmgr automagically does n+1 to the device database, and
the other numbers (31-36) are taken because I've previously had other disks
connected.
I suppose this is where you are now, right ?
Now we rename to tape0 :
# dsfmgr -m tape1 tape0
tape1=>tape0 tape1_d0=>tape0_d0 tape1_d1=>tape0_d1 tape1_d2=>tape0_d2
tape1_d3=>tape0_d3 tape1_d4=>tape0_d4 tape1_d5=>tape0_d5
tape1_d6=>tape0_d6 tape1_d7=>tape0_d7 tape1c=>tape0c tape1=>tape0
tape1_d0=>tape0_d0 tape1_d1=>tape0_d1 tape1_d2=>tape0_d2
tape1_d3=>tape0_d3 tape1_d4=>tape0_d4 tape1_d5=>tape0_d5
tape1_d6=>tape0_d6 tape1_d7=>tape0_d7 tape1c=>tape0c
# hwmgr -view dev
HWID: Device Name Mfg Model Location
----------------------------------------------------------------------------
--
4: /dev/kevm
27: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
28: /dev/disk/dsk0c DEC RZ29L-AA (C) DEC bus-0-targ-0-lun-0
29: /dev/disk/cdrom0c DEC RRD44 (C) DEC bus-0-targ-4-lun-0
37: /dev/ntape/tape0 DEC TLZ07 (C)DEC bus-0-targ-2-lun-0
Thanks,
Daniel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-08 7:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-08 7:35 Summary: Problem after replacing the DAT drive Daniel Clar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox