[AIX4.3 tar -u] "tar -u" introduces checksum error in tar file made previously on SOLARIS
- From: emmanuel.le-proudhom@xxxxxxxxxx
- Date: 25 Apr 2006 01:08:51 -0700
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?
.
- Follow-Ups:
- Prev by Date: Re: Discover ldap accounts on AIX
- Next by Date: Re: lpr queue backend
- Previous by thread: could anybody tell me which API can get the similar output with lsmcode
- Next by thread: Re: "tar -u" introduces checksum error in tar file made previously on SOLARIS
- Index(es):
Relevant Pages
|
|