Operating System - HP-UX
1753505 Members
6803 Online
108794 Solutions
New Discussion юеВ

Using special files in HPUX

 
Lenin EMC
Visitor

Using special files in HPUX

Hi all,

We have a customer with an EMC Disk Library attached to a HPUX Server and configured on Veritas Netbackup. The Virtual tape library is emulating a STK L700 tape library with 20 tapes drives.

The tape library has been discovered from the server (HPUX 11.23) and the output of an ioscan command are like this:

For example for the first drive discovered:
0m
0mn
0mnb
c4t0d0BEST
c4t0d0BESTn
c4t0d0BESTnb

all the special files correspond to the same drive. The EMC Disk library has the feature of activate hardware compression for each virtual drive but when one backup job is started the compression is disabled on the EDL's side. Software compression is NOT activated on Netbackup.

I've realized that the drive in netbackup has been configured using the CxTxDxBESTnb special file and this format is deactivating the compression of the drive. I've deployed a test using just the CxTxDx format of the special file and the compression of the drive does not change and remain active. The problem here is that I don't have the CxTxDx special file format available for the other drives, so my question is, how can I generate all the special files in this format?

Regards

Lenin.
6 REPLIES 6
F Verschuren
Esteemed Contributor

Re: Using special files in HPUX

an insf will create this files.

most of the times a
rmsh -H (Hartware path of divice)
insf -ev
will do

if not you can creat the file whit insf...

Tim Nelson
Honored Contributor

Re: Using special files in HPUX

Just use /dev/rmt/0m. It is linked to c4t0d0BEST. This means use all the tape drive features, or "just let the tape handle it"

the "b" is for berkley style, if that is what you want then use /dev/rmt/omb

the "n" is for no-rewind.

I do not believe the no-compression is created by default. You have to creat it manually. BUT, why do that, again let the tape drive handle it by using BEST/0m

johnsonpk
Honored Contributor

Re: Using special files in HPUX

Hi,
try using mksf
#mksf -C tape -H

Thanks!!
Johnson
Rasheed Tamton
Honored Contributor

Re: Using special files in HPUX

Hi Lenin,

In addition to the above,

man 7 mt
for detailed info for the tape devices.

Using lssf on the device name would show the characterisitcs of it.

lssf /dev/rmt/0mn

ll /dev/rmt/*|awk '{print $NF}'|xargs lssf|more

Regards,
Rasheed Tamton.
Dennis Handly
Acclaimed Contributor

Re: Using special files in HPUX

>Rasheed: ll /dev/rmt/*|awk '{print $NF}'|xargs lssf

Any reason you don't use lssf(1m) directly?
lssf /dev/rmt/*
Rasheed Tamton
Honored Contributor

Re: Using special files in HPUX

>Dennis: Any reason you don't use lssf(1m) directly?
lssf /dev/rmt/*

Oops!!!
May be I badly needed a good coffee!