The UNIX and Linux Forums  

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
bootable X86 dvd and flash archives eeisken SUN Solaris 4 04-18-2008 01:36 AM
Unix Shell Archives Visage UNIX for Dummies Questions & Answers 1 04-25-2007 06:59 AM
flash archives BG_JrAdmin UNIX for Dummies Questions & Answers 1 12-25-2005 11:13 AM
Jumpstart and Flash Archives rambo15 UNIX for Advanced & Expert Users 0 07-10-2005 11:31 AM
segmenting tar archives crudealien UNIX for Dummies Questions & Answers 3 07-16-2002 11:45 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-27-2001
Registered User
 

Join Date: Jun 2001
Posts: 35
Post tar archives

I have a tar archive which I believe may be corrupted, produced on an HP-UX 10.x box and written to a 4mm DDS-3 tape.

I understand that gnu tar has a -W (--verify) option which will attempt to verify the archive after it has been created. Am I right in saying that this option cannot be used to verify an existing archive?

Secondly, the native shipped HP tar does not include this verify option at all. Does there exist a program for verifying the integrity of tar files (written to a tape), either whilst creating the tar file or after the event?

As a foot note I must point out that this archive has never been gzip'ed.

Thanks for any input...
Forum Sponsor
  #2 (permalink)  
Old 06-27-2001
alwayslearningunix
Guest
 

Posts: n/a
Take a table reading off the archive

tar -tvf [tarfile]

I have not yet known a tar archive that gives a valid table that does not restore without any problems. Redirect the output to a file if it is a large archive and you need to examine the table more thoroughly.

Regards.
  #3 (permalink)  
Old 06-28-2001
Registered User
 

Join Date: Jun 2001
Posts: 35
When I attempt this I get an error message:

Tar: blocksize = 2
directory checksum error

Now a few things are leading me to want to verify the archive rather than assume that the media is shagged:

(1) The filesystems backed up onto this tape have very long path and file names

(2) The system has not been patched for an age.

(3) Previous sysadmins for these boxes (I inherited them 3 weeks ago) have apparently performed successful restores in the very recent past

Therefore I just want to make sure that the archive is not crocked before I write it off.

For everyone's info: you _can_ apparently verify an existing archive with gnu's tar: www.gnu.org

Cheers.
  #4 (permalink)  
Old 06-28-2001
alwayslearningunix
Guest
 

Posts: n/a
If you're not getting a table off the tar file and there is a checksum error it's probably the archive which is corrupt - however it could be the media. Either way you're not going to be able to restore from it, why don't you try creating the archive again? Other than working out if you are going to use this tape again or not, I can't see any other reason for you wanting to find out whether the archive or the tape is messed up.

You could spend a fortune and send the tape to HP's storage recovery labs for them to take a look, but try getting that past your line manager

Regards.
  #5 (permalink)  
Old 06-29-2001
Registered User
 

Join Date: Jun 2001
Posts: 35
Smile

More curiosity than anything - I'd just like to understand _why_ it went wrong - might even learn something
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0