public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: Christian Kujau <lists@nerdbynature.de>
Cc: linux-ext4@vger.kernel.org
Subject: Re: 5% diskspace used for ext4?
Date: Sun, 13 Jul 2008 18:41:12 -0500	[thread overview]
Message-ID: <487A9298.8040707@redhat.com> (raw)
In-Reply-To: <alpine.DEB.1.10.0807140054000.4469@sheep.housecafe.de>

Christian Kujau wrote:
> Hi,
> 
> I suspect this being a FAQ already, but I could not find[0] it:
> does ext4 really use 5% of available space for internal housekeeping? 
> After formatting and mounting a ~917GB partition I see:
> 
> # df -h /mnt/bench/
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sdb1             917G  200M  871G   1% /mnt/bench
> 
> The "200 MB used" would seem more sensible, but the difference between
> "available" and "size" is really 46 GB. How comes?
> 
> Thanks,
> Christian.
> 
> [0] http://ext4.wiki.kernel.org/index.php/Frequently_Asked_Questions
> 
> PS, a few more details how the filesystem got created and mounted:
> 
> # /opt/e2fsprogs/sbin/mkfs.ext4 -V
> mke2fs 1.41.0 (10-Jul-2008)
>  	Using EXT2FS Library version 1.41.0
> 
> # /opt/e2fsprogs/sbin/mkfs.ext4 /dev/sdb1
> [...]

Somewhere in [...] was:

XXX blocks (5.00%) reserved for the super user

this can be tuned and maybe should actually be on a sliding scale for
larger filesystems.

-Eric

  reply	other threads:[~2008-07-13 23:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-13 23:04 5% diskspace used for ext4? Christian Kujau
2008-07-13 23:41 ` Eric Sandeen [this message]
2008-07-13 23:45 ` Kyle McMartin
2008-07-14  9:49   ` Christian Kujau
2008-07-14 11:47     ` Theodore Tso

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=487A9298.8040707@redhat.com \
    --to=sandeen@redhat.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=lists@nerdbynature.de \
    /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