LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
LinkBack Search this Thread
Old 02-05-2010, 04:34 AM   #1
GoBieN
LQ Newbie
 
Registered: Mar 2009
Posts: 7

Rep: Reputation: 0
0511-169 extracting tar file: A directory checksum error on media


Hello Everyone,

I'm trying to extract a tar file that was made on a redhat linux and then transferred trough FTP to the AIX 5.2 server.

Everytime i extract the TAR file it stops with an error on the exact same line:
Quote:
...
x munin-1.4.3/master/DejaVuSansMono.ttf, 320812 bytes, 627 media blocks.
tar: 0511-169 A directory checksum error on media; 1 not equal to 6443.
I get the file trough FTP in bainary mode. First time i just did the ftp transfer again, because i though it got corrupt. But i tried several times and always the exact same error when extracting with tar -xvf filename.tar

I then tried recreating the tar on the redhat box using different tar format. I tried them all: ustar, posix, v7, oldgnu. I then transferred them all, and every time exactly the same error as above.

I'm really lost as why this is, and how to fix this ?

Last edited by GoBieN; 02-05-2010 at 04:35 AM.
 
Old 02-05-2010, 11:59 AM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,754

Rep: Reputation: 88
Have you tried extracting the tar file on the Redhat machine in a temporary directory? Also what is the size of the tar file? You can also try to gzip the file during the transport. if you are able to ungip the file then you are guaranteed that it transfered successfully. A checksum on both sides would also do the same. What is the filesystem type on the AIX machine?
 
Old 02-05-2010, 12:00 PM   #3
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,754

Rep: Reputation: 88
You can always try Java's jar.
 
Old 02-06-2010, 11:49 AM   #4
GoBieN
LQ Newbie
 
Registered: Mar 2009
Posts: 7

Original Poster
Rep: Reputation: 0
The file was a tar.gz originally, but that failed to extract with some compressed headers error. After that i unzipped it on the redhat box (went fine btw) and then tried transferring the tar file.

The tar.gz was downloaded from internet and works fine on a redhat with ext3. After 3 failed atttempts with ftp & tar, I then tried tarrin it myself with different formats as said in my 1st post.

The AIX 5.2 server uses ZFS filesystem.
 
Old 02-09-2010, 01:04 PM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,442

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
disk is full?
 
Old 02-10-2010, 01:56 PM   #6
GoBieN
LQ Newbie
 
Registered: Mar 2009
Posts: 7

Original Poster
Rep: Reputation: 0
No disk is not full. Even tried a different partition (/usr instead of /home).

I finally got it fixed by making a cpio archive of the directory with some special header option on the linux side and then extracting the CPIO on AIX with no problem at all.
 
  


Reply

Tags
aix, error, extract, ibm, tar


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
extracting .tar.gz files in current directory... mitesh.ever Linux - Newbie 4 12-09-2008 06:03 AM
Extracting a tar ball directly into a directory kushalkoolwal Debian 2 09-28-2005 01:47 PM
tar - extracting a single directory from a large archive? lowpro2k3 Linux - General 1 07-24-2005 02:44 AM
tar: directory checksum error desbyleo Solaris / OpenSolaris 1 12-18-2004 05:23 AM
tar : directory checksum error in solaris2.6 while untaring tamcat ambuj Solaris / OpenSolaris 5 12-07-2003 10:41 AM


All times are GMT -5. The time now is 08:54 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration