Operating System - HP-UX
1833870 Members
1631 Online
110063 Solutions
New Discussion

Re: how to create /dev/rmt/2m device file??

 
Supen Kumar Khan
Occasional Contributor

how to create /dev/rmt/2m device file??

The PA-RISC rp-3410 having HU-UX11iv11, having a Tape Library attached with SAN switch.The server is also attached with same SAN.
I am not getting the device file /dev/rmt/2m,or/dev/rmt/2mn and instead of that there is /dev/rmt/tsmmt2 which don't support fbackup...if any body knows please help me.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: how to create /dev/rmt/2m device file??

Shalom,

insf -e

That should create the device if the tape drive is is connected and configured correctly.

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
Ignacio Javier
Regular Advisor

Re: how to create /dev/rmt/2m device file??


Hello:

Maybe there is a problem with the SAN configuration. Talk to the SAN group to see if they have configured it correctly.


Regards
Reshma Malusare
Trusted Contributor

Re: how to create /dev/rmt/2m device file??

Hi Supen,
"insf" runs automatically during boot,it can be run manually to recreate accidently removed device files or to create device files for newly device.
#insf -e --> recreates missing device files
#insf -eH --> recreates device files for specific auto configurable device.

You can also use "mksf"
mksf --> for tape drives & other devices that supprt many device dependent options.
The mksf command makes a special file in the devices directory, normally /dev, for an existing device, a device that has already been assigned an instance number by the system. The device is specified by supplying some combination of the -C, -d, -H, and -I options. If the options specified match a unique device in the system, mksf creates a special file for that device; otherwise, mksf prints an error message and exits.

/sbin/mksf [-C class | -d driver] [-D directory] [-H hw-path] [-I instance] [-q|-v] [driver-options] [special-file]

/sbin/mksf [-C class | -d driver] [-D directory] [-H hw-path] -m minor [-q|-v] [-r] special-file


DCE
Honored Contributor

Re: how to create /dev/rmt/2m device file??

Hello Supen

If insf does not create the device file, you should remove all of the device files for that address with rmsf -H xxxxxxx, then run insf -H xxxxxx to create all new device files
Torsten.
Acclaimed Contributor

Re: how to create /dev/rmt/2m device file??

Hi,

it may be helpful to post the type of the library. It looks like this is not a HP lib.

Perhaps you need additional software / procedures because of this.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!