Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to restore data from aix tar backup ?

Posted on 2001-08-28
7
Medium Priority
?
1,167 Views
Last Modified: 2013-12-27
Hi,

I have a aix (RS6000 Server) backup using tar on a DDS3 dat. I want to extract  it on a Solaris system. But when i fire tar tvf /dev/rmt/1, it gives me "tarL: directory checksum error".

The tar backup taken on aix has a block size of 1024 and it is a compressed backup.

I have tried the following options :
tar tbvf 1024 /dev/rmt/1
tar tbvf 1024 /dev/rmt/1cbn
but it gives me the same error.
Does anyone have a solution to this problem ?

Regards,
Santosh Kini
0
Comment
Question by:santosh_kini
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 6431939
How was it compressed? Using hardware compresson on the DAT drive or software compresson on the AIX box as the data was written to tape? And if the later what compression tool?

There's a chance that the data is byte, relative to the Sun, on the tape. In that case you could use:

> dd if=/dev/rmt/1 conv=swab | tar xvf -

Now if software compression was done using compress you could do:

> dd if=/dev/rmt/1 | compress -d | tar xvf -
0
 
LVL 5

Expert Comment

by:ecw
ID: 6436489
is the tar blocksize really 1024?  if so, tar would read/write 512bytes*1024 ie. 512KB blocks.  Try using a tar blocksize of 2 ie.
  tar tvbf 2 /dev/rmt/1
0
 

Author Comment

by:santosh_kini
ID: 6439332
Hi,
The data is compressed using hardware compression on the drive.

I tried using the options give by jlieve, but am getting the same error.

Also, i tried tar tvbf 2 /dev/rmt/1 but giving the same error.

Please help ...

Regards,
Santosh Kini
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 40

Expert Comment

by:jlevie
ID: 6440445
Do you know what brand of DAT was used to write the tape? I don't know what one might find on an AIX system, but I do know that SGI has been known to use DAT drives that used a compression scheme not compatible with a standard DAT 2/3 drive.

Would it be possible to have the tape re-cut without hardware compression and a more normal blocking factor?
0
 
LVL 2

Expert Comment

by:khaled022498
ID: 6622100
i used this command to retrive from NCR, it might be helpful.

dd if=/dev/rmt/1 conv=swab | tar xvf -

regards.
0
 
LVL 21

Expert Comment

by:tfewster
ID: 8003171
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- PAQ, no points refunded

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8065970
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question