Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[AIX 4.2.1] Tar command problem.

871 views
Skip to first unread message

Youps

unread,
Sep 27, 2000, 3:00:00 AM9/27/00
to
Hello,

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 ?

Youps

unread,
Sep 28, 2000, 3:00:00 AM9/28/00
to

Alkoholic

unread,
Sep 28, 2000, 3:00:00 AM9/28/00
to
On Wed, 27 Sep 2000 17:31:14 +0100, Youps <yo...@pop.multimania.com>
wrote:


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).

Mark Whetzel

unread,
Oct 13, 2000, 3:00:00 AM10/13/00
to
In comp.unix.aix Alkoholic <alko...@drinks.com> wrote:
> On Wed, 27 Sep 2000 17:31:14 +0100, Youps <yo...@pop.multimania.com>
> wrote:

> >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

0 new messages