Operating System - Tru64 Unix
1752523 Members
4896 Online
108788 Solutions
New Discussion юеВ

Re: not able to configure tape drive

 
ARUN_19
Advisor

not able to configure tape drive

h/w: DS20E
o/s: Tru64unix 5.1
problem:
system not booting , want to restore a particular file from the backup in a tape...
(unable to even to boot in a singlr user mode)
so booted from cd...able to mount root disk partition..but unable to configure the tape drive..
from /dev ran ./MAKEDEV tape...but it fails since MAKEDEV doesnot know "tape"...it only can create tz devices..but it does not work..
6 REPLIES 6
Michael Schulte zur Sur
Honored Contributor

Re: not able to configure tape drive

Hi,

have you tried hwmgr -scan scsi, when in single user mode? This should create the necessary devices. It should also work, if you try scu show edt, ./MAKEDEV tz(bus*8+target).

greetings,

Michael
Joris Denayer
Respected Contributor

Re: not able to configure tape drive

You should run following command

# dn_setup -install_tape

Comes from chaptre 3.6.1 --> point 7

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_ACRO_DUX/ARH8TETE.PDF


Create a device special file for the tape device:
# /sbin/dn_setup -install_tape
You may see messages such as +tape0 that list the device names that
are created during this operation.

Enjoy..

Joris
To err is human, but to really faul things up requires a computer
Mohamed  K Ahmed
Trusted Contributor

Re: not able to configure tape drive

There are special instructions for restoring on Unix V 5.x, use these commands after you boot to single user mode:

# scu scan edt all
# scu show edt all
# hwmgr -view dev
# /sbin/dn_setup -install_tape
# hwmgr -view dev

At this point you should see the tape drive as /dev/ntape/tapen (n is the number)
and it should work then

HTH
Mohamed
Ralf Puchner
Honored Contributor

Re: not able to configure tape drive

./MAKEDEV is an old mechanism only working after an upgrade from 4.x to 5.x systems. The new device management system uses other devices than older versions. So /dev/nrmt0h etc. is not valid for 5.x systems.

Please have a look into the manual. Use hwmgr -scan scsi and hwmgr -show scsi to detect the name of your tape drive.
Help() { FirstReadManual(urgently); Go_to_it;; }
ARUN_19
Advisor

Re: not able to configure tape drive

Hi all,
sorry for the delayed replay...had to take an unexpected off....
hwmgr worked out the problem,,,
SEASONS GREETINGS for all...
tegards
Arun.S
ARUN_19
Advisor

Re: not able to configure tape drive

closing old threads