I don't think the error is because of the informix ontape command.
This seems to be a system error causing that error.
Because I am also backup close to 50GB data everynight using ontape -L -0, and we don't have any problem. I believe the problem is your device and the blocksize that you are specified. I don't think the block size of your hard disk is 16. It should be more than 16. try to change to 512. You better check your OS block size first.
Second, Informix performs some internal steps before performing a backup, enough space should be available for the logical log. if total logical log free space is less than one halg of a logical log file, the process will be aborted.
Check those first and try again.
Otherwise, Just use dbexport instead. It should be more reliable if you want to have a copy on the hard disk.
Quote:
Originally posted by tony_b
Hi,
I have a problem with informix ontape utility.
the ontape utility worked well until i add a new database to my server.
TAPESIZE parameter in onconfig file was 2048000 , i increase it to
5120000 but the ontape stops as soon as the quantity written reachs
2GB and i have this error message :
Archive failed - function write to tape failed code -1 errno 27
my configuration parameters are :
# System Archive Tape Device
TAPEDEV /app/informix920uc2/ifxbackup/db_bkp.dat # Tape device path
TAPEBLK 16 # Tape block size (Kbytes)
TAPESIZE 5120000 # Maximum amount of data to put on
tape (Kbytes)
is INFORMIX able to backup an instance whose size is bigger than 2 GB on a hard disk ? (not on tape)
is there any other utility which can backup more than 2 GB on disk ?
Thanks a lot .
|