justbenice
05-08-2004, 07:09 AM
Hello , i have a folder that contain 20G files , and i want to tar it to 1 file . but it look like Fedora do not allow a file bigger than 6G , everytime i tar a folder ,it stop at 6G and said Segmentation fault !! Anybody can help me ? I am using Fedora and kernel 2.6.5
Thank you
Hi is The Linux your own or is it a dedicated or shared box?
maby if its shared box the "root" has set some limits to your user..
can you paste the output of:
# ulimit -a
-- t3r0
justbenice
05-08-2004, 09:06 AM
hello, thank you for your help . I am root in my dedicated server and this is a result of #ulimit -a :
core file size (blocks, -c) 0
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) 32767
virtual memory (kbytes, -v) unlimited
what filesystem is that?.. ext2/ext3 won't work with such a large amount of data.
regards,
M.
Originally posted by Miha
what filesystem is that?.. ext2/ext3 won't work with such a large amount of data.
EXT2 / EXT3 file size limits are something like this:
1024 bytes blocksize => 16448 Mb
2048 bytes blocksize => 256 Gb
4092 bytes blocksize => 2048 Gb
Really need more info (kernel version, filesystem etc...) about your system to even try to figure out what's the exatc problem...
1st of all try:
$ df -h
do you have enough free disk space?
2.
if I remember right a long time ago the was something like
2Gb limit in TAR archives, check at google or gnu tar home pages for something like that if there's now some 6gb limit...
3.
you can also try to use something else to compress the files,
for example bzip2....
$ man bzip2
also I remember having this kind of problems with an old linux box i had at home, specially when using large files, and that was coz hardware fault...
justbenice
05-08-2004, 01:28 PM
A problem is cpanel can tar that account itself . And cpanel backup zip that file to 10G . But i can't tar or zip that account . Tar stop at 6G and zip stop at 2G .
I am using kernel 2.6.5 and Fedora core 1 .
why do you need to tar that account yourself if you allready have the .tar created by cpanel ???
justbenice
05-08-2004, 02:13 PM
i just want to do it myself and if i want a newest version i need to wait another day . cpanel backup daily .
isn't there a script to do backup manually in /scripts folder....
i'm not sure if i remember right....
justbenice
05-08-2004, 04:39 PM
yes it is , it is /scripts/cpbackup , but it allow me run 1 time a day only . :(
Steven
05-08-2004, 06:47 PM
you have large file support enabled in kernel
Originally posted by thelinuxguy
you have large file support enabled in kernel
if cpanel can do it, it must be enabled...... ;)