cancel
Showing results for 
Search instead for 
Did you mean: 

tar complains that file > 8Gb

Ian Lochray
Respected Contributor

tar complains that file > 8Gb

I have installed PHCO_26423 so I can tar big files. I tried to tar a file which is < 8Gb but got the error:
tar: Size of codatrop.dmp > 8GB. Not dumped
As you can see, the file is NOT > 8Gb:
-rw-r--r-- 1 root sys 7643398144 Jun 12 09:53 codatrop.dmp
Any ideas?
8 REPLIES
Bill McNAMARA_1
Honored Contributor

Re: tar complains that file > 8Gb


PHCO_26423:
( SR:8606196471 CR:JAGad65674 )
Enhancement Request: enhance tar(1) to support the archival
of files up to 8GB from the current 2GB.


You're obviously hitting the new limit....
try gnu tar
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/

It works for me (tm)
Jarle Bjorgeengen
Trusted Contributor

Re: tar complains that file > 8Gb

It is a bug, and it is fixed in PHCO_28992
================
PHCO_28992:
( SR: [8606279411/STARS-ACTIVE/English] CR:JAGae43464 )
tar(1) from [PHCO_26423/PACHRDME/English] fails to backup files of size greater
than or equal to 4GB. It fails with the following message:
#tar cvf 4gb.tar 4gb-file
tar: Size of 4gb-file > 8GB. Not dumped.
=================

Rgds Jarle

Bill McNAMARA_1
Honored Contributor

Re: tar complains that file > 8Gb

ps: use this version of ls to list the file size! I hate all this multiplying lark!

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xee39c4c76f92d611abdb0090277a778c,00.html
It works for me (tm)
Michael Tully
Honored Contributor

Re: tar complains that file > 8Gb


If your serious about backups, once you start hitting limits like these, you need to start looking at *real* backup tools as well. tar just is not going to help.

You could start with 'fbackup' or really start to look at commercial packages such as omniback, veritas, legato and the like.

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome."
Anyone for a Mutiny ?
Bill McNAMARA_1
Honored Contributor

Re: tar complains that file > 8Gb

I don't see PHCO_28992 at: http://www4.itrc.hp.com/service/patch/mainPage.do

and am told that PHCO_26423 is the latest. Which search tool are you using?
It works for me (tm)
twang
Honored Contributor

Re: tar complains that file > 8Gb

You may use 'fbackup/frecover' to support >2GB handling:
fbackup -f /dev/rmt/0m -i /data -e /data/log

Or you may use vxdump vxrestore
/usr/sbin/vxdump -0 -f /dev/rmt/0mn -u /data
/usr/sbin/vxrestore -if /dev/rmt/0mn

the vxrextore works interactively and is very fast compared to frecover.

It is able to handle over 2GB (but i don't know the max size it can support) and will work across the network if needed. Or to a file.
Ian Lochray
Respected Contributor

Re: tar complains that file > 8Gb

This is not part of my normal backup strategy. I use fbackup for that. I want to send the file to someone who is using a different O/S so I am using tar.
The file is not greater than 8Gb.
I cannot find the later patch that was mentioned.
Bill McNAMARA_1
Honored Contributor

Re: tar complains that file > 8Gb

It exists on the atlanta ftp server, why not try it!

ftp://hpatlse.atl.hp.com/hp-ux_patches/s700_800/11.X/PHCO_28992
It works for me (tm)