1837112 Members
2476 Online
110112 Solutions
New Discussion

Re: tar:end of tape

 
SOLVED
Go to solution
Todd McDaniel_1
Honored Contributor

tar:end of tape

guys,

I am trying to troubleshoot an issue for one of my app folks, they have recently run into an issue with tar having strange errors....but only recently.

When they tar up the day's logs which are also tarballs, they are starting to see unusual errors and nothing gets tarred after the error. Some of the tarballs being re-tarred are >2gb but i dont know if that matters.

here is the error...

===========================================
recently starting getting this error message when it get near the end of the file. (normally around the 2130 or 2200 hour file).

a telco_7a_20060719_1930.tar.gz 94171 blocks
a telco_7a_20060719_2000.tar.gz 95247 blocks
a telco_7a_20060719_2030.tar.gz 94926 blocks
a telco_7a_20060719_2100.tar.gz 94499 blocks
a telco_7a_20060719_2130.tar.gz 93830 blocks
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.



When I did a tar tvf to check on the file it gets to the 2130 hour file and error with a message: Tar: error! Blicksize changed
Unix, the other white meat.
6 REPLIES 6
Todd McDaniel_1
Honored Contributor

Re: tar:end of tape

this is not going to a tape, just in a large filesystem so shouldnt be any problem with running out of room.
Unix, the other white meat.
Todd McDaniel_1
Honored Contributor

Re: tar:end of tape

can a tar ball be >2gb? or is it only that the input files cant be > 2gb?

I havent used this in so long i really dont know.
Unix, the other white meat.
Steven E. Protter
Exalted Contributor

Re: tar:end of tape

Shalom,

Out of the box the tar that ships with HP-UX 11.11 does not do tars bigger than 2 GB. There is a tar patch in the itrc patch database that permits files up to 8 GB.

You can also install gnu tar which also supports larger tar files.

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
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: tar:end of tape

Todd,

Yes tar has quite a few limitation, maybe you are running into one of them.

Please check this threads for more detail:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1019239
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1037090

Regards,

Jaime
Work hard when the need comes out.
Peter Godron
Honored Contributor

Re: tar:end of tape

Todd,
for 'largefile' enabled tar ( and alternatives) please see thread :
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1037090
Arunvijai_4
Honored Contributor

Re: tar:end of tape

Hi,

You need to have GNU tar installed for this purpose.

http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.15.1/

Also, Check this http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_28992&sel={hpux:11.11,}&BC=main|search|

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