I've got a problem with the tar command on AIX 4.2.1:
when the archive is larger than 1.5 Go, I've got this message :
tar: tape write error: unexpected EOF
This is a problem with Ingres backup system which use tar comand to
create a file.
I think this is an internal tar command problem.
could you help me ?
It's very well possible you've got the fsize set to 1.5 Gb (3145728
blocks) for that specific user. You can set it through smit (smitty
chuser) to -1 (unlimited).
> >I've got a problem with the tar command on AIX 4.2.1:
> >when the archive is larger than 1.5 Go, I've got this message :
> >
> > tar: tape write error: unexpected EOF
> It's very well possible you've got the fsize set to 1.5 Gb (3145728
> blocks) for that specific user. You can set it through smit (smitty
> chuser) to -1 (unlimited).
File size is ignored when writing to tape media. Limit setting has
no bearing, unless the backup 'tape' is another disk file.
Suspect the size of your backup media!!
Things to remember:
1) Most database systems use spare files, thus files WILL expand
unless a backup utility is used that 'groks' sparse files.
tar is NOT one of those. Does GNU tar?
2) The tar command may NOT like to actually hit a physical end of tape.
This can be avoided by specifiying the size of the backup media
via the -S flag if needed. Tar will switch volumes when the
calculated bytes have been written.
3) Make sure /tmp has some work room for tar.
--
Mark Whetzel My comments are my own, not my company's.
Western Geophysical - A division of Baker Hughes
E-mail: mark.w...@westgeo.com
VOICE: (713) 689-2544 FAX: (713) 689-2758