corrupt tar file (not -z)

corrupt tar file (not -z)

Post by debi.. » Sat, 22 Apr 2000 04:00:00



I have a tar file on a 4mm DAT tape.  I accidently
tried to write over it and lost the beginning of
the tape where tar wrote a ~zero length tar file.

I tried the 'dd if=/dev/nst0' command and it gives
20 records for the first file.  0 for the second.
and I/O errors for the third and all subsequent
attempts.  The 'mt fsf' command does the same.

Does anyone know how to recover from this?

And, yes, we all know how to avoid it in the
future--check the write lock tab before restoring.

running linux 5.1 on a pentium based processor.

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. Extracting files with tar and uncompress fails with tar: Archive - EOF not on block boundary

Hi,

Two(2) tared then compressed files were created using the following in
a directory where there are a few hundred files on a Sun Solaris 2.6
server:

tar -cvf - [a-k]* 2> /tq03/backup/backup_$dd/data_ltoz.log$dd | \
  compress -cf > /tq03/backup/backup_$dd/data_ltoz_$dd.$SID.Z

tar -cvf - [l-z]* 2> /tq03/backup/backup_$dd/data_ltoz.log$dd | \
  compress -cf > /tq03/backup/backup_$dd/data_ltoz_$dd.$SID.Z

I run the following commands to extract the files on a different
server (still Solaris 2.6) in a different directory than the files are
from:

uncompress -cf /tq01/clone_source/oradata/data_atok_020202.prod.Z |
tar xvf –

uncompress -cf /tq01/clone_source/oradata/data_ltoz_020202.prod.Z |
tar xvf –

The first is successfully extracted but during the 2nd extract of the
following error is returned:

Several files successfully extracted…
system01.dbf
system02.dbf
system03.dbf
system04.dbf
tar: Archive - EOF not on block boundary
tar: Error is not recoverable: exiting now
erpdev:/tq01/test/testdata$

Does anyone have any ideas on how to extract the files?  I am thinking
data_ltoz_020202.prod.Z is corrupt, hope not but have not found
another reason for the error.  Ran tar tzvf data_ltoz_020202.prod.Z
and get the same error.

TIA,
Tad Stephens

2. Accessing Kernel mode

3. recover data from big massive corrupted tar file

4. mt error: /dev/tape: Timer expired

5. 8mm tape corrupted tar header file - HELP!

6. Virtual Hosts

7. Corrupted tar files

8. strange problems with RedHat5.0 -- can't mount CD

9. Recovering data from corrupt tar file?

10. Fixing Corrupted Tar files?

11. read corrupted tar files?

12. Please Help: Corrupt tar file on Exabyte 112m tape

13. Corrupted linux tar files on LS120