Sponsored Content
Full Discussion: Problems with tar command
Operating Systems AIX Problems with tar command Post 302117671 by lo-lp-kl on Wednesday 16th of May 2007 01:07:38 AM
Old 05-16-2007
Problems with tar command

Hello

Somebody can help me, I try to extract a file by tar command but I get this error message

root@mxlgjac/home/bistrain# tar -xvf C57U6ML.tar
tar: 0511-169 A directory checksum error on media; 804399312 not equal to 62020.

The file in tar format its on the same directory, where I try to extract the file.
I use the root user to do this.

this is the output from the ls -l command

root@mxlgjac/home/bistrain# ls -l
total 401005
-rwx------ 1 bistrain ibmadmin 284 Nov 28 18:30 .profile
-rw------- 1 bistrain ibmadmin 2152 May 15 23:36 .sh_history
-rw-r--r-- 1 root system 10641 Jan 23 16:22 .toc
-rwxr-xr-x 1 root system 205278318 May 15 21:59 C57U6ML.tar
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

problems with tar multivolume

HI there, I need to backup some files from other pcs. I want to do it from my backupserver. I am using Unicon (developed from icon) for programming a backupscript, my BS is Mandrake Linux. The problem I have is: I cannot use tar multivolume with dd the command looks something like... (6 Replies)
Discussion started by: mysth
6 Replies

2. UNIX for Dummies Questions & Answers

tar backup problems

Im trying to use tar to backup the os directories. I have a file called bdirs which contains a list of the directories that im trying to backup: /bin /dev /devices /etc /export /home /kernel /lib /local /mnt /opt /platform /proc /sbin start /usr /var /vol (3 Replies)
Discussion started by: blakmk
3 Replies

3. UNIX for Advanced & Expert Users

tar problems using Sony AIT drive

Recently we brought up a Spectralogic 2K Tape Library that had been out of service for about 3 years to replace a DDS-4 tape drive unit as our main backup device. Everything seemed to go fine but now I have run into a little problem. System details: FBSD 6.1 SpectraLogic 2K library with a... (1 Reply)
Discussion started by: thumper
1 Replies

4. UNIX for Dummies Questions & Answers

Problems with GNU tar installation

Hi all, Need some help here. I've been trying to install GNU tar version 1.12 into my Solaris 9 machine. steps that I have done was: -untar the package file -run "./configure" -run "make" command (got stuck at this point) Got the following error messages after hitting the make... (2 Replies)
Discussion started by: suffer0
2 Replies

5. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

6. UNIX for Advanced & Expert Users

Problems with tar between local and nfs disk

Hi, I am trying to move a local directory from a local disk to a nfs disk that has been shared on another file server. I am using this tar command: tar cf - . | (cd /export/nfsdisk && tar xpf - ) It copies the data okay but the big problem is that is resets the owner:group to 'nobody'. The... (2 Replies)
Discussion started by: jlowry
2 Replies

7. Shell Programming and Scripting

tar command dont tar to original directory

HI, if I have a tarfile called pmapdata.tar that contains tar -tvf pmapdata.tar -rw-r--r-- 0/0 21 Oct 15 11:00 2009 /var/tmp/pmapdata/pmap4628.txt -rw-r--r-- 0/0 21 Oct 14 20:00 2009 /var/tmp/pmapdata/pmap23752.txt -rw-r--r-- 0/0 1625 Oct 13 20:00 2009... (1 Reply)
Discussion started by: borderblaster
1 Replies

8. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

9. Shell Programming and Scripting

Single command - unzip files from a tar command

I have a tar file that contains multiple .Z files. Hence I need to issue a tar command followed by a gzip command to fully extract the files. How do I do it in a single command? What I'm doing now is tar xvf a.tar (this will output 1.Z and 2.Z) gzip -d *.Z (to extract 1.Z and 2.Z) (9 Replies)
Discussion started by: ericlim
9 Replies

10. UNIX for Advanced & Expert Users

Speed problems with tar'ing a 500Gb directory on an eSATA drive

I'm trying to compress a directory structure on an external hard drive, connected by eSATA cable to my linux (Ubuntu 10.04) desktop. The total volume is 500Gb with half a million files, ranging from Kb to Mb in size. The drive is 2Tb, with 0.8Tb free space before compression. running "tar -pcf... (10 Replies)
Discussion started by: omnisppot
10 Replies
BF_TAR(1)						    Bogofilter Reference Manual 						 BF_TAR(1)

NAME
bf_tar - shell script to write a tar file of a bogofilter directory to stdout SYNOPSIS
bf_tar [-r] [-R] bogofilter_directory DESCRIPTION
bf_tar bundles a bogofilter working directory in tar format and copies it to standard output (your console, or where you redirect it, see EXAMPLES below). OPTIONS
The -r option causes bf_tar to remove inactive log files after the archive has been written successfully. The default is to leave log files. The -R option causes bf_tar to remove inactive log files before the archive is written. This may reduce chances that the resulting archive is recoverable should it become damaged. The archive may be smaller though. The default is to leave log files. EXIT STATUS
The script exits with status code 0 if everything went well, and nonzero if it encountered trouble. EXAMPLES
o bf_tar ~/.bogofilter > outfile.tar Writes a standard .tar file containing the essential files from ~/.bogofilter to outfile.tar. o bf_tar ~/.bogofilter | gzip -9 -c > outfile.tar.gz Writes a gzipped .tar.gz file containing the essential files from ~/.bogofilter to outfile.tar.gz. o bf_tar `pwd`/mydirectory > outfile.tar Prepend $(pwd)/ or `pwd`/ if you want to specify an absolute path instead of a relative path. NOTES
This script is meant for use with Berkeley DB based bogofilter versions. This script requires a SUSv2 compliant pax utility. This script expects a SUSv2 compliant shell. Solaris systems should have the SUNWxcu4 package installed (when bogofilter is configured) so that /usr/xpg4/bin/sh can be used. AUTHORS
Matthias Andree Bogofilter 10/22/2012 BF_TAR(1)
All times are GMT -4. The time now is 04:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy