Operating System - HP-UX
1833792 Members
2530 Online
110063 Solutions
New Discussion

Re: Unloading tape on a remote host from Net backup software fails

 
Chimbu Thankachan
New Member

Unloading tape on a remote host from Net backup software fails

We have Veritas net backup software running on 3 HP/UX 11.11 servers . One of them is a master server and other two are media servers. Tape Library is hooked up to one of the media servers. When we try to run a backup job from one media server going to tape libary connected to the other media server, everything works fine till the last step whenre it fails to unload the drive. We get the following ems error on the media server controlling the tape library.

=============

Description of Error:
An attempt was made to access a device which was reserved by another initiator

SCSI Status...: RESERVATION CONFLICT (0x18)
Indicates that the driver attempted to access a logical unit or an extent within a logical unit that was reserved with a conflicting reservation type for another SCSI device.

==========

we get the following error on the media server intitating the backup job

Apr 5 15:40:16 us-bkup1 tldd[6223]: TLD(2) unload failed in io_open, I/O error[5]
Apr 5 15:40:17 us-bkup1 tldd[1307]: DecodeMount(): TLD(2) drive 2, Actual status: STATUS_SUCCESS
Apr 5 15:40:17 us-bkup1 ltid[1247]: LTID - received ROBOT MESSAGE, Type=54, LongParam=0, Param1=22, Param2=1
Apr 5 15:41:03 us-bkup1 tldd[1307]: DecodeMount(): TLD(2) drive 1, Actual status: Unable to SCSI unload drive
==============

Any help in fixing this error will be appreciated
1 REPLY 1
Anil C. Sedha
Trusted Contributor

Re: Unloading tape on a remote host from Net backup software fails

Chimbu,

Try this.. Not a very clean solution but worth a try atleast.

Write a script which will monitor the log file for the backup. This script can monitor the log file using cron every 10 mins or 15 mins.

Once the backup ended successfully message gets into the log file, the following command must be executed -

mt -f offline

This should forcibly try to get the tape out of the media library. Please let me know if it worked or not.

Thanks
Anil
If you need to learn, now is the best opportunity