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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-25-2002, 10:05 AM
|
#1
|
Member
Registered: Mar 2002
Location: St Aug FL
Distribution: (depends on the week - usually redhat or slackware)
Posts: 35
Rep:
|
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
|
|
|
06-25-2002, 10:43 AM
|
#2
|
Member
Registered: Feb 2002
Distribution: ubuntu
Posts: 76
Rep:
|
|
|
|
06-25-2002, 04:02 PM
|
#3
|
Member
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696
Rep:
|
what is your kernel. 2.4 supports over 2gb without problems
|
|
|
06-26-2002, 01:17 PM
|
#4
|
Member
Registered: Mar 2002
Location: St Aug FL
Distribution: (depends on the week - usually redhat or slackware)
Posts: 35
Original Poster
Rep:
|
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
|
|
|
06-26-2002, 03:18 PM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: London, UK
Distribution: Slackware
Posts: 5,700
Rep:
|
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
|
|
|
06-26-2002, 04:50 PM
|
#6
|
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821
Rep: 
|
I've got an almost 9 gig tar file on reiser.
|
|
|
06-27-2002, 07:38 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Sweet, I think Ext3 allows larger. I believe I have 5GB movie file.
|
|
|
06-27-2002, 09:42 AM
|
#8
|
Member
Registered: Mar 2002
Location: St Aug FL
Distribution: (depends on the week - usually redhat or slackware)
Posts: 35
Original Poster
Rep:
|
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
|
|
|
09-26-2002, 01:06 PM
|
#9
|
LQ Newbie
Registered: Sep 2002
Location: Lewisville, Texas
Distribution: Debian / [K]Ubuntu
Posts: 13
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|