1753787 Members
7397 Online
108799 Solutions
New Discussion юеВ

Re: tape special file

 
juan ramos_1
Advisor

tape special file

Hi all
I am configurin a 4/60 ultriun library, the server can see the four drive with its special file but one of the drive just create the long special files "c13txdxBESTxx", the short one were not created "11m, 11mb etc.."
I romove all special tape special file and run the insf -eCtape command but nothing change.
Have somebady had sonthing like that.
Thanks
5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: tape special file

Juan,

You can make the device files yourself and name them anything you want. Just follow the attached procedure.


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: tape special file

This link may be the same instructions, since my browser can't open Pete's doc.

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-682735245+1104939645225+28353475&docId=200000067424466

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: tape special file

OK, I'll paste my procedure in case someone else can't open the attchment:



1. Use "ioscan" to find out what the current device files look like and what the instance number is:
ioscan -kfnCtape


2. Use "mksf" to create each of the four types of device files:

/sbin/mksf -d stape -I 12 -a -b BEST rmt/12m
/sbin/mksf -d stape -I 12 -u -b BEST rmt/12mb
/sbin/mksf -d stape -I 12 -a -n -b BEST rmt/12mn
/sbin/mksf -d stape -I 12 -u -n -b BEST rmt/12mnb


3. Use "ll" to compare your newly created device files with those created by the system. Major and minor numbers
should match between corresponding entries (205 0x061000 for both 12m and the equivalent c6t1d0BEST):

ll /dev/rmt |more

crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 12m
.
.
.
crw-rw-rw 1 bin bin 205 0x061000 Mar 17 08:40 c6t1d0BEST
.
.
.



4. repeat the ioscan to double check that your new device files are associated with the correct tape drive:

ioscan -kfnCtape



I was using 12m in the example but you can use anything you want.




I know that's not going to format very well - that's why I attached it - sorry.


Pete

Pete
erics_1
Honored Contributor

Re: tape special file

Juan,

Take a look in /dev/rmt at all the tape device files listed. I've seen past occurrences where device files were created manually in that directory. That prevented the system from creating the appropriate device files for a tape drive. Go through and rmsf the device files for all tape drives on the system. Look at /dev/rmt directory again. If there are any devices left, manually remove them and try creating the device files once again. I just ran into this problem last month.

Regards,
Eric
juan ramos_1
Advisor

Re: tape special file

Thanks all for your fast answer, i'll do the procedure