LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2005, 09:41 PM   #1
happy78
Member
 
Registered: Aug 2003
Posts: 50

Rep: Reputation: 15
tar's problem


Hi all,

I have a folder which has a size of 7GB. I was tarring it, it failed saying size exceed.
what is the maximum can tar take?

thank you for your time and assistance
 
Old 11-02-2005, 09:50 PM   #2
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
Wow... 7 GB doesn't sound like too much to tar. I've made much bigger. Are you possibly running out of space on the partition that your tar file is being made? What command are you using to tar your folder?
 
Old 11-02-2005, 09:50 PM   #3
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
Most likely you are hitting a file size ulimit. Here's an interesting article I found on tar:

http://answers.google.com/answers/threadview?id=25116
 
Old 11-02-2005, 09:59 PM   #4
ahedler
Member
 
Registered: Oct 2005
Location: A safe distance from Detroit
Distribution: SuSE 10.0, Knoppix
Posts: 99

Rep: Reputation: 17
You could be running out of space on the partition where the tar file is being created, or you could be out of space where a temporary file is being created during the tar process. Certainly, the destination needs to have enough space to hold the tar file. If you haven't specified a location, the partition you're on must be able to hold at least twice the volume you're tarring: the original, and the tar file.
 
Old 11-03-2005, 01:52 AM   #5
happy78
Member
 
Registered: Aug 2003
Posts: 50

Original Poster
Rep: Reputation: 15
thank you all for replying,

I checked the destination; it looks fine..there are still alot of space left. but this error keep coming up: "File size limit exceeded"
 
Old 11-03-2005, 12:17 PM   #6
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
I found this in another forum... I hope it helps you.

Link to Thread

Quote:
I did
ulimit -f unlimited
also:
[root@mine sysconfig]# ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 4080
virtual memory (kbytes, -v) unlimited

That looks like it fixed it, so I will try the big copy...

Thanks a bunch!
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Helpwriting a script that tar's multiple scripts in all folders but not itself VisionZ Linux - Newbie 2 03-22-2004 03:49 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM
Giant tar's pk21 Linux - General 4 09-04-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration