tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: Tape device problem
@ 2001-03-23  9:32 maurerf
  0 siblings, 0 replies; only message in thread
From: maurerf @ 2001-03-23  9:32 UTC (permalink / raw)
  To: tru64-unix-managers

My thanks goes to the persons below for their help to solve my problem:

Wachter, David
Tim Brown
Scott Fafrak

The Problem:

Since I used a new scsi ID, I have a new tape device name (tape1 instead of
tape0). I want to move this device name back to tape0.

I had suggestions to move or exchange device names using dsfmgr -e tape1
tape0 but I got an error message:

dsfmgr: ERROR: find device node tape0  : Device record not found in status
database
dsfmgr: ERROR exchange failed: Device record not found in status database

dsfmgr -m tape1 tape0 says that device 0 was in use. These errors were
probably due to a bad manipulation of my side.

The solution was finaly as follow:

# hwmgr -sho scsi

        SCSI                DEVICE    DEVICE  DRIVER NUM  DEVICE FIRST 
 HWID:  DEVICEID HOSTNAME   TYPE      SUBTYPE OWNER  PATH FILE   VALID PATH
-------------------------------------------------------------------------
   35:  0        hpie3i     disk      none    2      1    dsk0   [0/0/0]   
   36:  1        hpie3i     cdrom     none    0      1    cdrom0 [0/4/0]   
   87:  2        hpie3i     tape      none    0      1    tape2  [0/5/0]   

# hwmgr -delete component -id 87
hwmgr: Delete operation was successful

# hwmgr -refresh component
hwmgr: Refresh component database operation was successful

# dn_setup -init
  cluster/members/member/devices
  cluster/members/{memb}/dev
  devices
 sysdev0 atm_cmm 
 none cport disk rdisk tape ntape changer
Remember to create device nodes: /sbin/dsfmgr -K
# dsfmgr -K
dsfmgr: NOTE: creating device special files for system at /
py1b -floppy1b +floppy1c +floppy1c +floppy1d -floppy1d +floppy1d -floppy1d
+floppy1e -floppy1e +floppy1e -floppy1e +floppy1f -floppy1f +floppy1f
-floppy1f +floppy1g -floppy1g +floppy1g -floppy1g +floppy1h -floppy1h
+floppy1h -floppy1h +cdrom0a +cdrom0a +cdrom0b -cdrom0b +cdrom0b -cdrom0b
+cdrom0c +cdrom0c +cdrom0d -cdrom0d +cdrom0d -cdrom0d +cdrom0e -cdrom0e
+cdrom0e -cdrom0e +cdrom0f -cdrom0f +cdrom0f -cdrom0f +cdrom0g -cdrom0g
+cdrom0g -cdrom0g +cdrom0h -cdrom0h +cdrom0h -cdrom0h

and then reboot the system. Now the tape device is tape0 again.
__________________________________________________

Felix Maurer
Die Schweizerische Post           Tel: +41-31-338 98 49
Information Technology Services   Fax: +41-31-338 98 80
Messaging Management
Webergutstrasse 12      Mailto:maurerf@post.ch
CH-3030 Bern            http://www.post.ch
                        http://www.ymail.ch
__________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-23  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-23  9:32 Summary: Tape device problem maurerf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox