tar: 0511-825 The file 'file' is too large.


 
Thread Tools Search this Thread
Operating Systems AIX tar: 0511-825 The file 'file' is too large.
# 1  
Old 12-08-2011
tar: 0511-825 The file 'file' is too large.

Dears,

i am trying to comprees file but it gave me error as below:
Code:
userhost[/u01]>tar cvf - file | gzip > file.tar.gz
tar: 0511-825 The file 'file' is too large.

Be noted that this file is nearly to "9 Giga".

Please, advise

Thanks & Reagrds,

Moderator's Comments:
Mod Comment Please use code tags! Also please do not make the font size smaller than it is already, thanks.

Last edited by zaxxon; 12-08-2011 at 06:38 AM.. Reason: code tags, see PM
# 2  
Old 12-08-2011
If it is one file, then why do you need to tar it ?

you can simply zip it.

Code:
 
gzip file

if you want to tar it, then you can use it like this.

Code:
 
tar cvf file.tar file && gzip file.tar

# 3  
Old 12-08-2011
AIX tar has a 2 GB limit to the file size. Use tar from the Linux Toolbox CD - can get it alternativly here:
IBM AIX Toolbox for Linux Applications - Alphabetical Listing

Last edited by zaxxon; 12-09-2011 at 02:21 AM.. Reason: sure it is AIX - stupid me
# 4  
Old 12-08-2011
Dear All,

I tried gzip command
Code:
gzip file.tar file

It worked for sometime but did not continue and gave me below error !!
Code:
file.tar: No such file or directory

The strange here , the original file disappeared and the zipped file has been done but still big size (Became 8 Giga)
Please, advise

Moderator's Comments:
Mod Comment These are no code tags - read your PM please, thanks.

Last edited by zaxxon; 12-09-2011 at 02:19 AM.. Reason: code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX command to check if file name ends with .tar OR if the file is a tar file

Hello Team, Would you please help me with a UNIX command that would check if file is a tar file. if we dont have that , can you help me with UNIX command that would check if file ends with .tar Thanks in advance. (10 Replies)
Discussion started by: sanjaydubey2006
10 Replies

2. AIX

Tar: 0511-184 Cannot set the time on config

Dear i have run a secripts that will extract a gz file after that i have the following error x config/xsql/cbs/UserProfile x config/xsql/cbs/Utility x config/dbtrans/accounts/AccountDetailedStatement.xsl, 888 bytes, 2 media blocks. tar: 0511-184 Cannot set the time on... (1 Reply)
Discussion started by: thecobra151
1 Replies

3. UNIX for Dummies Questions & Answers

Compress 1st 20 Large different File using tar

Sorry guys.. dont know where to put this.. currently I am cleaning up system dump on our aix machine and I wanted to set zero the 1st 20 large file but before doing that I wanted to create some backup. is there any command that can compress all these file same time? tar syntax file? ... (2 Replies)
Discussion started by: thermometer
2 Replies

4. Shell Programming and Scripting

Performance issue in UNIX while generating .dat file from large text file

Hello Gurus, We are facing some performance issue in UNIX. If someone had faced such kind of issue in past please provide your suggestions on this . Problem Definition: /Few of load processes of our Finance Application are facing issue in UNIX when they uses a shell script having below... (19 Replies)
Discussion started by: KRAMA
19 Replies

5. AIX

tar: 0511-193 An error

Hi all, when i exucte comman to see the contents of tape it gives an error like tar: 0511-193 An error occurred while reading from the media. The media surface is damaged and insert clean catridge tape to clean the tape in tape then again i got the same.when i excute the same above... (1 Reply)
Discussion started by: younusdba
1 Replies

6. 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

7. AIX

lsmksysb: error 0511-119 & 0511-137 ?

I have 2 workstations that when I do the smitty lsmksysb to verify the tape created by the smitty mksysb, both fail on the same problem: restore: 0511-119 There is a missing header block. restore: 0511-137 Trying to find the next header. Data maybe lost. Starting again at file .... I... (3 Replies)
Discussion started by: Browser_ice
3 Replies

8. Shell Programming and Scripting

extract one file form .tar.gz without uncompressing .tar.gz file

hi all, kindly help me how to extract one file form .tar.gz without uncompressing .tar.gz file. thanks in advance bali (2 Replies)
Discussion started by: balireddy_77
2 Replies

9. UNIX for Dummies Questions & Answers

Using TAR on a large file

I am runnign Solaris 8. I am trying to TAR a large file (13 gig) and it is complaining about the size. Any suggestions? (4 Replies)
Discussion started by: hshapiro
4 Replies

10. Shell Programming and Scripting

tar: 0511-194 Reached end-of-file before expected.

Hello everyone! I wrote a script for backing up a folder. It goes fine but today it started to spit out this error, when a folder is taring: tar: 0511-194 Reached end-of-file before expected. I didn't make any changes! - OS: UNIX AIX ibm 3 - the folder I'm trying to tar is 11Gb large... (4 Replies)
Discussion started by: Funky_ass
4 Replies
Login or Register to Ask a Question