Summary: Tape device problem

From: <maurerf_at_post.ch>
Date: Fri, 23 Mar 2001 10:32:43 +0100

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_at_post.ch
CH-3030 Bern http://www.post.ch
                        http://www.ymail.ch
__________________________________________________
Received on Fri Mar 23 2001 - 09:33:35 NZST

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