Click to See Complete Forum and Search --> : i did a bad thing... can't explain in subject, please read...
ericb
01-24-2001, 12:22 AM
ok, i hate when people make subjects as undescriptive as mine is but i had to...
i was .tgz-ing my mp3 collection to move it somewhere (~5.6gigs) and upon tarring i now have a 5.6gig tar file. linux does not approve and won't let me do anything to the file so i am stuck with a 5.6gig file.
as you can imagine i am less than pleased with this. any input on removeing the file would be greatly appreciated. and you can be my new best friend.
thanks,
ericb
tminos
01-24-2001, 12:27 AM
bzip2 filename.tar to bzip it.
gzip filename.tar to gzip it.
tar -xvf filename.tar to untar it.
demian
01-24-2001, 12:28 AM
http://www.linuxnewbie.org/ubb/biggrin.gif
funny stuff...
Are you running kernel 2.2.x?? I'm not really sure but I think this kernel can't handle files larger than 2GB. Upgrading to 2.4.x might help...
Strike
01-24-2001, 03:24 AM
Yeah, I think that 2GB is the limit (except maybe in 2.4). Perhaps you can manually unlink it somehow and free up that space? Editing the filesystem? Of course, if you knew how to do these, you probably would have known to do them, so this is probably not all that helpful.
Here's how to get rid of that file.
echo something > file.tar.gz
Now, that file has been replaced with a nice tiny little file containing whatever "something" was..
rm file.tar.gz -- thus you can delete it now.
ericb
01-24-2001, 08:48 AM
hurray for vvx, he has saved me from a reformat/reinstall.
just to let you know i am running 2.4.0 in what was slackware7.1 so you shouldn't make really big files even if you are running 2.4.
as per my original post vvx is my new best friend.
thanks everyone!
[This message has been edited by ericb (edited 24 January 2001).]
ph34r
01-24-2001, 10:37 AM
The 2gb limit is a problem with ext2 - not the kernel.
njcajun
01-24-2001, 02:52 PM
ph34r's right - but in addition, some TOOLS are not capable of handling large files, which in the POSIX manual (I think that's where I read it) is defined as files 2GB or larger.
You can do a search on iwon or something for, like, 'UNIX largefile support' or something and probably get some info on that.
Something notable I didn't know - there's support in the kernel (2.4, I dunno about the others) for ufs, which handles very large files. If you have another disk you can use just as storage, or a partition or something, I guess you could shuffle your large files off to there.
------------------
Build a system that even a fool can use, and only a fool will use it.
singlespeed
01-24-2001, 02:59 PM
Just for reference, I've found it's usually impossible to zip up or compress files that are already compressed by design. In other words, graphic and mp3 files. I know this is a little late but something to keep in mind... http://www.linuxnewbie.org/ubb/biggrin.gif
Am I wrong? http://www.linuxnewbie.org/ubb/confused.gif
------------------
Jeff
~Perception is the Reality
Lucefiel
01-24-2001, 03:10 PM
Originally posted by singlespeed:
Just for reference, I've found it's usually impossible to zip up or compress files that are already compressed by design. In other words, graphic and mp3 files. I know this is a little late but something to keep in mind... http://www.linuxnewbie.org/ubb/biggrin.gif
Am I wrong? http://www.linuxnewbie.org/ubb/confused.gif
Depends on what type of compression is used... JPEGs for example, can usually be compressed effectively because they use a "more or less" compression. ZIP or TAR files, on the other hand cannot be compressed much more (you can compress them again, but you only gain 1 or 2%, if that).
------------------
May the best of your past be the worst of your future.
You usually get minimal compression out of a 128kbs mp3 file, but it does depend on the compression utility used. Bzip is better than gzip (or even winzip, though stuffit is pretty close competition) and might be able to get some size reduction though probably not more than 10%.
------------------
Just a Tuna in the Sea of Life
And you even have various compression levels with gzip, I believe it's a 1-10 scale with the default being 7.. Glad you got the file removed anyway, I only knew how to do it cuz I did the exact same thing. http://www.linuxnewbie.org/ubb/wink.gif
Has anyone successfully used file sizes greater than 2GB on other filesystems? (Whether that be jfs, xfs, reiserfs, ufs... I don't care)
------------------
im dumm
Baggers
01-24-2001, 03:22 PM
mp3s will compress, just not very much. i just think he wanted them in one file to copy them.
treatment
01-24-2001, 03:44 PM
The 2gb-limit is not an ext2 limit, per se, as the GNU/Linux for Alpha doesn't have this limit and it uses ext2 as well.
Ripley
01-25-2001, 06:38 AM
Thought I'd throw this in. Maybe someone can confirm or deny it.
I was taught not to compress music (specifically windows style .zip) as the compression algorithms would cause a loss of sound quality in the resulting files after decompression.