[AIX4.3 tar -u] "tar -u" introduces checksum error in tar file made previously on SOLARIS



Hi,

I have a tar files made on SOLARIS. When I update them on AIX platform
("tar -u" command). It seems OK ($status=0) but when I list the content
("tar -tvf" command), instead of listing the added file, I got "tar:
0511-169 A directory checksum error on media".
Note: When the initial tar is made on AIX, "tar -u" is OK on both
platforms (AIX and SOLARIS).

Example:

On SOLARIS : let's make the initial tar file

$> tar cvf tarsolaris.tar *
a file1.rpm 270K
a file2.rpm 9845K
$> tar tvf tarsolaris.tar
-rw-rw-r-- xxxx/xxxx 275458 Apr 24 16:35 2006 file1.rpm
-rw-rw-r-- xxxx/xxxx 10080965 Apr 24 16:35 2006 file2.rpm

....and tar file size is 10359296

Then, on AIX (the file toto is 15 bytes text file):
$> tar uvf tarsolaris.tar toto
a toto 1 blocks.
$> echo $status
0
....something strange: tar file size has not changed!
....and:
$> tar tvf tarsolaris.tar
-rw-rw-r-- xxxx xxxx 275458 Apr 24 16:35:28 2006 file1.rpm
-rw-rw-r-- xxxx xxxx 10080965 Apr 24 16:35:40 2006 file2.rpm
tar: 0511-169 A directory checksum error on media; 536874024 not equal
to 62421.

Any idea?

.



Relevant Pages

  • Re: Why "dd" for cloning?
    ... Those are all filesystems on a LVM. ... how do you make an *IMAGE* with tar or cp? ... If I make a tar backup of my Linux box (of some *random* version of the ... can view/extract/whatever elements of that tar file on some other ...
    (comp.os.linux.misc)
  • Re: Java support of GNU Tar
    ... I have never used any of the tar pakages for Java so the following is only an ... I suspect that you'll have to supply the size of the tar file entry before you ... is closeed, at which time it updates the header, and then writes the real ...
    (comp.lang.java.programmer)
  • Re: Toasting MiNT
    ... Jim DeClercq wrote: ... > There is nothing at all wrong with tar. ... > needed to put the tar file onto a CD. ... auto folder, mint folder, aes, desktop, mke2fs and tar. ...
    (comp.sys.atari.st)
  • Re: Q about using tar to do backups
    ... >>I'm using tar to create a complete system backup. ... >>dont want to delete the old 500 meg tar file but i would like to replace ...
    (alt.linux)
  • Cannot install software on AIX 5.3
    ... I recently got a new AIX 5.3 system, ... Then I tried installing BullFreeware's RPM package, ... 0511-147 Unpacking file size error. ... packaged in a compressed tar archive. ...
    (comp.unix.aix)