Re: df command on EXT4 and XFS filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/7/13 12:48 AM, Subranshu Patel - ERS, HCL Tech wrote:
> I have an observation on EXT4 filesystem. I created filesystem of size 1TB, 4TB, and 7TB and then checked the output of df command. 
> 
> df command showed the number of 1KB blocks used. The result was:
> 1TB: 204056
> 4TB: 198680
> 7TB: 181784 
> 
> This trend was surprising, with increasing filesystem size, the number of used blocks decreased. Why it is so? 

I replied to your colleague who asked the same question.

Short answer is default ext4 behavior is to not count the large number of blocks used for metadata as "used", and on top of that there seems to be some inaccuracy in the overhead calculations.  See my other email for more detail.

-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux