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
error reading from tape colesy UNIX for Dummies Questions & Answers 3 08-30-2002 11:54 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 10-29-2002
colesy colesy is offline
Registered User
  
 

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

I have been attempting to read a DLT tape, but encountered problems. I have applied patches from SUN that 'resolve' known problems with tape reading etc...but still the error!

Techsupport reckon that the data/tape is corrupt. I would like to think they aren't.

Are there any issues with tapes being written out on a newer version of Solaris and being read by an older version (solaris2.6)?

What if the "writing" unix box was not SUN, but the reading box was?

Can you think of any implications/issues?

I thinking there shouldn't be - as i can read many of the tapes from the same batch...just not the importanat ones!!!

you're help will be appreciated.
  #2 (permalink)  
Old 10-29-2002
kie kie is offline
Registered User
  
 

Join Date: Oct 2002
Location: England
Posts: 34
it depends on the format on the tape.

what format are the tapes written in ??

DD, CPIO, TAR UFSDUMP ???.

can you issue mt commands to the drive like rewind etc ??


Kie
  #3 (permalink)  
Old 10-29-2002
colesy colesy is offline
Registered User
  
 

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

The tape was created using TAR.

I can issue commands to the device, and have read tapes...just these few (which conatin the most valuable data) are the 'corrupt' ones.

Initally a blocksize error was also included in the tar output error, which i have got round by stipulating tar -tvbf 8 /dev/rmt/0...but still i get this:

tar: directory checksum error

Supposedly fixable by the patches, unless the data is really corrupt.
  #4 (permalink)  
Old 10-29-2002
Kevin Pryke Kevin Pryke is offline
Registered User
  
 

Join Date: Feb 2002
Location: Bradford, UK
Posts: 70
Are you sure it was created using TAR? If I try to TAR a tape created using CPIO I get the error

tar : directory checksum error

try doing

cpio -itv < /dev/rm/0

to see if there's anything on it.
  #5 (permalink)  
Old 10-29-2002
colesy colesy is offline
Registered User
  
 

Join Date: Aug 2002
Posts: 16
Kevin,

Tried the cpio option, but equally got errors:

cpio: I/O error on "input", errno 12, Not enough space
1 errors

i'm not that clued up on this - but i'm thinking that it is actually trying to restore, so why is it indicating lack of space?
  #6 (permalink)  
Old 10-29-2002
colesy colesy is offline
Registered User
  
 

Join Date: Aug 2002
Posts: 16
meant to add:

The tapes where created on another unix box by another unix guy...who has since left. from a brief convo with him, the tapes were supposedly created with TAR.
  #7 (permalink)  
Old 10-29-2002
janr janr is offline
Registered User
  
 

Join Date: Jun 2002
Location: Amsterdam (Netherlands)
Posts: 142
Post

Quote:
I thinking there shouldn't be - as i can read many of the tapes from the same batch...just not the importanat ones!!!
This sound like your importend tapes are corrupted.


Try the same tape on a other (original) tapedrive?
Does the DLT-drive load the tape correctly?


Or try to read some blocks from your tape with `dd`
>> dd if=/dev/<YourDLT> of=/home/dir/YourFile.tar

at least you get some of the data, and you can find out with tape block is corrupted
Closed Thread

Bookmarks

Tags
cpio

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 11:07 AM.


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