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 05:36 AM
Unix Shell Archives Visage UNIX for Dummies Questions & Answers 1 04-25-2007 10:59 AM
flash archives BG_JrAdmin UNIX for Dummies Questions & Answers 1 12-25-2005 03:13 PM
Jumpstart and Flash Archives rambo15 UNIX for Advanced & Expert Users 0 07-10-2005 03:31 PM
segmenting tar archives crudealien UNIX for Dummies Questions & Answers 3 07-16-2002 03:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-27-2001
sam_pointer sam_pointer is offline
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...
  #2 (permalink)  
Old 06-27-2001
alwayslearningunix
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
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
sam_pointer sam_pointer is offline
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
Bits: 0 [Banking]
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
sam_pointer sam_pointer is offline
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
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 06:30 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