LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   tar's problem (https://www.linuxquestions.org/questions/linux-general-1/tars-problem-379450/)

happy78 11-02-2005 09:41 PM

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

mijohnst 11-02-2005 09:50 PM

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?

Jerre Cope 11-02-2005 09:50 PM

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

ahedler 11-02-2005 09:59 PM

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.

happy78 11-03-2005 01:52 AM

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"

mijohnst 11-03-2005 12:17 PM

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!


All times are GMT -5. The time now is 11:50 PM.