Operating System - HP-UX
1830045 Members
8453 Online
109998 Solutions
New Discussion

error while unzipping--urgent

 
SOLVED
Go to solution
Bhushan Bumber
Frequent Advisor

error while unzipping--urgent

Hello gurus,
I am trying to clone an oracle apps on HP-UX 11.11.I made 5 big tar files(each more than two GB) and zipped them with this command
tar cvf | zip filename.tar.zip -
Took the backup on a DDS3 tape with tar command with following command
tar -cvf /dev/rmt/1m
then i took these files on destination server.I restored these file with following command
tar -xvf /dev/rmt/1m
Now i am trying to unzip and untar these files using the following command
unzip | tar xvf -
After unziping for 2 gb,the system shows a write error disk full.
I have checked following things already
1) The large files option is enabled for the volume.
2) There is lot of space for the file so no space problem.
3) The ulimit is unlimited.

Please tell where i m wrong and why i am getting this error and how to solve this problem.


Bhushan
There is a solution to every problem.
4 REPLIES 4
Mel Burslan
Honored Contributor

Re: error while unzipping--urgent


Did you try using gunzip instead ?

There is some good information on the FAQ section of this page:

http://www.gzip.org/

about the file sizes of .gz archives I believe
________________________________
UNIX because I majored in cryptology...
Steven E. Protter
Exalted Contributor

Re: error while unzipping--urgent

standard tar/gzip both have size limitations. 2 GB to be exact.

The standard JFS/vxfs filesystem in HP-UX also has that limiation.

You can patch tar/gzip to get the limit up to at least 8 GB.

You can use fsadm to enable largefiles on a filesystem if its beg enough and newfs if you don't care about what data is on it.

Based on your post I'd say your zip utilities need to be patched.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: error while unzipping--urgent

You have to use GNU's tar to do this,
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.15.1/

# tar -zxvf

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

Re: error while unzipping--urgent