LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] ext4 peculiarities

[ILUG] ext4 peculiarities

Bernhard Rohrer graylion at sm-wg.net
Sat Sep 25 03:29:53 IST 2010


Hi guys

I have a 3.3 TB partition (yes really) that is formatted with ext4 and 4 
kiB blocks. What little data I have on that appears to use up an 
extraordinary amount of space, so I had a closer look.

root at newcollab:/home/adminlion# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/primary_vg-primary_var
                       3.5T   43G  3.3T   2% /var

we see that 43 GiB appear to be taking up something that gets rounded to 
200 GiB

if we look at:

root at newcollab:/home/adminlion# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/primary_vg-primary_var
           3696706360  44362800 3464561624   2% /var

now 44362800 4k blocks are 169.23 GiB, which does indeed round to 200 
GiB. similar usage also gets reported when I get the properties of the 
share via cifs.

debugfs shows:

Block count:              937689088
Reserved block count:      46884454
Free blocks:              912175341

so while df shows 4 times as many available 1k blocks as debugfs, which 
after all shows the actual number of 4k blocks, both are more or less in 
agreement as to the space used. This leads me to believe that somehow 
only 1k of every 4k block gets used. Now i could of course reformat to 
1k blocks, but I'd prefer to avoid that.

OS is Lucid64 and the volume is a LVM volume.

Has anybody seen this before? Uncle Google was rather mum on the subject.

cheers

Bernhard


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell