Red Hat Bugzilla – Bug 66311
compress seems to stop after 2GB in big files
Last modified: 2007-04-18 12:43:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0; Q312461)
Description of problem:
compress appears to stop compressing after 2GB for large files. The file size
started at 4GB, but when uncompressing it only comes up to about 2GB.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use oracle export and import facility.
2. Set oracle environment
3. compress < file.dmp > file.dmp.Z &
4. exp username/password file=file.dmp full=y
5. uncompress < file.dmp.Z > file.dmp &
6. imp username/password file=file.dmp show=yes
Actual Results: After 4: Export terminated successfully without warnings
IMP-0009 - Abnormal end of export file
Import terminated successfully with warnings (which is oracle-sleak for 'it
Expected Results: Import terminated successfully
doing a 'strings' on the export file shows that no further data was stored
after the 2GB limit. I suspect that this is a similar bug to that in
the 'find' command that comes with the RedHat 7.2 release (now fixed)
A workaround, of course, is to use gzip, which appears to be ok, although I
haven't done the full tests yet. However I guess that compres, being
a 'proper' utility, should work properly.
Happens to me,too... working on a fix.
Fixed in latest ncompress.