LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2014, 09:34 PM   #1
Archy1
Member
 
Registered: Jan 2014
Distribution: Debian
Posts: 95

Rep: Reputation: 2
3gb file taking up 20gb of space!


I understand that small files can't take up less space than the size of a block but this is just ridiculous. Just look at this:
https://cdn.anonfiles.com/1393125870675.png

Any explanation for the large size?

My file system is Extended 4.
 
Old 02-22-2014, 09:52 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
sparse ?
 
Old 02-23-2014, 11:41 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
This time... it isn't sparse files.

The CD is a compressed distribution of FreeBSD. When the files are decompressed for use they expand to about 20GB.
 
Old 02-23-2014, 03:06 PM   #4
Archy1
Member
 
Registered: Jan 2014
Distribution: Debian
Posts: 95

Original Poster
Rep: Reputation: 2
That's interesting. You'd think with it being compressed and all that it would say something like "File size: 20gb, Size on disk: 3gb" instead of the other way around. Since it in fact says "Size on disk: 20gb," does this just mean that it can potentially take up 20gb (via decompression) or is it in fact taking up 20gb of space, and if it is, why not just store that extra 17gb as "actual" data rather than metadata?

Do you have more information this?
 
Old 02-23-2014, 03:10 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
It's probably just down to the file manager having strange wording. Why not run "ls -la" in the terminal and find out the real size of the file?
 
Old 02-23-2014, 10:11 PM   #6
Archy1
Member
 
Registered: Jan 2014
Distribution: Debian
Posts: 95

Original Poster
Rep: Reputation: 2
ls reported 2.4 gb. I guess pcmanfm is just being weird.
 
Old 02-24-2014, 01:06 AM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
From this post on the Arch forums it seems to be a bug in pcmanfm:
https://bbs.archlinux.org/viewtopic.php?id=115516
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VirtualBox requires 4.3GB drive space but 414GB is available ruthie84 Linux - Virtualization and Cloud 7 02-24-2013 12:00 PM
moving a 3Gb dir from one /root parttiion to another partition taking more than 7 hr sweetu15 Linux - Newbie 1 01-11-2013 12:52 PM
Swap space for 3GB? ElricM Linux - Newbie 2 01-18-2006 12:10 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 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