1832765 Members
3310 Online
110045 Solutions
New Discussion

Re: Tar

 
SOLVED
Go to solution
William Pribble
Frequent Advisor

Tar

Is there a file size limit that tar can handle? I am trying to tar up large files, (larger then 2GB) and I seem to be having problems.

also if there is a file sixe limit, can I get a round it?

Thanks
8 REPLIES 8
Ken Hubnik_2
Honored Contributor
Solution

Re: Tar

Yes, native tar has a 2 gig limit. You can try to compress the files to see if you can get them under 2 gig or get a copy of gnutar it does not have the limitation.
Sridhar Bhaskarla
Honored Contributor

Re: Tar

You would have searched this site. There are at least 100 msg on this problem.

Tar does not support files over 2GB. You can use fbackup to get around it.

If you want to use tar, then you will need to get gnu version of it.

Try from

http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Oleg Zieaev_1
Regular Advisor

Re: Tar

Hello.

check you have largefiles option on for the file system you are putting files to.

There is also a chance that your tar is not updated/patched.

We do create files over 3GB with tar, no problem. So it should not be an issue, unless it is not patched.

Hope this helps,
0leg
Professionals will prevail ...
A. Clay Stephenson
Acclaimed Contributor

Re: Tar

If you are running 11.11, PHCO_26423 adds >2GB file support for tar or you can load the Gnu Version of tar from http://gatekeep.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/.


If you are going to a non HP platform, your best bet is to install GNU tar on both platforms.
If it ain't broke, I can fix that.
Oleg Zieaev_1
Regular Advisor

Re: Tar

If you single file is over 2GB, most of the tar versions do not support it. You have to patch it as said above or install GNU version.

Hope this helps,
0leg
Professionals will prevail ...
James R. Ferguson
Acclaimed Contributor

Re: Tar

Hi:

If you're running 11.11 then there are patches for both 'tar' and 'pax' which relax the 2GB limit.

For 'pax' PHCO_26422
For 'tar' PHCO_26423

Regards!

...JRF...
Sridhar Bhaskarla
Honored Contributor

Re: Tar

Just wondering why you were so kind and respectful to me..

You may be disappointed if you fail, but you are doomed if you don't try
William Pribble
Frequent Advisor

Re: Tar

Hi Sridhar,

You kind of 'flammed' me I felt in your responce. If I was wrong I would happily assign points to you.

Thanks