Sponsored Content
Full Discussion: retrieving files from Tape
Operating Systems AIX retrieving files from Tape Post 51785 by rocker40 on Tuesday 1st of June 2004 11:30:20 AM
Old 06-01-2004
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 01:03 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Retrieving multiple files by date

Hey all, need help with finding multiple files just by the last date modified in all subdirectries in the current directory. Ex. Root directory/multiple directories say 0-99/ multiple files Need to find all files last modified from say ....01 1 2006. Is this possible? Thanks for any... (1 Reply)
Discussion started by: fantazle
1 Replies

2. AIX

PAX error on retrieving from tape

Hi, I am using AIX 5.3.0.0 and Ultrium LTO3 Tape Drive as rmt1. I have backup some of my database file using command "pax" as pax -wvf /dev/rmt1 "./data01/abc.dmp" But when I tried to read the file from tape by issuing the command, pax -vf /dev/rmt1 The error message displayed as pax:... (4 Replies)
Discussion started by: kwliew999
4 Replies

3. UNIX for Dummies Questions & Answers

Retrieving deleted files

I mistakenly deleted a script from the UNIX server. Is there any command i can type that i will retrieve my script? (3 Replies)
Discussion started by: manna
3 Replies

4. UNIX for Dummies Questions & Answers

retrieving files which has more than 0 bytes

Hi, Can anyone tell how to list all files in current directory which has more than 0 bytes? (4 Replies)
Discussion started by: sri2005
4 Replies

5. Shell Programming and Scripting

Retrieving files from print queue

Hi, wonder if anyone can help me out with this. I'm trying to retrieve files from a print queue on a remote server i.e. get files before they are printed. I'll be using perl to do this. I've written out some pseudocode below: Telnet to print server for ever (endless loop) pause 1 second... (0 Replies)
Discussion started by: Vovin
0 Replies

6. Solaris

help retrieving files from SunOS 5.8

Hi, I am trying to get a small amount of files off of a SunBlade 2000 running SunOS 5.8, but I'm having trouble finding a medium that will actually work. It is not networked, and it doesn't have a writable CD drive. My only options seem to be floppy disk and USB drive. However, when I insert... (11 Replies)
Discussion started by: ryanm
11 Replies

7. Shell Programming and Scripting

AIX system.... deleting files in remote directory after retrieving files

Hi Friends, I am new to this , I am working on AIX system and my scenario is to retrive the files from remote system and remove the files from the remote system after retreving files. I can able to retrieve the files but Can't remove files in remote system. Please check my code and help me out... (3 Replies)
Discussion started by: vinayparakala
3 Replies

8. Solaris

files in tape

unix1{owadmin}% tar tvf /dev/rmt/1 -rw-rw-rw- 1021/10 0 Sep 11 17:54 2011 TinahPF_Far_32bit.segy tar: directory checksum error unix1{owadmin}% i know in this tape 3 files not only one file so what can i do to view 3 files and what is this error mean ( tar: directory checksum error... (2 Replies)
Discussion started by: ayman
2 Replies

9. UNIX for Dummies Questions & Answers

Retrieving names of files in a dir without overlapping

Hi, I have been trying to retrieve the names of files present in a directory one by one but the names of files are getting overlapped on one another. I tried the below command. ls -1 > filename please help me in getting the file names line by line without overlapping. I am using korn... (6 Replies)
Discussion started by: Pradhikshan
6 Replies

10. Shell Programming and Scripting

Help with retrieving files via SFTP

I have a process which generates a file and places it on my sftp server Then I connect to the sftp to retrieve the file. However for some reason, I keep getting an incomplete file. These are the steps. 1. Submit a request to my sftp file to start generating a file 2. That file is picked... (7 Replies)
Discussion started by: sidnow
7 Replies
BUTC_LOGS(5)							AFS File Reference						      BUTC_LOGS(5)

NAME
       butc_logs - Message logs from the Tape Coordinator process

DESCRIPTION
       The Backup System Tape Coordinator (butc) process generates two log files per device, one for error messages and one for actions.

   Error Message Log
       The TE_device_name file logs error messages generated by the Backup System Tape Coordinator that controls the tape device or backup data
       file indicated by device_name.

       As the Tape Coordinator initializes, it creates the file in ASCII format in the /var/lib/openafs/backup directory. If there is an existing
       file, the Tape Coordinator renames it to TE_device_name.old>, overwriting the existing TE_device_name.old> file if it exists.

       For a tape device, the Tape Coordinator derives the variable device_name portion of the filename from the device pathname listed in the
       local /var/lib/openafs/backup/tapeconfig file, by stripping off the initial "/dev/" string and replacing any other slashes in the name with
       underscores. For example, the filename for a device called /dev/rmt/4m is TE_rmt_4m. Similarly, for a backup data file the Tape Coordinator
       strips off the initial slash ("/") and replaces any other slashes in the name with underscores. For example, the filename for a backup data
       file called /var/tmp/FILE is TE_var_tmp_FILE.

       The messages in the file describe the error and warning conditions the Tape Coordinator encounters as it operates. For instance, a message
       can list the volumes that are inaccessible during a dump operation, or warn that the Tape Coordinator is overwriting a tape or backup data
       file. The messages also appear in the /var/lib/openafs/backup/TL_device_name file, which traces most of the Tape Coordinator's actions.

   Action Log
       The TL_device_name file logs the actions performed by the Backup System Tape Coordinator that controls the tape device or backup data file
       indicated by device_name. It also records the same error and warning messages written to the TE_device_name file.

       As the Tape Coordinator initializes, it creates the file in ASCII format in the /var/lib/openafs/backup directory. If there is an existing
       file, the Tape Coordinator renames it to TL_device_name.old, overwriting the existing TL_device_name.old file if it exists.

       For a tape device, the Tape Coordinator derives the variable device_name portion of the filename from the device pathname listed in the
       local /var/lib/openafs/backup/tapeconfig file, by stripping off the initial "/dev/" string and replacing any other slashes in the name with
       underscores. For example, the filename for a device called /dev/rmt/4m is TL_rmt_4m. Similarly, for a backup data file the Tape Coordinator
       strips off the initial slash ("/") and replaces any other slashes in the name with underscores. For example, the filename for a backup data
       file called /var/tmp/FILE is TL_var_tmp_FILE.

SEE ALSO
       tapeconfig(5), butc(8)

COPYRIGHT
       IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

       This documentation is covered by the IBM Public License Version 1.0.  It was converted from HTML to POD by software written by Chas
       Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

OpenAFS 							    2012-03-26							      BUTC_LOGS(5)
All times are GMT -4. The time now is 11:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy