Summary: Problem after replacing the DAT drive

From: Daniel Clar <Daniel.Clar_at_supelec.fr>
Date: Fri, 08 Jun 2001 09:35:36 +0200

> 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_at_csx.com>
"Dr. Thomas.Blinn_at_Compaq.com" <tpb_at_doctor.zk3.dec.com>
Eric.Chacron_at_alcatel.fr
"Nemholt, Jesper Frank" <JesperFrank.Nemholt_at_compaq.com>
"Ivan Hoe" <ivanhoe_jack_at_hotmail.com>
"Robert Mulley" <Robert.Mulley_at_unilever.com>
Kat <kathee_at_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
Received on Fri Jun 08 2001 - 07:37:14 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT