From: Theo Van Dinter <felicity@kluge.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] df reporting incorrect size?
Date: Mon Jul 8 16:13:01 2002 [thread overview]
Message-ID: <20020708211350.GI11345@kluge.net> (raw)
In-Reply-To: <3D29FD25.5050902@jumpline.com>
On Mon, Jul 08, 2002 at 04:59:17PM -0400, Ben Snyder wrote:
> Filesystem Size Used Avail Use% Mounted on
> /dev/spheravg/spheralv
> 59G 20k 56G 0% /test
>
>
> WTF?!?! Where'd that 3G go? Does LVM mess with things so that the OS
> cant read volumes correctly? Or is there another issue that I might be
> running into?
This isn't a LVM question, it's a filesystem question.... Specifically:
$ man mke2fs
...
-m reserved-blocks-percentage
Specify the percentage of the filesystem blocks reserved for the super-user.
This value defaults to 5%.
...
So 5% of 59GB is ~3GB. 59-3 = 56GB available.
As you can tell, 5% is huge. For non-root/OS filesystems, I almost
always set that to 0. Look at tune2fs to see how to do that without
recreating the FS.
--
Randomly Generated Tagline:
Real theology is always rather shocking to people who already
think they know what they think. I'm still shocked myself. :-)
-- Larry Wall in <199708261932.MAA05218@wall.org>
next prev parent reply other threads:[~2002-07-08 16:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-08 16:08 [linux-lvm] df reporting incorrect size? Ben Snyder
2002-07-08 16:13 ` Theo Van Dinter [this message]
2002-07-08 16:58 ` Kirby C. Bohling
2002-07-08 16:16 ` Randy Dees
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=20020708211350.GI11345@kluge.net \
--to=felicity@kluge.net \
--cc=linux-lvm@sistina.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.