lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <487A9298.8040707@redhat.com>
Date:	Sun, 13 Jul 2008 18:41:12 -0500
From:	Eric Sandeen <sandeen@...hat.com>
To:	Christian Kujau <lists@...dbynature.de>
CC:	linux-ext4@...r.kernel.org
Subject: Re: 5% diskspace used for ext4?

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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ