Operating System - HP-UX
1819586 Members
3337 Online
109603 Solutions
New Discussion

Re: Remote mount a tape drive

 
John Curtis
Occasional Advisor

Remote mount a tape drive

Hello,

I've some data on a DLT tape that I'd like to copy to a server without a DLT tape drive. I like to remote mount the tape drive accross the network, but I'm not familar with the process. Can someone help? Thanks.

Both servers are running HP-UX 11.0
1 REPLY 1
Shannon Petry
Honored Contributor

Re: Remote mount a tape drive

You can not remotely mount a tape drive, it's not a file system. You do however have a few options.

1. Move the DLT drive for the duration of your business.

2. use a remote shell to access the data. Basically, you can use a pipe to do this, depending on the archive format. If this is proprietary backup, it wont work. I.E. tar is okay, omniback will require omnibackup software.

To use a remote shell, the following will work

remsh 'dd if=/dev/rmt/' | tar xvf -

to put data on the tame
tar cvf - | remsh 'dd of=/dev/rmt/'

NOTE: DOnt use a -n option!
NOTE: you will be required to have access for remote shell without a password prompt. Either /etc/hosts.equiv or $HOME/.rhosts.

Regards,
Shannon
Microsoft. When do you want a virus today?