Operating System - HP-UX
1829035 Members
2553 Online
109986 Solutions
New Discussion

Re: missing device files for tape

 
SOLVED
Go to solution
Erwin I. Ticzon
New Member

missing device files for tape

Hi all,

I was hoping you could help us with this problem. Everytime we issue a '#ioscan -fnC tape' command,
we end up with the following output:

Class I H/W Path Driver S/W State H/W Type Description
======================================================================
tape 1 1/2/0/0.3.0 stape CLAIMED DEVICE HP Ultrium 2-SCSI
/dev/rmt/c24t3d0BEST /dev/rmt/c24t3d0BESTn
/dev/rmt/c24t3d0BESTb /dev/rmt/c24t3d0BESTnb
tape 0 1/12/0/0.5.0 stape CLAIMED DEVICE QUANTUM DLT8000
/dev/rmt/c57t5d0BEST /dev/rmt/c57t5d0BESTn
/dev/rmt/c57t5d0BESTb /dev/rmt/c57t5d0BESTnb

The other tape device files seem to be missing such as '/dev/rmt/0m' and '/dev/rmt/0mn'. What could be the reason for this, aside from the files being deleted manually? And how can we restore the files again?

Many Thanks,
Erwin
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: missing device files for tape

Just issue an "insf" command to recreate any missing device nodes. Almost certainly the short forms of the devices nodes were rm'ed by someone. Man insf for details. You also have the option of simply using the mknod command to create the missing short forms of the device nodes; just make certain that the major/minor device number tuples that you supply to mknod match those of the corresponding long form name of the device node.
If it ain't broke, I can fix that.
Ganesh Balraman
Regular Advisor

Re: missing device files for tape

Dear Sir,

1.Run insf -e ( This will create special files whichever was not present in the system).

2.Run insf -H < Hardware path>.(Specific hardware device will be built.


Regds
B.Ganesh