Operating System - HP-UX
1855940 Members
7757 Online
104107 Solutions
New Discussion

Re: remote backup via SAM

 
Joe White
Frequent Advisor

remote backup via SAM

I'm trying to backup a system remotely using SAM. The drive is a external 4mm drive connected to a system in another bldg. Both systems are HP-UX 10.20. When the fbackup job starts I get 'could not open :/dev/rmt/0m'. I've tried this with the /dev/rmt/c0t4d0BEST device file as well. I'm launching the backup in root's crontab and the permissions on the device files are 666 root:other. The .rhosts file on the system which has the drive has the remote system listed with root as the allowed user. Any ideas?
12 REPLIES 12
Stefan Farrelly
Honored Contributor

Re: remote backup via SAM


Ensure you can remsh to the remote server where the tape drive is as root without a password, eg. remsh -l root uptime
When it works you should have no trouble running your backup.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Denver Osborn
Honored Contributor

Re: remote backup via SAM

Have you verified that you are able to write to the tape and that a tape is in the drive?

Can you telnet to remote host and verify this? Maybe check remote hosts output of
# ioscan -fnCtape
Joe White
Frequent Advisor

Re: remote backup via SAM

I can both remsh to the system that has the tape drive and I use the tape drive regularly for local backups. Currently there is a tape in the drive.
Rick Garland
Honored Contributor

Re: remote backup via SAM

Have you tried remsh -n "tar -cvf /tmp/"?
Rick Garland
Honored Contributor

Re: remote backup via SAM

Whoops, that would be:

remsh -n "tar -cvf /dev/rmt/0m /tmp/"

Forgot the the device name.
P V Patel
Advisor

Re: remote backup via SAM

Hi,
This is because of network problem. You are unable to locate specified server. (try to ping server_ip, You may not reach to specified server. Include appropriate route (or default gateway) with route command and try to ping server again. After you will ping to server, you may not find this problem.
P V Patel
Punjabhai

Re: remote backup via SAM

Hi,

You can do the following before using the remote tape drive.

a. Enter name of both system in .rhosts
b. Enter name of both system in /etc/hosts
c. check rlogin works - If it is working your remote tape drive is ready.
d. Through sam - Networking and communication - System Access - Remote login
from Action menu - Add
User Access Allow *
Rlogin user passwd - Not required
Super user access - Allowed
Rlogin Super user passwd -
Root user not required -

tar is not supporting remote drive, only fbackup supporting remote drive.

Thanks
Amir
Joe White
Frequent Advisor

Re: remote backup via SAM

I don't believe this is a network problem. I'm able to rlogin to the tape drive system from the system I want to back up. The tape drive system has this system in it's .rhosts file and I've set up remote access via SAM as was suggested. Unless it's necessary, I didn't add the system to the tape drive's hosts file since we're DNS and each system can look up the other by hostname and ip address. I just tried another fbackup and got the same results.
P V Patel
Advisor

Re: remote backup via SAM

Hi,
Instead of host name specified ip address of remote host.e.g.
fbackup -f 11.1.3.30:/dev/rmt/0m -i /var/
P V Patel
Punjabhai
Joe White
Frequent Advisor

Re: remote backup via SAM

Replacing the hostname with the IP address was a good suggestion but unfortunately it didn't work.
Michelle Barton
Frequent Advisor

Re: remote backup via SAM

Did you get this too work? I'm having the same problem.

Thanks!
Joe White
Frequent Advisor

Re: remote backup via SAM

Yes, I did finally. After ensuring everything was set up and checked out according to all the suggestions mentioned previously, I tracked it down to the tape drive itself. I had to power it off and on (it's an external drive). I had rebooted the server and the power hadn't been cycled on the tape drive.