If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > ontape -c doesnt seem to work

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-18-07, 02:51
rupee2003 rupee2003 is offline
Registered User
 
Join Date: Apr 2003
Location: Melbourne, Australia
Posts: 53
ontape -c doesnt seem to work

Hi All,

I have Informix v10.00.UC6 installed on AIX v5.3 ML 5. When i try to backup the logical log using the command "ontape -c" I get the following message

aix:/home/informix>ontape -c

Performing continuous backup of logical logs.

Please mount tape 1 on /dev/rmt0 and press Return to continue ...


Tape is full ...

Please label this tape as number 1 in the log tape sequence.

This tape contains the following logical logs:
40 (partial)

Please mount tape 2 on /dev/rmt0 and press Return to continue ... ^C
Interrupt received ...

Logbackup failed - Log backup terminated prematurely.


Program over.

The setting on the onconfig file is as follows

LTAPEDEV /dev/rmt0 # Log tape device path

LTAPEBLK 32 # Log tape block size (Kbytes)

LTAPESIZE 10240 # Max amount of data to put on log tape (Kbytes)


I have tested the tape drive by running a tar command to copy a single file and that was successful. After this i erased the tape to make its a blank tape that use for this logical backup. However, the result seems to suggest otherwise.

Any ideas on what might be the problem?

Appreciate your time.

-Raghavan
Reply With Quote
  #2 (permalink)  
Old 06-18-07, 07:36
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
Try set LTAPESIZE to 0 .
With this configuration IDS will be try use the fully tape..

http://publib.boulder.ibm.com/infoce...c/adref110.htm
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________

Last edited by ceinma; 06-18-07 at 07:46.
Reply With Quote
  #3 (permalink)  
Old 06-18-07, 07:50
rupee2003 rupee2003 is offline
Registered User
 
Join Date: Apr 2003
Location: Melbourne, Australia
Posts: 53
Hi Ceinma,

Thanks for getting back to me on this.

Yes, as you have mentioned i can either set the LTAPESIZE to 0 or to the size of the tape thats getting loaded. This resolved the issue.

Appreciate your help
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On