1825014 Members
4763 Online
109678 Solutions
New Discussion юеВ

tar ball

 
subhashni
Regular Advisor

tar ball

could make tar ball for a file large as 5 gig.please help.
Thanks
unix4me
5 REPLIES 5
Anthony deRito
Respected Contributor

Re: tar ball

from the /usr/share/doc/lg_files.txt doco...

4.2.1 tar, cpio, pax, ftio

Some of the backup commands, specifically tar, cpio, pax (tar & cpio
formats), and ftio (because it creates cpio format archives) are
restricted from supporting large files due to standards defined
headers in the archives. Although the headers allow archival of files
upto 8GB, there is no guaran- tee that there will be no attempt to
restore these files on a system that does not support large
files. These commands will therefore support files up to 2GB
only. Attempts to archive any files >2GB will fail, and the files will
not be added to the archive.
John Poff
Honored Contributor

Re: tar ball

Hi,

The tar and cpio utilities that come with HP-UX have a max file size limit of 2 Gb. You can use fbackup or you can download the GNU tar utility and use it.

Take a look at this thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfad8a1abbac8d5118ff10090279cd0f9,00.html

JP
James R. Ferguson
Acclaimed Contributor

Re: tar ball

Hi:

Either use GNU's 'tar' from one of the HP-UX Porting centers, or if you are running 11.11, apply tar patch PHCO_26423. I'd also add the cousin, 'pax' patch 26422.

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: tar ball

I think there is a bit of misunderstanding here.

While tar does NOT support backing up a file that is 2GB or larger, I THINK that tar CAN create a tar ball (tar -xvf filename.tar), where filename.tar is the tar ball, that is larger than 2GB.

If this tar were not able to do this then it would not be able to write more than 2GB of data to a DDS, DLT or any other tape.

The only catch is that your filesystem MUST have largefiles enabled so that you don't hit the filesystem 2GB limit for a non-largefiles filesystem.
Vitek Pepas
Valued Contributor

Re: tar ball

There is one more catch: make sure you don't exceed ulimit for the file size.