1837698 Members
3997 Online
110118 Solutions
New Discussion

untaring problem

 
SOLVED
Go to solution
josinjosek
Advisor

untaring problem

hi

While I am trying to untar a file getting below error

/usr/local/bin/tar -xvf 1500__CP.tar

" ././@LongLink, 136 bytes, 1 tape blocks
directory checksum error ”

please help me to resolve this issue

regards
josin
7 REPLIES 7
Steven E. Protter
Exalted Contributor
Solution

Re: untaring problem

Shalom,

I think the problem is in the tar and it needs to be rebuilt.

What kind of system did it originate on? What were the create options?

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
Yogeeraj_1
Honored Contributor

Re: untaring problem

Hi Josin,

A few thing you need to verify:
1. if the source of the file is another machine, the file has been transfered in binary mode.
2. on the source server, tar -tvf 1500__CP.tar displays the list of files correctly.
3. there has not been any corruption during the file transfer/copy. One simple check would be to cross-check the file size.


hope these helps!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
josinjosek
Advisor

Re: untaring problem

hi

thanks for your replay,

We tared in linux machine using tar â cvf command .now we are trying to untar in unix machine.

Regards
josin
Denver Osborn
Honored Contributor

Re: untaring problem

Have you compared the cksum of the file between the linux and this node? xfer the file again if they don't match.

How large is the archive? (> 2GB)
Why not use the hp installed tar, why /usr/local/bin/tar?

-denver
Yogeeraj_1
Honored Contributor

Re: untaring problem

hi again,

If the file is big, try to compress it before the transfer. Also ensure that the transfer mode is BINARY.

also, confirm that on the linux machine, the tar -tvf command is OK.

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Rajesh R_2
Frequent Advisor

Re: untaring problem

hi,

If the archive file is large i.e >2GB, see if Large Filesystem option is enabled on the filesystem you are trying to untar the archive.

If it is not enabled, enable it and try untaring.

Regards
Rajesh
OldSchool
Honored Contributor

Re: untaring problem

also, check the "format" options available on the Linux side. depending upon how "tar" was built, the default format may not be compatible w/ HPUX.