Unix Technical Forum

gzip error on tar file 8GB

This is a discussion on gzip error on tar file 8GB within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> I am trying to tar and compress a database backup directory. It does not have GNUtar so I can't ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 04:48 PM
LHradowy
 
Posts: n/a
Default gzip error on tar file 8GB


I am trying to tar and compress a database backup directory. It does not
have GNUtar so I can't tar -czf file.

So I am breaking it down, first I tar the file to another directory that was
big enough to hold the 8GB tar.
cd backup_dir ; tar cf /some/other/directory/offline_backup.tar .

Now when I try to gzip the file I get an error...
server$gzip offline_backup.tar
offline_backup.tar: Value too large to be stored in data type

I am at my witts end...

I do have a question...
If I install GNUtar, will I still get the same error it tries to compress
the file...

This is my config...
HP-UX B.11.00 U 9000/800
server$gzip -V
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 04:49 PM
michael abootorab
 
Posts: n/a
Default Re: gzip error on tar file 8GB

yes , it works and its faster.

Michael

"Dennis Handly" <dhandly@cup.hp.com> wrote in message
news:3f1921c7$1@usenet01.boi.hp.com...
> michael abootorab (mxa@yahoo.com) wrote:
> : try: cat bigfile | gzip > bigfile.gz
>
> Would the following work better?
> gzip < bigfile > bigfile.gz
>
> Assuming gzip doesn't stat stdin?



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com