LinuxQuestions.org

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

pk21 09-04-2003 09:29 AM

Giant tar's
 
I've got a directory i want to tar, so i do the following:

tar -czvf exampledir.tar.gz exampledir

The problem is, that it creates a tar of 2.1Gb and then hangs. Anyone knows how i can create multiple(smaller) tar files???

Blinker_Fluid 09-04-2003 09:47 AM

Is it hanging because you ran out of disk space?:eek: I've created larger tar files... (not sure how you would create multiple tar files other than doing something like these directories are in this tar file and those are in another one)

trickykid 09-04-2003 09:49 AM

Not necessarily running out of space, but you haven't enabled large file support in the kernel.. by default in most cases, you kernel can only support 2 GB max for one file... you'll need to recompile your kernel to get around this.

pk21 09-04-2003 12:04 PM

I know, but i want to hold my standard redhat kernel.
There must be another solution for this.

trickykid 09-04-2003 01:37 PM

Quote:

Originally posted by pk21
I know, but i want to hold my standard redhat kernel.
There must be another solution for this.

Nope, unless the file is less than 2GB's there isn't. Compiling a kernel might seem daunting, but its really not that big of a deal really...
But I don't know of any other way...


All times are GMT -5. The time now is 08:38 AM.