Ontape -s : Could not write archive tape
Posted in 1999
Topics: Backup & Restore, Logging & Checkpoints
I performed a Level-0 archive using ontape -s command. It proceeded
until 50% then the terminal hang;
The process still alive even though I used "kill -9 " to terminate it.
Then, I back-up the logical log. Only then I managed to succesfully
terminate the process using "kill -9".
I issued the level-0 archive again . This time it say "Could not write
archive tape"
Any of you have faced similar error message?
Appreciate if you could share your experience and knowledge.
Thanking you for your time;
Best Regards
Fauziah Ayob
Using kill -9 on any job that uses Online is risky. You, maybe, should have
tried the -15 option first !!
I think that the reason it won't archive to tape the second time is that the
original ontape is still ruinning a thread - you will need to kill the
process off within Informix (using onstat -u to get the thread thats running
the ontape then use onmode -z or onmode -Z to kill it off )
We had a similar problem, and had to re-initialise the server.
Also, try and investigate further as to why the archive hung in the first
place. Is the TAPESIZE value too big for the tape ? Did anyone pop the tape
out in error ? ( it has been done before, believe me ).
Hope this helps
Sean.
Fauziah@mesiniaga.com.my wrote in message
<79dt0m$5tp$1@news.xmission.com>...
>
>I performed a Level-0 archive using ontape -s command. It proceeded
>until 50% then the terminal hang;
>The process still alive even though I used "kill -9 " to terminate it.
>
>Then, I back-up the logical log. Only then I managed to succesfully
>terminate the process using "kill -9".
>
>I issued the level-0 archive again . This time it say "Could not write
>archive tape"
>
>
>Any of you have faced similar error message?
>
>Appreciate if you could share your experience and knowledge.
>
>
>
>Thanking you for your time;
>
>
>Best Regards
>Fauziah Ayob
>
>
Hi,
Your database version is quite significan !?.... So please mention those as well.
Safe thing to do;
Change your TAPEDEV to point it to a file and try backup again to make
sure you do not have a bad tape...
I believe what happened is when you were archiving your system your logs got
full and the system stopped...That is why it is best to have two tapes =)...
Cihangir BIYIKOGLU
Informix Software Ltd. (UK)
>I performed a Level-0 archive using ontape -s command. It proceeded
>until 50% then the terminal hang;
>The process still alive even though I used "kill -9 " to terminate it.
>
>Then, I back-up the logical log. Only then I managed to succesfully
>terminate the process using "kill -9".
>
>I issued the level-0 archive again . This time it say "Could not write
>archive tape"
>
>
>Any of you have faced similar error message?
>
>Appreciate if you could share your experience and knowledge.
>
>
>
>Thanking you for your time;
>
>
>Best Regards
>Fauziah Ayob
>
In article <79f90j$af91@webint.na.informix.com>, Cihangir <cihangir@informix.com> writes > Hi, > > Your database version is quite significan !?.... So please mention > those as well. > > Safe thing to do; > Change your TAPEDEV to point it to a file and try backup again to > make > sure you do not have a bad tape... > > I believe what happened is when you were archiving your system your > logs got > full and the system stopped...That is why it is best to have two > tapes =)... > > > Cihangir BIYIKOGLU > > Informix Software Ltd. (UK) > Not the same Cihangir how recently handled a support case for me with Online 7.30.UC3 where shared memory was corrupt and online crashed?? Welcome to comp.databases.informix (c.d.i) PS I handle the c.d.i FAQ www.smooth1.demon.co.uk PPS If your working in the Engines section say hi to Fatima for me!! I see you standin'....standing on our own, It's such a lonely place for you, for you to be And if you think I ever meant you harm.. Gun's 'n Roses. RIP