The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Reading from a corrupted tape mart4179 UNIX for Advanced & Expert Users 0 03-28-2008 01:15 PM
Problem reading a 4mm tape drive tdpearson AIX 2 05-24-2007 12:34 PM
error reading sections error at install doelman SUN Solaris 2 02-05-2007 12:21 PM
reading contents on a 4mm tape DATDANGGADUDE AIX 0 06-22-2006 09:10 PM
reading from tape error colesy UNIX for Dummies Questions & Answers 10 10-30-2002 11:44 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-29-2002
colesy colesy is offline
Registered User
  
 

Join Date: Aug 2002
Posts: 16
Exclamation error reading from tape

Hi all,

I am attempting to read tar images from a DLT tape, and have recieved an error, which i don't know:

tar: blocksize = 8
tar: directory checksum error

I have been able to read from other tapes, using the same command (tar -tvf /devicename) but this time i have an error.

Can anyone firstly tell me what it means, and secondly, how to get round it?

Thanks in advance

Rich
  #2 (permalink)  
Old 08-29-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
If your default blocking factor is smaller then the blocking factor used to create the tape, it will let you know what the blocking factor is and error out with a tape read error. It may be that is the case although the default blocking factor should be 10.

See the man page on tar and search for block or blocksize. It should have examples of this.

You can try your command with a blocking factor to see if that helps get around it:

# tar -tvbf 8 /devicename
  #3 (permalink)  
Old 08-30-2002
colesy colesy is offline
Registered User
  
 

Join Date: Aug 2002
Posts: 16
I have stipulated the blocksize using the b option, but am stlll getting this "tar: directory checksum error".

Any ideas of how to solve this part?

Thanks
  #4 (permalink)  
Old 08-30-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Looking up the error on SunSolve shows this error if the file was created with gtar (GNU tar). If this is the case, there are times when SUN's tar will not extract files and give this error OR will extract some files and stop with this error. The 'fix' is to use gtar which can be downloaded from Sun Freeware

Did you create the tar file or is this part of a package you are installing?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:28 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0