Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

about adding tape !

SOLVED
Go to solution
leyearn
Regular Advisor

about adding tape !

my system is alpha 4000
the os is digital unix v4.0
i want to add a new tape !
what should i do to make tape work ?
thanks!
8 REPLIES
Ralf Puchner
Honored Contributor
Solution

Re: about adding tape !

# /dev/MAKEDEV tz(bus # x 8 + ID #)

e.g.

# /dev/MAKEDEV tz10

see also "man MAKEDEV" or have a look into the system administration guide.

Help() { FirstReadManual(urgently); Go_to_it;; }
leyearn
Regular Advisor

Re: about adding tape !

how can i find the bus and target number of the tape?
when i execute #scu show edt
there is no entry of tape!
Emil L. Dragic
Occasional Advisor

Re: about adding tape !

First do:
# scu scan edt
then
# scu show edt

Or, shutdown system and from firmware level do:
>>> show dev
or
>>> show config

Regards
leyearn
Regular Advisor

Re: about adding tape !

when i execute command #scu show edt
Device: RRD46 Bus: 0, Target: 5, Lun: 0, Type: Read-Only Direct Access
Device: RZ1CB-CS Bus: 1, Target: 0, Lun: 0, Type: Direct Access
there is no entry about tape device
but when i use tar command to test tape
#tar cvf /dev/rmt0h /etc/hosts
and
#tar tv
blocksize = 40
-rw-rw-r-- 0/0 10240 Oct 17 13:51:07 2003 /etc/hosts
and it works correctly
but i want to know the bus and target address of the tape
how can i get them?

Ralf Puchner
Honored Contributor

Re: about adding tape !

#file /dev/rmt*
Maj Min
=== ====
file /dev/rmt*
/dev/rmt0a: character special (9/6150) SCSI #0 TLZ10 tape #1 (SCSI ID #6
/dev/rmt0h: character special (9/6146) SCSI #0 TLZ10 tape #1 (SCSI ID #6
/dev/rmt0l: character special (9/6144) SCSI #0 TLZ10 tape #1 (SCSI ID #6
/dev/rmt0m: character special (9/6148) SCSI #0 TLZ10 tape #1 (SCSI ID #6
/dev/rmt1a: character special (9/54278)
/dev/rmt1h: character special (9/54274)
/dev/rmt1l: character special (9/54272)
/dev/rmt1m: character special (9/54276)

# scu sho edt

CAM Equipment Device Table (EDT) Information:

Device: RRD47 Bus: 0, Target: 5, Lun: 0, Type: Read-Only Direct Access
Device: TLZ10 Bus: 0, Target: 6, Lun: 0, Type: Sequential Access
Device: RZ2DA-LA Bus: 1, Target: 0, Lun: 0, Type: Direct Access

during init of the controllers the devices may be listed in /var/adm/messages or binary.errlog.
Help() { FirstReadManual(urgently); Go_to_it;; }
leyearn
Regular Advisor

Re: about adding tape !

now i know
the tape device isn't configured correctly!
# scu show edt

CAM Equipment Device Table (EDT) Information:

Device: RRD46 Bus: 0, Target: 5, Lun: 0, Type: Read-Only Direct Access
Device: RZ1CB-CS Bus: 1, Target: 0, Lun: 0, Type: Direct Access
Device: DEC P01 A10 Bus: 2, Target: 7, Lun: 7, Type: Processor


# file /dev/rmt*
/dev/rmt0h: ascii text


tape isn't identified by the system!
Ralf Puchner
Honored Contributor

Re: about adding tape !

so you created a file called /dev/nrmt0h containing the backup data.

How is the tape connected?
Is it visible from srm? (>>> show dev)

Action plan:
shutdown machine and check "show dev" output. Tape seen?
NO -> check hardware/cabling
YES -> boot genvmunix and check output during boot (maybe the controller is not initialized within the kernel)
Controller seen?
NO -> check hardware/cabling
YES -> try MAKEDEV
rebuild kernel, reboot with vmunix

Help() { FirstReadManual(urgently); Go_to_it;; }
leyearn
Regular Advisor

Re: about adding tape !

to Ralf Puchner

thanks you very muchu
i insert the tape again with force

and then i use #scu scan edt
the #scu show edt
the following messages appears
# scu show edt

CAM Equipment Device Table (EDT) Information:

Device: RRD46 Bus: 0, Target: 5, Lun: 0, Type: Read-Only Direct Access
Device: RZ1CB-CS Bus: 1, Target: 0, Lun: 0, Type: Direct Access
Device: TLZ09 Bus: 1, Target: 4, Lun: 0, Type: Sequential Access
Device: DEC P01 A10 Bus: 2, Target: 7, Lun: 7, Type: Processor

the i use the command
#/dev/MAKEDEV tz12
now the tape works correctly
thanks again!