1847578 Members
3585 Online
110265 Solutions
New Discussion

gzip fail

 
SOLVED
Go to solution
???_185
Regular Advisor

gzip fail

I tried command.
[ch2:/devhosp]gzip test_tar.tar
test_tar.tar: Value too large to be stored in data type
#fsadm -F vxfs /devhosp
largefiles
what happens?
11 REPLIES 11
???_185
Regular Advisor

Re: gzip fail

the size is 6G
Adisuria Wangsadinata_1
Honored Contributor

Re: gzip fail

Hi,

Did you try to extract the file by using 'tar' command :

# /usr/bin/tar xvf test_tar.tar

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Denver Osborn
Honored Contributor

Re: gzip fail

You didnt mention what rev of gzip you are using. older revs would limit you to 2GB... You should probably look at getting a newer rev of gzip.


-denver
Adisuria Wangsadinata_1
Honored Contributor

Re: gzip fail

Hi,

Check the gzip version :

# gzip -V

Largefiles is supported starting with public doman gzip version 1.3.1 and above.

The latest version can be found at 'The HP-UX Porting and Archive Centre' at this url below :

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gzip-1.3.5/

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
???_185
Regular Advisor

Re: gzip fail

I installed 1.3.5 version.But the system recognize as 1.2.4 version.
So, I edited files.
PATH=/usr/local/bin:/opt/xppa:$PATH ->.profile
/usr/bin:/usr/local/bin: -> /etc/PATH

and, what is opt/xppa in profile?
Adisuria Wangsadinata_1
Honored Contributor
Solution

Re: gzip fail

Hi

You can try first to run the gzip with full path (just to make sure that you using gzip v.1.3.5).

Use 'whereis' command to get the gzip v.1.3.5 :

# whereis gzip

And run gzip with full path & option '-V' to get the correct one (if you have more than 1 gzip in your system) :

# full_path_gzip -V

After that extract test_tar.tar file with gzip v.1.3.5 :

# full_path_gzip_v.1.3.5 test_tar.tar

FYI, xppa is a part of performance advisor (OpenView's product).

Hope this information can help.

Cheers,
AW
now working, next not working ... that's unix
Vibhor Kumar Agarwal
Esteemed Contributor

Re: gzip fail

Recently i also got stuck with the above problem:

Use the following:

dd if=input_filename bs=1024k | gzip - | dd of=output_filename bs=1024k

And just the opp. to decompress.
Now no matter waht's the size, let it be 100GB, this will work.
Vibhor Kumar Agarwal
Muthukumar_5
Honored Contributor

Re: gzip fail

Your file system is largefiles. ok. what is space existing on that specific file system?

# bdf

It may be the problem to get that ERROR.

To found whereis gzip available then,
which gzip

if not found then, find / -name "gzip"

post what is the version you are using there.

what

hth.
Easy to suggest when don't know about the problem!
???_185
Regular Advisor

Re: gzip fail

I solved.
there is a gzip 1.2.4 version file when I install 11.23 os.
and then I isntalled 1.3.5.
but it didn't work.becasue system know gzip as 1.2.4 version.
-whereis gzip
/usr/contrib/bin/gzip /usr/local/bin/zip
which gzip
/usr/contrib/bin/gzip
gzip -V
1.2.4

I changed profile parameter.
PATH=/usr/local/bin:/opt/xppa:$PATH ->.profile
/usr/bin:/usr/local/bin: -> /etc/PATH
whereis gzip
gzip: /usr/local/bin/gzip /usr/contrib/bin/gzip /usr/local/man/man1/gzip.1 /usr/contrib/man/man1.Z/gzip.1
[cnuh2:/]which gzip
/usr/local/bin/gzip
[cnuh2:/]gzip -V
gzip 1.3.5
(2002-09-30)
Copyright 2002 Free Software Foundation
Copyright 1992-1993 Jean-loup Gailly
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT
Written by Jean-loup Gailly.

I want to know xppa more specifically.
because I insert PATH=/usr/local/bin:/opt/xppa:$PATH, the system knew right PATH.

Arunvijai_4
Honored Contributor

Re: gzip fail

I feel /opt/xppa relates with XP Arrays ? Do you have that connected to your server ?

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Adisuria Wangsadinata_1
Honored Contributor

Re: gzip fail

Hi,

Rectification :

xppa is a part of hp StorageWorks performance advisor, check the url below for your reference :

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00500943/c00500943.pdf

On page 4, you will see that AIX, HP-UX, Linux, and Sun default location at /opt/xppa.

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix