LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-25-2002, 10:05 AM   #1
burningodzilla
Member
 
Registered: Mar 2002
Location: St Aug FL
Distribution: (depends on the week - usually redhat or slackware)
Posts: 35

Rep: Reputation: 15
tar size limit


i'm trying to use tar to backup a number of directories. i tried tarring a couple that are some 7+ gb, and tar died w/ the error:
"size limit exceeded" or something similar. the resulting size both times was approx 2gb. can tar not handle creating archives > 2gb?

the man pages said nothing of a size limit!
thanks
 
Old 06-25-2002, 10:43 AM   #2
progster
Member
 
Registered: Feb 2002
Distribution: ubuntu
Posts: 76

Rep: Reputation: 15
http://www.cactus.com/faq/1086.html
 
Old 06-25-2002, 04:02 PM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
what is your kernel. 2.4 supports over 2gb without problems
 
Old 06-26-2002, 01:17 PM   #4
burningodzilla
Member
 
Registered: Mar 2002
Location: St Aug FL
Distribution: (depends on the week - usually redhat or slackware)
Posts: 35

Original Poster
Rep: Reputation: 15
thanks for the link - i saw that one after i posted

- as far as the problem being solved in 2.4xx kernels, i dont think that is correct, unless redhat 7.3 ships with screwed up tar. redhat 7.3 uses 2.4.18 and tar has that same limit
 
Old 06-26-2002, 03:18 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: London, UK
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
The limitation isn't inherent to the kernel or the GNU tar program, but is a problem of the filesystem. Ext2 only supports file sizes up to 2Gb (gotta remember how old ext2 is, 5 years? something like that). I don't know if ext3 beats the 2gb limit, but I'm pretty certain Reiser is alright, and I know XFS and JFS don't have that problem.

Cheers,

Finegan
 
Old 06-26-2002, 04:50 PM   #6
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
I've got an almost 9 gig tar file on reiser.
 
Old 06-27-2002, 07:38 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Sweet, I think Ext3 allows larger. I believe I have 5GB movie file.
 
Old 06-27-2002, 09:42 AM   #8
burningodzilla
Member
 
Registered: Mar 2002
Location: St Aug FL
Distribution: (depends on the week - usually redhat or slackware)
Posts: 35

Original Poster
Rep: Reputation: 15
i'm pretty sure that the fs is ext3, which would probably explain it. that fact that one has a 5gb movie file is irrelevant - ext2 allows for large files as well - just not creating tarballs > 2gb.

of course if you tarballed your movie file and it ended up as 5gb then that is relevant .

thanks crew - you all are why linux is amazing
 
Old 09-26-2002, 01:06 PM   #9
shinepuppy
LQ Newbie
 
Registered: Sep 2002
Location: Lewisville, Texas
Distribution: Debian / [K]Ubuntu
Posts: 13

Rep: Reputation: 0
Kinda similar

Howdy folks,
I have a question about limiting the size of tarball archives. I'm developing a backup system that pulls data off remote boxen and tars and compresses them (tar -zcvf...). I want the option of burning these archives to a cdrom, so they should be limited to about 650 megs a pop. I am pretty sure i've read that tar can tell when it's reached a size limit, close off the archive, and start a new one; but for the life of me I can't find the article!! Can anybody shed some light on the subject?

Thanks a million,
shinepuppy
 
  


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
limit a forder size kernelvn Fedora 1 04-23-2005 02:50 AM
Size limit for folder gubak Linux - Newbie 3 11-11-2004 09:09 AM
~/ size limit bm1 Slackware 5 09-23-2004 07:10 AM
2.1 Gb size limit?? pk21 Linux - General 5 08-30-2003 02:40 PM
Size limit? pyropenguin Linux - Networking 1 12-18-2002 12:48 PM

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

All times are GMT -5. The time now is 07:56 AM.

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