Unix Technical Forum

tar -tvf /dev/rmt/0mn

This is a discussion on tar -tvf /dev/rmt/0mn within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi. If i have a dds4-tape that contains the backup done by a 3rd party backup software, i have ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:08 PM
hosea.basis@gmail.com
 
Posts: n/a
Default tar -tvf /dev/rmt/0mn

Hi.

If i have a dds4-tape that contains the backup done by a 3rd party
backup software, i have problems with doing a tar -tvf. The error
message that i get is "some checksum error"

My understanding is that tar-tvf is only for either the os backup tools
or if do a tar -cvf. since the 3rd party backup software is different,
hence i am not able to do so.

Please advise.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:08 PM
Doug O'Leary
 
Posts: n/a
Default Re: tar -tvf /dev/rmt/0mn

On 2005-05-04, hosea.basis@gmail.com <hosea.basis@gmail.com> wrote:
>
> If i have a dds4-tape that contains the backup done by a 3rd party
> backup software, i have problems with doing a tar -tvf. The error
> message that i get is "some checksum error"
>
> My understanding is that tar-tvf is only for either the os backup tools
> or if do a tar -cvf. since the 3rd party backup software is different,
> hence i am not able to do so.
>
> Please advise.


Not much to advise on... You can only use tar to read a backup if it
was done using tar. There are plenty of backup mechanisms: cpio, tar
dump/restsore, fbackup/frestore without even mentioning the commercial
backup mechanisms.

Readers' digest answer: You can read a backup tape with the same
utility that created it.

Doug
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 07:08 PM
Frank Slootweg
 
Posts: n/a
Default Re: tar -tvf /dev/rmt/0mn

hosea.basis@gmail.com wrote:
> Hi.
>
> If i have a dds4-tape that contains the backup done by a 3rd party
> backup software, i have problems with doing a tar -tvf. The error
> message that i get is "some checksum error"


Probably "directory checksum error".

> My understanding is that tar-tvf is only for either the os backup tools
> or if do a tar -cvf. since the 3rd party backup software is different,
> hence i am not able to do so.
>
> Please advise.


Adding to Doug's advice:

Do

dd if=/dev/rmt/0mn of=/tmp/record bs=100k count=1
ll /tmp/record
file /tmp/record
rm /tmp/record

and report the results.

The dd(1) and ll(1) commands are used to determine the record size
(and incorrect record size can give a "directory checksum error" from
tar(1)).

The file(1) command is used to verify that this is indeed a tar(1)
tape and not a tape made by some other utility (like the ones Doug
mentioned).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com