Operating System - HP-UX
1838661 Members
8361 Online
110128 Solutions
New Discussion

Making local tape available on remote system

 
Craig A. Sharp
Super Advisor

Making local tape available on remote system

I need to be able to make a local tape drive on my N-Class available to my K-Class and have the K-Class be able to use the drive as if it were local.

I have tried using the following line on the K-Class:

roushprod:/dev/rmt/3m

This does not work for what I need to do. If I try to do an OS backup to this device it works fine. I am trying to do an Informix archive to the remote tape but the Informix software cannot use a remote tape device as specified above. Hence the need to make the K-Class see the remote drive as a local drive.

Thanks,

Craig
5 REPLIES 5
Roger Baptiste
Honored Contributor

Re: Making local tape available on remote system

hi,

You can use fbackup to use the remote tape drive .

or

from the remote system do:

remsh $sourcesystem "find $DIR | cpio -ocvx" | compress | dd of=/dev/rmt/0mn

You would need to have .rhosts entry set in the source system.


HTH
raj
Take it easy.
Sridhar Bhaskarla
Honored Contributor

Re: Making local tape available on remote system

Dunno if this solution works. But you can give a try.

Create a pipe on your system and read it through remsh on the other system dumping on the tape drive.

Backup your data to this file

#mknod /tmp/testpipe p

Now use your tools to dump the backup onto the test pipe.

Read the pipe from the roushprod system

remsh k-server dd if=/tmp/testpipe |dd of=/dev/rmt/0m

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Sanjay_6
Honored Contributor

Re: Making local tape available on remote system

Hi Craig,

You cannot export a local tape drive to another system. you have to use remsh to use cpio/tar/fbackup. Try this link below for more info,

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=09449ab4123592568d/screen=ckiDisplayDocument?docId=200000007948711

Hope this helps.

Regds
Craig A. Sharp
Super Advisor

Re: Making local tape available on remote system

Ok, thanks for the replies.

I am not able to do the idea with cpio and the remote as this is an Informix database on a raw partition.

The idea of using a pipe looks interesting. I may have to give that a try. Can the pipe be a mounted filesystem on another box? I am unfamiliar with the pipe function.
How to I remove the pipe when I am done with the backup?

Thanks
Sridhar Bhaskarla
Honored Contributor

Re: Making local tape available on remote system

Hi Craig,

You cannot it use through mounted file system as the pipe is not an ordinary file and the in/out stream should be on the same system. You need to accomplish it through remsh and a dd.

You can simply use rm to remove this file.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try