The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
retrieving files which has more than 0 bytes sri2005 UNIX for Dummies Questions & Answers 4 04-29-2008 07:22 AM
Retrieving deleted files manna UNIX for Dummies Questions & Answers 3 01-07-2008 07:08 PM
PAX error on retrieving from tape kwliew999 AIX 4 10-11-2007 11:17 PM
Restoring tape files... B14speedfreak UNIX for Dummies Questions & Answers 0 03-09-2007 08:45 AM
Retrieving multiple files by date fantazle UNIX for Dummies Questions & Answers 1 11-22-2006 04:42 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-01-2004
Registered User
 

Join Date: Oct 2003
Location: Pratt,KS
Posts: 78
retrieving files from Tape

I have AIX5.1
I have tried to retrieve a file from tape with no sucsess. I had this posted in the newbies section but I think I should have tried here. I did get some good info there though on where to start. This Is what I did.
My back line is so...

cat /rd/tmp/backuplist.full | cpio -ocvBdum > $TAPEDEV
I ran these to retrieve the file.

cpio -itvB < /dev/tapedrive

cpio -itvB < /dev/tapedrive | grep filename

When I run these commands I get this error...


cpio: 0511-903 out of phase!
cpio: 0511-904 skipping 2677530 bytes to get back in phase!
one or more files lost and the previous file is possibly corrupt!
cpio: 0511-027 The file name length does not match the expected value.

I checked on a different tape and ran the first command to look at the tape and got this error..
cpio: 0511-903 Out of phase!
cpio attempting to continue..
cpio: 0511-904 skipping 2677530 bytes to get back in phase!
one or more files lost and the previous file is possibly corrupt!

Segmentation fault (coredump)
Am I missing something?
I tried to just look at the whole tape with the first command.
Could my tape be corrupt?

Thanks
Dave

Last edited by rocker40; 06-01-2004 at 09:03 AM.
Reply With Quote
Forum Sponsor
  #2  
Old 06-02-2004
Registered User
 

Join Date: Oct 2003
Location: Pratt,KS
Posts: 78
The answer

I think I found the problem and I thought I should let you know since you put time into this one.
I was not familiar with the backup procedure prior to a software upgrade that we had for our business application.
During the upgrade they changed our backup scripts to start backing up using cpio.
Before the upgrade we were using [Restore]
I have been using the same tapes I was before which means according to the software support that even though the tape swere copying they are not readable since they formatted for {restore] and not [cpio]
So I am change the script tonite to format the tape for [cpio] as it copies
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:39 PM.


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

Content Relevant URLs by vBSEO 3.2.0