Discussion:
trying to tar 4GB size files
(too old to reply)
Geof Gibson
2004-11-11 05:08:15 UTC
Permalink
Hi,
I'm trying to tar folders down to 4 GB sized tarballs so I can burn
them to DVDs.
This is the command I've used:
tar -cvML 4000000 -f tarball1.tar -f tarball2.tar source_dir/

When I do this, it only tars a 372K file for traball1.tar then exits
with an 'Error is not recoverable: exiting now.'

I'm not sure what I'm doing wrong. Any suggestions?

***@cox.net
Luke MacNeil
2004-11-17 16:20:13 UTC
Permalink
Hi,
I'm trying to tar folders down to 4 GB sized tarballs so I can burn them
to DVDs.
tar -cvML 4000000 -f tarball1.tar -f tarball2.tar source_dir/
When I do this, it only tars a 372K file for traball1.tar then exits
with an 'Error is not recoverable: exiting now.'
I'm not sure what I'm doing wrong. Any suggestions?
I had a similar problem writing a backup script. My problem was with the
stat() function and was a limitation of glibc.. It couldn't handle file
sizes larger that 4GB. Could be related to your problem somehow. I never
found a solution.

- Luke


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
7
2004-11-19 12:05:57 UTC
Permalink
Post by Luke MacNeil
Hi,
I'm trying to tar folders down to 4 GB sized tarballs so I can burn them
to DVDs.
tar -cvML 4000000 -f tarball1.tar -f tarball2.tar source_dir/
When I do this, it only tars a 372K file for traball1.tar then exits
with an 'Error is not recoverable: exiting now.'
I'm not sure what I'm doing wrong. Any suggestions?
I had a similar problem writing a backup script. My problem was with the
stat() function and was a limitation of glibc.. It couldn't handle file
sizes larger that 4GB. Could be related to your problem somehow. I never
found a solution.
I may be wrong, but I have found if the file system is
windope then big files won't work above 2Gb.

You need ext3 filesystem where you are doing this operation
to get over 2Gb file limit problems.

Loading...