Operating System - HP-UX
1833323 Members
3091 Online
110051 Solutions
New Discussion

gtar not displaying end of media message

 
SOLVED
Go to solution
Tom Wolf_3
Valued Contributor

gtar not displaying end of media message

Our DBA is using the gtar command to backup Oracle files on an HP-UX 11i server. He's including the uppercase F otion with gtar to run a short script whenever an end of tape condition occurs. This script simply clears the screen and prompts the operator to load a new tape and press Y to continue. He tested this gtar command using this script on an rp3440 server running HP-UX 11i and it ran just fine. When he tried running this same gtar command on a rp7410 HP-UX 11i server, the output of the script specified with the F option doesn't work (the script output doesn't display on the console).

I know this is a bizarre sounding situation but I was wondering if anyone else encountered anything like it.

If anything I've written here is unclear, I can provide clarification.

Any help will be greatly appreciated.


Thanks in advance.
4 REPLIES 4
Solution

Re: gtar not displaying end of media message

Hi Tom,

Please compare the terminal settings on both the systems and see if you see a difference ?

Bhanu
Peter Nikitka
Honored Contributor

Re: gtar not displaying end of media message

Hi,

are you sure, that the script is really executed?
Perhaps there is more space on the tar-device of the rp7410.
Put somethings like
...
echo tar-finished >/tmp/backup.tst

in your script and check for that file.

mfG nik
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Tom Wolf_3
Valued Contributor

Re: gtar not displaying end of media message

It turns out we were using a corrupt version of gtar. I downloaded a new version from
http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.15/ and now the script is functioning as intended. I probably should of tried that before going to the ITRC forums.

Anyway, I appreciate all the suggestions offered.

Thanks.

Tom Wolf
Peter Nikitka
Honored Contributor

Re: gtar not displaying end of media message

Hi,

I've seen that in your forum statistics:
I have assigned points to 0 of 19 responses to my questions.

You really should assidn some points - the forum relies on you.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"