Operating System - HP-UX
1823206 Members
3844 Online
109648 Solutions
New Discussion юеВ

Re: How can I setup my HP DAT24 internal tape under HP-UX 10.20?

 
xujun
Advisor

How can I setup my HP DAT24 internal tape under HP-UX 10.20?

I have two tapes ,one is external,the other is internal.
The kernel has include cs80 and stape drivers, the external one ARCHIVE VIPER 150 ,SUN tape can be detected correctly.
This is the output of ioscan :
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
tape 0 10/0/15/0.4.0 stape CLAIMED DEVICE ARCHIVE VIPER 150 21531
/dev/rmt/0m /dev/rmt/c2t4d0BEST
/dev/rmt/0mb /dev/rmt/c2t4d0BESTb
/dev/rmt/0mn /dev/rmt/c2t4d0BESTn
/dev/rmt/0mnb /dev/rmt/c2t4d0BESTnb

but it is so old, the capacity is limited. The internal HP DAT24 tape still can be detected. The SCSI ID is default value as 3.

I have tried to use command as following:
mknod /dev/scsi/3 c 205 0x003000
or
mksf -C tape -I 0 /dev/rmt/tapename

How can I choose instance number and LUN correctly?

By the way, how to use the tools called mtx provided by HP TAPE driver CDROM ?

What can I do now ?
Best Regards.

xujun
2 REPLIES 2
Javier Juarez
Frequent Advisor

Re: How can I setup my HP DAT24 internal tape under HP-UX 10.20?

Choose the SCSI ID not used for tthe DAT24, connect it , You must add the proper driver, via SAM, the system must reconigze it at boot, if not, after boot, run the command " insf -e"
Good Luck !
Frank Slootweg
Honored Contributor

Re: How can I setup my HP DAT24 internal tape under HP-UX 10.20?

> I have tried to use command as following:
> mknod /dev/scsi/3 c 205 0x003000
> or
> mksf -C tape -I 0 /dev/rmt/tapename
>
> How can I choose instance number and LUN correctly?

Do *not* use mknod(1M) for making device files (unless *specifically* told to do so). Use the *sf(1M) commands for device files (lssf, insf, mksf and rmsf).

You can choose the LUN and (implicitly) the instance number by using "-H ...." instead of "-I ...". See for example the second example in "EXAMPLES" in the mksf(1M) manual page.

I.e. do a "ioscan -f", note the "H/W Path" of the line that has the HP DAT24 drive in its "Description" field, and use that as the parameter for the "-H" option.