cancel
Showing results for 
Search instead for 
Did you mean: 

rmt directory lost

 
SOLVED
Go to solution
Highlighted
Advisor

rmt directory lost

i have a server with HP UX
i was trying to perform a backup on tape,
and during the operation, i got an error "can't find file 0m on /dev/rmt"
i tried to check this directory but i didn't find it at ll.so that it seems that is not existing due to an unknown cause.

i can't perform the backup,can you please help ?
if i copied these files (the directory /dev/rmt and all its files) from another working server with the same type and X version, is this going to be a valuable solution or it will cause more problems ?!

thanks in advance
4 REPLIES 4
Highlighted
Advisor

Re: rmt directory lost

sorry , the server type is rp3440
and the HP UX ver B.11.11 U
Highlighted
Honored Contributor
Solution

Re: rmt directory lost

First recreate the /dev/rmt/directory itself

mkdir /dev/rmt

The permissions should be 755 and the owner bin:bin on the /dev/rmt/directory.

drwxr-xr-x 2 bin bin 1024 Dec 3 10:52 /dev/rmt

Then run insf to recreate the device files.

insf -C tape

Highlighted
Advisor

Re: rmt directory lost

Thanks for your answer:
actually it didn't create all the files.
so i tried

insf -e


then everything was created as before.
Highlighted
Advisor

Re: rmt directory lost

the command insf -e solved the problem