Remote Backups to a Tape

My tape library is broken but backups still need to go on .I have 2 boxes running Solaris 10

Got SCSI tape drive attached to the DEV box ( my PROD Box has only fibre)
I want to take the prod backup from the DEV box using ufsdump. ie

/usr/sbin/ufsdump 0uvf DEV:/dev/rmt/1n /dev/rdsk/c5t600015D000032100000000000000482Ed0s0

I've entered the PROD server name in the /.rhosts in DEV and vice versa

tape status via PROD is not possible

root@PROD # mt -f DEV:/dev/rmt/0 status
DEV:/dev/rmt/0: No such file or directory

in DEV it works

root@DEV # mt -f /dev/rmt/0 status
HP Ultrium LTO 2 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
root@DEV #

The two servers are on the same network and can ping each other. There are also some NFS mounts between the two

Is there a step I'm missing out ? which other files should i configure

Thanking you

Msoro

The dump/restore routines have a built-in rsh handler for execution on other boxes, and rsh knows how to interpret DEV:. The mt program does not, so that the DEV: syntax means nothing to it.

You'll need to run rsh or ssh like this:

rsh HOST -l USERNAME -n mt -f /dev/rmt/0/status

Thanks a lot Otheus. I have two servers which require backup on the tape drive in the remote server.

When i test the tape status from my two servers one works but the other gives an error "permission denied" as indicated below.

root@QAS # rsh DEV -l root -n mt -f /dev/rmt/0 status
HP Ultrium LTO 2 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0
root@QAS #

root@PRD#
root@PRD#rsh DEV -l root -n mt -f /dev/rmt/0 status
permission denied

I've configured both /.rhosts & /etc/hosts.equiv in all the 3 servers to allow root user access.

Kindly give me the syntax for taking a ufsbackup on the remote tape drive .

Regards