1753989 Members
6709 Online
108811 Solutions
New Discussion юеВ

tape drive issue

 
SOLVED
Go to solution
Viney Kumar
Regular Advisor

tape drive issue

Hi

I have hpux server with HP-UX 11.23. Im trying to take ignite backup with a external tape drive.but when I was checked with
ioscan,/dev/rmt/xx device not avialable file.

already tried with insf -e
rmsf -a /dev/rmt/c2t3d0BEST
and again
insf -e

still im not getting /dev/rmt/xx device file for same tape drive......

find ioscan -fnC ouput

]# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/6/1/0.4.0 stape CLAIMED DEVICE HP Ultrium 3-SCSI
/dev/rmt/3m /dev/rmt/3mn /dev/rmt/c1t4d0BEST /dev/rmt/c1t4d0BESTn
/dev/rmt/3mb /dev/rmt/3mnb /dev/rmt/c1t4d0BESTb /dev/rmt/c1t4d0BESTnb
tape 2 0/6/1/1.3.0 stape CLAIMED DEVICE HP C7438A
/dev/rmt/c2t3d0BEST /dev/rmt/c2t3d0BESTn /dev/rmt/c2t3d0DDS /dev/rmt/c2t3d0DDSn
/dev/rmt/c2t3d0BESTb /dev/rmt/c2t3d0BESTnb /dev/rmt/c2t3d0DDSb /dev/rmt/c2t3d0DDSnb
6 REPLIES 6
Fabio Ettore
Honored Contributor

Re: tape drive issue

Hi,

try

insf -e -H 0/6/1/1.3.0

Best regards,
Fabio
WISH? IMPROVEMENT!
Viney Kumar
Regular Advisor

Re: tape drive issue

hi febio

thanks for reply but status still same
Fabio Ettore
Honored Contributor

Re: tape drive issue

Hi,

actually it's strange.
Just a last suggestion:

rmsf -H 0/6/1/1.3.0
ioscan -fnCtape
insef -e -H 0/6/1/1.3.0
ioscan -fnCtape

Please take commands exactly in this sequence.

If you still don't see special files, consider that you can create it manually by mknod:

cd /dev/rmt
mknod 0m c 205 0xXXYYYY

where 205 is the major number that you see from lsdev | grep stape (I suppose it's 205) and where 0xXXYYYY is the same minor number of special file c2t3d0BEST.

Then

mknod 0mn c 205 0xXXYYYY

wher this time 0xXXYYYY is the same minor number of c2t3d0BESTn.

Then

mknod 0mb c 205 0xXXYYYY

wher this time 0xXXYYYY is the same minor number of c2t3d0BESTb.

Then

mknod 0mnb c 205 0xXXYYYY

wher this time 0xXXYYYY is the same minor number of c2t3d0BESTnb.

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!
Pete Randall
Outstanding Contributor
Solution

Re: tape drive issue

Just rename the device files you have now.

mv /dev/rmt/c2t3d0BEST /dev/rmt/0m
mv /dev/rmt/c2t3d0BESTn /dev/rmt/0mn
mv /dev/rmt/c2t3d0BESTb /dev/rmt/0mb
mv /dev/rmt/c2t3d0BESTnb /dev/rmt/0mnb


In the past, I had written up the whole procedure (attached) to create device files that looked the way you wanted them, but then found it that a simple rename would accomplish the same thing with a lot less effort.


Pete


Pete

Re: tape drive issue

Not getting the correct Xm, Xmn, Xmb and Xmbn DSFs created is usually because there are some old ones for now removed devices hanging around... you can check this by running:

lssf /dev/rmt/* | grep '???'

All the DSFs returned by that command can be removed, and then re-run your insf and you should see the correct DSFs appear.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Viney Kumar
Regular Advisor

Re: tape drive issue

Hi pete

Its working

thanks