From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621725.tru64-unix-managers.marc@archive.invalid> From: Daniel Clar Date: Fri, 08 Jun 2001 07:35:36 +0000 To: tru64-unix-managers Subject: Summary: Problem after replacing the DAT drive X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621725 > 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 "Dr. Thomas.Blinn@Compaq.com" Eric.Chacron@alcatel.fr "Nemholt, Jesper Frank" "Ivan Hoe" "Robert Mulley" Kat 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