LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-04-2003, 09:29 AM   #1
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
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???
 
Old 09-04-2003, 09:47 AM   #2
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
Is it hanging because you ran out of disk space? 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)
 
Old 09-04-2003, 09:49 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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.
 
Old 09-04-2003, 12:04 PM   #4
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Original Poster
Rep: Reputation: 30
I know, but i want to hold my standard redhat kernel.
There must be another solution for this.
 
Old 09-04-2003, 01:37 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
tar's problem happy78 Linux - General 5 11-03-2005 12:17 PM
Giant Headaches With Mdk10.1 Sjonnie48 Mandriva 2 10-22-2005 08:32 PM
Giant Leap forward! eNightmare Linux - Distributions 4 04-21-2005 09:56 PM
Helpwriting a script that tar's multiple scripts in all folders but not itself VisionZ Linux - Newbie 2 03-22-2004 03:49 AM
Giant flash in the sky Wynd General 9 04-01-2003 07:16 PM


All times are GMT -5. The time now is 04:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration