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

gzip problem (Value too large to be stored in data type)

1,416 views
Skip to first unread message

Son of beach

unread,
Feb 11, 2003, 9:40:57 PM2/11/03
to
I have a Oracle dump file which is more than 2G in my AIX machine.
After I type the command "tar -cvf aaa.dmp.tar aaa.dmp", there is no error.
However, when I type the command "gzip aaa.dmp.tar", the following error
occurs:

aaa.dmp.tar: Value too large to be stored in data type

So how can I solve this problem?


Olof Johansson

unread,
Feb 11, 2003, 9:57:59 PM2/11/03
to

Easiest way to work around that is to use stdin and stdout on gzip:

# gzip < aaa.dmp.tar > aaa.dmp.tar.gz

You will of course need to make sure that the resource limits are set
high enough as well.


Regards,

Olof

Son of beach

unread,
Feb 12, 2003, 1:49:22 AM2/12/03
to
Actually, I really get the error and cannot gzip the file, so I can't just
ignore the error message.


"Olof Johansson" <of...@localnet.sh> źśźgŠóślĽó
news:slrnb4je0...@server.localnet.sh...

Mark Taylor

unread,
Feb 12, 2003, 4:24:37 AM2/12/03
to

cat file | gzip > file.gz && rm file

should sort the error messages...(make sure your ulimits are big enough
for the user who runs this ect)

As a side point --> how big is your tar file. tar is only valid for
files up to 2GB. any bigger and you will get corruption of your
tarball (no errors either). use pax or i think gnutar has got around
the 2gb limit.

Rgds
Mark

--
Posted via http://dbforums.com

0 new messages