Dec 5, 2005 #1 jouell MIS Nov 19, 2002 304 US Say I have a normal file on an ext3 filesystem. The fs is 20 GB, but the file is listed as greater than that, say 30 GB as reported by ls. How is this possible? Thanks! -John
Say I have a normal file on an ext3 filesystem. The fs is 20 GB, but the file is listed as greater than that, say 30 GB as reported by ls. How is this possible? Thanks! -John
Dec 5, 2005 #2 TonyGroves Programmer Aug 13, 2003 2,389 IE Are you sure you're reading the ls output correctly? "ls -l" shows the size in bytes. What size do you think the file really is? Upvote 0 Downvote
Are you sure you're reading the ls output correctly? "ls -l" shows the size in bytes. What size do you think the file really is?
Dec 5, 2005 #3 azimuth0 Programmer Sep 26, 2003 57 US ext3 will "compress" blocks filled entirely with 0s. If you have a lot of empty blocks, you can get over the filesystem limit quite easily. : Daniel : - http://www.bitmuse.com/ Upvote 0 Downvote
ext3 will "compress" blocks filled entirely with 0s. If you have a lot of empty blocks, you can get over the filesystem limit quite easily. : Daniel : - http://www.bitmuse.com/
Dec 5, 2005 Thread starter #4 jouell MIS Nov 19, 2002 304 US Hi yes ls is definitely showing correctly. Upvote 0 Downvote
Dec 5, 2005 #6 Trevoke Programmer Jun 6, 2002 1,142 US Please show us the output listing of "ls -lh" ;-) azimuth may be on to something though. -Haben sie fosforos? -No tiengo caballero, but I have un briquet. Upvote 0 Downvote
Please show us the output listing of "ls -lh" ;-) azimuth may be on to something though. -Haben sie fosforos? -No tiengo caballero, but I have un briquet.
Dec 5, 2005 #7 zeland IS-IT--Management Aug 19, 2002 569 MY azimuth0: When you say 0, do you mean 0 as in null or zero as in the numeral 0? Just for fun, I tried doing dd if=/dev/zero of=zerofile bs=1M. It filled all the free space as expected. --== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==-- Upvote 0 Downvote
azimuth0: When you say 0, do you mean 0 as in null or zero as in the numeral 0? Just for fun, I tried doing dd if=/dev/zero of=zerofile bs=1M. It filled all the free space as expected. --== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
Dec 6, 2005 1 #8 hoinz MIS Jan 29, 2004 944 DE I think azimuth0 is right. A Google search for "sparse file" gives a lot of information. Upvote 0 Downvote
Dec 6, 2005 #9 hoinz MIS Jan 29, 2004 944 DE These links, amongst others, may be helpful: http://en.wikipedia.org/wiki/Sparse_filehttp://mldonkey.berlios.de/modules.php?name=Wiki&pagename=sparse files Upvote 0 Downvote
These links, amongst others, may be helpful: http://en.wikipedia.org/wiki/Sparse_filehttp://mldonkey.berlios.de/modules.php?name=Wiki&pagename=sparse files
Dec 7, 2005 Thread starter #10 jouell MIS Nov 19, 2002 304 US Hi Thanks to all for the response. This is more of a theory question, see my original post, I am looking for some ideas of the topic. I think hoinz hit upon the answer, or at least one of them. Any other thoughts anyone? Upvote 0 Downvote
Hi Thanks to all for the response. This is more of a theory question, see my original post, I am looking for some ideas of the topic. I think hoinz hit upon the answer, or at least one of them. Any other thoughts anyone?