linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: "Subranshu Patel - ERS, HCL Tech" <Subranshu.P@hcl.com>
Cc: "linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Subject: Re: df command on EXT4 and XFS filesystem
Date: Thu, 07 Feb 2013 10:51:30 -0600	[thread overview]
Message-ID: <5113DB92.6050406@redhat.com> (raw)
In-Reply-To: <60A0C755EDF2954AA9C18966C50DB31429E2A0A49C@NDA-HCLT-EVS05.HCLT.CORP.HCL.IN>

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

      reply	other threads:[~2013-02-07 16:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07  6:48 df command on EXT4 and XFS filesystem Subranshu Patel - ERS, HCL Tech
2013-02-07 16:51 ` Eric Sandeen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5113DB92.6050406@redhat.com \
    --to=sandeen@redhat.com \
    --cc=Subranshu.P@hcl.com \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).