Operating System - HP-UX
1845896 Members
4062 Online
110250 Solutions
New Discussion

Device files for robotic tape drives

 
SOLVED
Go to solution
Matthew Bullock
Occasional Contributor

Device files for robotic tape drives

When viewing the device files for robotic tape devices using ioscan, I can see the long and short names for three out of four devices. On the fourth device, I can see the long name(e.g. /dev/rmt/c1t2d0BESTnb), but not the short name (e.g. /dev/rmt/1m). I have checked the /dev/rmt directory and can see that there are device file created with a short name that do no appear to belong to any of the other drives. How do I create the shortnames for my remaining drive?
4 REPLIES 4
malvin drakley
Esteemed Contributor

Re: Device files for robotic tape drives

Hi Matthew, you could try running the command "insf" with the options -e and -H set on. This should create all your devices for you
hth
malvin
Not me Chief, I'm Radar
Matthew Bullock
Occasional Contributor

Re: Device files for robotic tape drives

Hi Malvin,
I have already tried a "plain" insf, I have just tried again, this time specifying the hardware path as suggested, but still no shortnames appear. Is there anything else that I can try?
Cheers,
Matt
Elmar P. Kolkman
Honored Contributor
Solution

Re: Device files for robotic tape drives

What you could do is remove /dev/rmt/*, for instance by moving /dev/rmt to /dev/rmt.old, re-create the directory (mkdir) and then run insf again. It seems that some old device files, not linked to existing hardware anymore, still exist.

And you know that these files are the tapedrives, not the robotics, I assume?
Every problem has at least one solution. Only some solutions are harder to find.
Matthew Bullock
Occasional Contributor

Re: Device files for robotic tape drives

I moved the directory as suggested and after doing the insf, the shortnames just pointed to the new directory.
I deleted the apparently redundant shortnames and ran nsf -e and this seems to have cured my problem.
Thank you for your assistance.

Merry Christmas,
Matt