Operating System - Linux
1832515 Members
5062 Online
110043 Solutions
New Discussion

Mount a HP-UX tape device on a Linux machine

 
SOLVED
Go to solution
Jose Oscar Schmidt
New Member

Mount a HP-UX tape device on a Linux machine

Hi,
We have two servers:
1) A HP-UX 11.0 which is installed a DLT-8000 tape device;
2) A Linux ASE without any tape device.
We want to build a backup routine on the Linux, saving the data on DLT device across the network.
Is possible to mount the DLT device (/dev/rmt/0mnb) on the Linux machine, so we can reference it as a Linux local device? How can we do that?
Thanks,

Oscar
7 REPLIES 7
Steven E. Protter
Exalted Contributor
Solution

Re: Mount a HP-UX tape device on a Linux machine

You can not do this with a stanard HP-UX OS installation. Its simply does not support that.

Options:
scp the files across and use the backup device via a ssh command.

Veritas Netbackup does make HP-UX tape devices available on the network to certain clients, at least for their product.

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
Abdul Rahiman
Esteemed Contributor

Re: Mount a HP-UX tape device on a Linux machine

You may have the following options for your backup from Linux to HP-UX tape drive.

If you are doing a 'dump' backup from your linux system, you may be able to use the "rdump" command to backup.
#man rdump, for more info.

Setup NFS to mount your Linux filesystems on the HP-UX box and backup through NFS.

Or Use some standard backup software like Veritas or Legato to backup the whole environment in a client/server manner.

rsync would be a better utility than scp if the filesystem changes are minor and you could copy only changed files to the remote system.

HTH,
Abdul.
No unix, no fun
harry d brown jr
Honored Contributor

Re: Mount a HP-UX tape device on a Linux machine


You can not "remote" mount a tape drive unless your "backup" software has that facility.

BUT you can CHEAT:

linux box:

DO ONCE:
/sbin/mknod /tmp/stuffing p
echo "+ +" >.rhosts

TO DO BACKUPS:
cd /
tar -cvf /tmp/stuffing .

ON HP BOX

remsh linuxbox dd if=/tmp/stuffing | dd of=/dev/rmt/TAPEDRIVENAME


live free or die
harry
Live Free or Die
Stuart Browne
Honored Contributor

Re: Mount a HP-UX tape device on a Linux machine

Or you can just do it directly with the remsh command and pipes:

From hpux:

remsh linuxbox "cd /;tar cvf -" | dd of=/dev/rmt/TAPEDEVICE

If you're in remote-segments of the network, this also gives you the option to compress the stream to save bandwidth:

remsh linux "cd /;tar zcvf -" |

You can either write the compressed stream, or un-compress it before writing for better hardware-compression.

We do similar backup's here from about 8 servers around the office.
One long-haired git at your service...
KapilRaj
Honored Contributor

Re: Mount a HP-UX tape device on a Linux machine

I would do it in the following way ,

1. NFS mount the Linux Filesystems onto HPUX and backup.

Regds,

Kapil Raj
Nothing is impossible
Jose Oscar Schmidt
New Member

Re: Mount a HP-UX tape device on a Linux machine

Thank you all.

Oscar
Abdul Rahiman
Esteemed Contributor

Re: Mount a HP-UX tape device on a Linux machine

Oscar,
The way to thank in this forum is by assigning points to the responses you've received.
regds,
Abdul.
No unix, no fun